diff --git a/.github/workflows/deploy-production.yml b/.github/workflows/deploy-production.yml index 60e7590d5..979798911 100644 --- a/.github/workflows/deploy-production.yml +++ b/.github/workflows/deploy-production.yml @@ -62,7 +62,7 @@ jobs: terragrunt init -upgrade terragrunt validate terragrunt plan -out tfplan -# terragrunt apply tfplan +# terragrunt apply tfplan # will be re-enabled once release workflow is tested - name: backend-infra working-directory: ./tofu/environments/stage/services/backend-infra @@ -70,7 +70,7 @@ jobs: terragrunt init -upgrade terragrunt validate terragrunt plan -out tfplan -# terragrunt apply tfplan +# terragrunt apply tfplan # will be re-enabled once release workflow is tested - name: cache working-directory: ./tofu/environments/stage/data-store/cache @@ -78,7 +78,7 @@ jobs: terragrunt init -upgrade terragrunt validate terragrunt plan -out tfplan -# terragrunt apply tfplan +# terragrunt apply tfplan # will be re-enabled once release workflow is tested - name: database working-directory: ./tofu/environments/stage/data-store/database @@ -86,7 +86,7 @@ jobs: terragrunt init -upgrade terragrunt validate terragrunt plan -out tfplan -# terragrunt apply tfplan +# terragrunt apply tfplan # will be re-enabled once release workflow is tested - name: frontend-infra working-directory: ./tofu/environments/stage/services/frontend-infra @@ -94,7 +94,7 @@ jobs: terragrunt init -upgrade terragrunt validate terragrunt plan -out tfplan -# terragrunt apply tfplan +# terragrunt apply tfplan # will be re-enabled once release workflow is tested - name: output-bucket-name id: output-bucket-name @@ -156,8 +156,9 @@ jobs: terragrunt validate terragrunt plan -var "image=$(cat steps.get_ecr_tag.outputs.*)" -out tfplan cat tfplan -# terragrunt apply tfplan +# terragrunt apply tfplan # will be re-enabled once release workflow is tested +# will be re-enabled once release workflow is tested # - name: Deploy frontend to S3 # run: aws s3 sync ./frontend/frontend/dist "s3://${{ needs.deploy-iac.outputs.bucket }}" diff --git a/tofu/environments/stage/environment.hcl b/tofu/environments/stage/environment.hcl index 17fcc14ec..13b0a99d8 100644 --- a/tofu/environments/stage/environment.hcl +++ b/tofu/environments/stage/environment.hcl @@ -23,10 +23,6 @@ generate "versions" { source = "hashicorp/random" version = ">= 3.6.1" } - random = { - source = "hashicorp/random" - version = ">= 3.6.1" - } } } EOF diff --git a/tofu/modules/services/backend-infra/main.tf b/tofu/modules/services/backend-infra/main.tf index 5d98b5012..27348f63b 100644 --- a/tofu/modules/services/backend-infra/main.tf +++ b/tofu/modules/services/backend-infra/main.tf @@ -27,15 +27,6 @@ resource "random_string" "x_allow_suffix" { special = false upper = true } - -resource "random_string" "x_allow_suffix" { - length = 8 - lower = true - numeric = false - special = false - upper = true -} - resource "aws_secretsmanager_secret" "x_allow_secret" { name = "${var.name_prefix}-x-allow-secret-${random_string.x_allow_suffix.result}" }