Skip to content

Commit

Permalink
update examples
Browse files Browse the repository at this point in the history
  • Loading branch information
maciaszczykm committed Dec 6, 2023
1 parent 12d0045 commit 80c2e3f
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 10 deletions.
4 changes: 2 additions & 2 deletions example/aws/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
}
}
Expand Down
10 changes: 5 additions & 5 deletions example/azure/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
}
}
Expand All @@ -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"
}
}
Expand Down
4 changes: 3 additions & 1 deletion example/byok/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {
Expand Down
4 changes: 2 additions & 2 deletions example/gcp/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
}
}
Expand All @@ -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
}
Expand Down

0 comments on commit 80c2e3f

Please sign in to comment.