Skip to content

Commit

Permalink
wip naming
Browse files Browse the repository at this point in the history
  • Loading branch information
leiicamundi committed Oct 14, 2024
1 parent e54b9e3 commit b8ab0e6
Show file tree
Hide file tree
Showing 8 changed files with 15 additions and 11 deletions.
4 changes: 2 additions & 2 deletions examples/camunda-8.6-irsa/cluster.tf
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
locals {
eks_cluster_name = "cluster-name" # Change this to a name of your choice
eks_cluster_region = "eu-west-2" # Change this to your desired AWS region
eks_cluster_name = "cluster-name-irsa" # Change this to a name of your choice
eks_cluster_region = "eu-west-2" # Change this to your desired AWS region
}

module "eks_cluster" {
Expand Down
2 changes: 1 addition & 1 deletion examples/camunda-8.6-irsa/config.tf
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ terraform {

backend "s3" {
bucket = "my-eks-tf-state"
key = "camunda-terraform/terraform.tfstate"
key = "camunda-terraform/terraform-irsa.tfstate"
encrypt = true
}

Expand Down
4 changes: 3 additions & 1 deletion examples/camunda-8.6-irsa/db.tf
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
locals {
aurora_cluster_name = "cluster-name-postgresql" # Replace "cluster-name" with your cluster's name
aurora_cluster_name = "cluster-name-pg-irsa" # Replace "cluster-name" with your cluster's name

# IRSA configuration
aurora_irsa_username = "secret_user_irsa" # This is the username that will be used for IRSA connection to the DB
Expand All @@ -15,6 +15,8 @@ module "postgresql" {
cluster_name = local.aurora_cluster_name
default_database_name = "camunda"

availability_zones = ["${local.eks_cluster_region}a", "${local.eks_cluster_region}b", "${local.eks_cluster_region}c"]

# Supply your own secret values for username and password
username = "secret_user"
password = "secretvalue%23"
Expand Down
4 changes: 2 additions & 2 deletions examples/camunda-8.6-irsa/opensearch.tf
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
locals {
opensearch_domain_name = "domain-name-opensearch" # Replace "domain-name" with your domain name
opensearch_domain_name = "domain-name-os-irsa" # Replace "domain-name" with your domain name

# IRSA configuration
camunda_namespace = "camunda" # Replace with your Kubernetes namespace that will host C8 Platform
Expand Down Expand Up @@ -84,7 +84,7 @@ EOF
"${module.eks_cluster.oidc_provider_id}:sub": "system:serviceaccount:${local.camunda_namespace}:${local.camunda_zeebe_service_account}",
"${module.eks_cluster.oidc_provider_id}:sub": "system:serviceaccount:${local.camunda_namespace}:${local.camunda_operate_service_account}",
"${module.eks_cluster.oidc_provider_id}:sub": "system:serviceaccount:${local.camunda_namespace}:${local.camunda_tasklist_service_account}",
"${module.eks_cluster.oidc_provider_id}:sub": "system:serviceaccount:${local.camunda_namespace}:${local.camunda_optimize_service_account}",
"${module.eks_cluster.oidc_provider_id}:sub": "system:serviceaccount:${local.camunda_namespace}:${local.camunda_optimize_service_account}"
}
}
}
Expand Down
4 changes: 2 additions & 2 deletions examples/camunda-8.6/cluster.tf
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
locals {
eks_cluster_name = "cluster-name" # Change this to a name of your choice
eks_cluster_region = "eu-west-2" # Change this to your desired AWS region
eks_cluster_name = "cluster-name-std" # Change this to a name of your choice
eks_cluster_region = "eu-west-2" # Change this to your desired AWS region
}

module "eks_cluster" {
Expand Down
2 changes: 1 addition & 1 deletion examples/camunda-8.6/config.tf
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ terraform {

backend "s3" {
bucket = "my-eks-tf-state"
key = "camunda-terraform/terraform.tfstate"
key = "camunda-terraform/terraform-std.tfstate"
encrypt = true
}

Expand Down
4 changes: 3 additions & 1 deletion examples/camunda-8.6/db.tf
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
locals {
aurora_cluster_name = "cluster-name-postgresql" # Replace "cluster-name" with your cluster's name
aurora_cluster_name = "cluster-name-pg-std" # Replace "cluster-name" with your cluster's name
}

module "postgresql" {
Expand All @@ -9,6 +9,8 @@ module "postgresql" {
cluster_name = local.aurora_cluster_name
default_database_name = "camunda"

availability_zones = ["${local.eks_cluster_region}a", "${local.eks_cluster_region}b", "${local.eks_cluster_region}c"]

# Supply your own secret values for username and password
username = "secret_user"
password = "secretvalue%23"
Expand Down
2 changes: 1 addition & 1 deletion examples/camunda-8.6/opensearch.tf
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
locals {
opensearch_domain_name = "domain-name-opensearch" # Replace "domain-name" with your domain name
opensearch_domain_name = "domain-name-os-std" # Replace "domain-name" with your domain name
}

module "opensearch" {
Expand Down

0 comments on commit b8ab0e6

Please sign in to comment.