Skip to content

Commit

Permalink
fix: create new sandbox OU (#214)
Browse files Browse the repository at this point in the history
* fix: create new sandbox OU

* fix: comment out guardrails
  • Loading branch information
gcharest authored Nov 17, 2023
1 parent b029a52 commit 4e711f9
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions terragrunt/org_account/organization/organizations.tf
Original file line number Diff line number Diff line change
Expand Up @@ -43,20 +43,20 @@ resource "aws_organizations_organizational_unit" "Production" {
}


# resource "aws_organizations_organizational_unit" "Sandbox" {
# name = "Sandbox"
# parent_id = local.root
# }
resource "aws_organizations_organizational_unit" "Sandbox" {
name = "Sandbox"
parent_id = local.root
}

resource "aws_organizations_organizational_unit" "SandboxMigration" {
name = "SandboxMigration"
parent_id = local.root
}

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


resource "aws_organizations_organizational_unit" "Security" {
Expand Down

0 comments on commit 4e711f9

Please sign in to comment.