diff --git a/example/aws/main.tf b/example/aws/main.tf index 8b9aa22..cce95d5 100644 --- a/example/aws/main.tf +++ b/example/aws/main.tf @@ -16,8 +16,8 @@ resource "plural_provider" "aws_provider" { cloud = "aws" cloud_settings = { aws = { - access_key_id = "" # Provide before use - secret_access_key = "" # Provide before use + # access_key_id = "" # Required, can be sourced from PLURAL_AWS_ACCESS_KEY_ID + # secret_access_key = "" # Required, can be sourced from PLURAL_AWS_SECRET_ACCESS_KEY } } } diff --git a/example/azure/main.tf b/example/azure/main.tf index 9edebcb..dd6bff1 100644 --- a/example/azure/main.tf +++ b/example/azure/main.tf @@ -16,10 +16,10 @@ resource "plural_provider" "azure_provider" { cloud = "azure" cloud_settings = { azure = { - subscription_id = "" # Provide before use - tenant_id = "" # Provide before use - client_id = "" # Provide before use - client_secret = "" # Provide before use + # subscription_id = "" # Required, can be sourced from PLURAL_AZURE_SUBSCRIPTION_ID + # tenant_id = "" # Required, can be sourced from PLURAL_AZURE_TENANT_ID + # client_id = "" # Required, can be sourced from PLURAL_AZURE_CLIENT_ID + # client_secret = "" # Required, can be sourced from PLURAL_AZURE_CLIENT_SECRET } } } @@ -39,7 +39,7 @@ resource "plural_cluster" "azure_cluster" { azure = { resource_group = "azure-cluster-tf" network = "azure-cluster-tf" - subscription_id = "" # Provide before use + subscription_id = "" # Required location = "eastus" } } diff --git a/example/byok/main.tf b/example/byok/main.tf index 9e32a19..e2e807a 100644 --- a/example/byok/main.tf +++ b/example/byok/main.tf @@ -18,7 +18,9 @@ resource "plural_cluster" "byok_workload_cluster" { protect = "false" cloud_settings = { byok = { - # Provide before use + kubeconfig = { + # Required, can be sourced from environment variables + } } } tags = { diff --git a/example/gcp/main.tf b/example/gcp/main.tf index 865ccb2..7ffae10 100644 --- a/example/gcp/main.tf +++ b/example/gcp/main.tf @@ -7,7 +7,7 @@ resource "plural_provider" "gcp_provider" { cloud = "gcp" cloud_settings = { gcp = { - # credentials = "" # Read from PLURAL_GCP_CREDENTIALS env var + # credentials = "" # Required, can be sourced from PLURAL_GCP_CREDENTIALS } } } @@ -20,7 +20,7 @@ resource "plural_cluster" "gcp_workload_cluster" { version = "1.25.11" cloud_settings = { gcp = { - region = "" # Required + region = "" # Required network = "" # Required project = "" # Required }