Skip to content

Commit

Permalink
fix: attach universal guardrails to Staging OU (#242)
Browse files Browse the repository at this point in the history
  • Loading branch information
gcharest authored Mar 19, 2024
1 parent 1eba6e6 commit 61e48d4
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions terragrunt/org_account/organization/organizations.tf
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,11 @@ module "Staging_SRC" {
ou_arn = aws_organizations_organizational_unit.Staging.arn
}

resource "aws_organizations_policy_attachment" "Staging-cds_snc_universal_guardrails" {
policy_id = aws_organizations_policy.cds_snc_universal_guardrails.id
target_id = aws_organizations_organizational_unit.Staging.id
}

resource "aws_organizations_organizational_unit" "Test" {
name = "Test"
parent_id = local.root
Expand Down

0 comments on commit 61e48d4

Please sign in to comment.