diff --git a/README.md b/README.md index e990010c..09c782b8 100644 --- a/README.md +++ b/README.md @@ -38,7 +38,7 @@ When setting up authentication, the provider will always try to use the key flow 2. Environment variable, e.g. by setting `STACKIT_SERVICE_ACCOUNT_KEY_PATH` 3. Credentials file - The SDK will check the credentials file located in the path defined by the `STACKIT_CREDENTIALS_PATH` env var, if specified, + The provider will check the credentials file located in the path defined by the `STACKIT_CREDENTIALS_PATH` env var, if specified, or in `$HOME/.stackit/credentials.json` as a fallback. The credentials file should be a json and each credential should be set using the name of the respective environment variable, as stated below in each flow. Example: @@ -89,7 +89,7 @@ To configure the key flow, follow this steps: } ``` -3. Configure the service account key for authentication in the SDK by following one of the alternatives below: +3. Configure the service account key for authentication in the provider by following one of the alternatives below: - setting the fiels in the provider block: `service_account_key` or `service_account_key_path` - setting the environment variable: `STACKIT_SERVICE_ACCOUNT_KEY_PATH` diff --git a/docs/index.md b/docs/index.md index 488d6acb..9889a380 100644 --- a/docs/index.md +++ b/docs/index.md @@ -45,7 +45,7 @@ When setting up authentication, the provider will always try to use the key flow 2. Environment variable, e.g. by setting `STACKIT_SERVICE_ACCOUNT_KEY_PATH` 3. Credentials file - The SDK will check the credentials file located in the path defined by the `STACKIT_CREDENTIALS_PATH` env var, if specified, + The provider will check the credentials file located in the path defined by the `STACKIT_CREDENTIALS_PATH` env var, if specified, or in `$HOME/.stackit/credentials.json` as a fallback. The credentials should be set using the same name as the environment variables. Example: @@ -94,7 +94,7 @@ The expected format of the service account key is a **json** with the following } ``` -3. Configure the service account key and private key for authentication in the SDK by following one of the alternatives below: +3. Configure the service account key and private key for authentication in the provider by following one of the alternatives below: - setting the fiels in the provider block: `service_account_key` or `service_account_key_path`, `private_key` or `private_key_path` - setting environment variables: `STACKIT_SERVICE_ACCOUNT_KEY_PATH` and `STACKIT_PRIVATE_KEY_PATH` - setting `STACKIT_SERVICE_ACCOUNT_KEY_PATH` and `STACKIT_PRIVATE_KEY_PATH` in the credentials file (see above) diff --git a/docs/resources/ske_cluster.md b/docs/resources/ske_cluster.md index d109fc74..fc0b60ba 100644 --- a/docs/resources/ske_cluster.md +++ b/docs/resources/ske_cluster.md @@ -16,7 +16,7 @@ SKE Cluster Resource schema. Must have a `region` specified in the provider conf resource "stackit_ske_cluster" "example" { project_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" name = "example" - kubernetes_version = "1.25" + kubernetes_version = "x.x" node_pools = [ { name = "np-example" diff --git a/examples/resources/stackit_ske_cluster/resource.tf b/examples/resources/stackit_ske_cluster/resource.tf index da51ec44..ce64c485 100644 --- a/examples/resources/stackit_ske_cluster/resource.tf +++ b/examples/resources/stackit_ske_cluster/resource.tf @@ -1,7 +1,7 @@ resource "stackit_ske_cluster" "example" { project_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" name = "example" - kubernetes_version = "1.25" + kubernetes_version = "x.x" node_pools = [ { name = "np-example" diff --git a/templates/index.md.tmpl b/templates/index.md.tmpl index 4404ed43..629c4289 100644 --- a/templates/index.md.tmpl +++ b/templates/index.md.tmpl @@ -19,7 +19,7 @@ When setting up authentication, the provider will always try to use the key flow 2. Environment variable, e.g. by setting `STACKIT_SERVICE_ACCOUNT_KEY_PATH` 3. Credentials file - The SDK will check the credentials file located in the path defined by the `STACKIT_CREDENTIALS_PATH` env var, if specified, + The provider will check the credentials file located in the path defined by the `STACKIT_CREDENTIALS_PATH` env var, if specified, or in `$HOME/.stackit/credentials.json` as a fallback. The credentials should be set using the same name as the environment variables. Example: @@ -68,7 +68,7 @@ The expected format of the service account key is a **json** with the following } ``` -3. Configure the service account key and private key for authentication in the SDK by following one of the alternatives below: +3. Configure the service account key and private key for authentication in the provider by following one of the alternatives below: - setting the fiels in the provider block: `service_account_key` or `service_account_key_path`, `private_key` or `private_key_path` - setting environment variables: `STACKIT_SERVICE_ACCOUNT_KEY_PATH` and `STACKIT_PRIVATE_KEY_PATH` - setting `STACKIT_SERVICE_ACCOUNT_KEY_PATH` and `STACKIT_PRIVATE_KEY_PATH` in the credentials file (see above)