Skip to content

Commit

Permalink
Update secrets.tf
Browse files Browse the repository at this point in the history
  • Loading branch information
ep-93 authored Dec 20, 2023
1 parent f53c113 commit 1395bea
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions terraform/environments/secrets.tf
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,6 @@ resource "aws_secretsmanager_secret" "environment_management" {
kms_key_id = aws_kms_key.environment_management.id
policy = data.aws_iam_policy_document.environment_management.json
tags = local.environments
replica {
region = "eu-west-1"
}
}

resource "aws_secretsmanager_secret_version" "environment_management" {
Expand Down Expand Up @@ -144,4 +141,4 @@ resource "github_actions_secret" "autonuke" {
repository = "modernisation-platform-environments"
# testing-test, cooker-development, and example-development are internal test account which are not sandpits but require nuking.
plaintext_value = jsonencode(concat(module.environments.environment_nuke_accounts, ["testing-test", "cooker-development", "example-development"]))
}
}

0 comments on commit 1395bea

Please sign in to comment.