From 4e711f9ccaa4d5e9ba8e7e82d96ac974d4f774c6 Mon Sep 17 00:00:00 2001 From: Guillaume Charest <1690085+gcharest@users.noreply.github.com> Date: Fri, 17 Nov 2023 14:47:32 -0500 Subject: [PATCH] fix: create new sandbox OU (#214) * fix: create new sandbox OU * fix: comment out guardrails --- .../org_account/organization/organizations.tf | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/terragrunt/org_account/organization/organizations.tf b/terragrunt/org_account/organization/organizations.tf index f87f03d4..fe8bf49d 100644 --- a/terragrunt/org_account/organization/organizations.tf +++ b/terragrunt/org_account/organization/organizations.tf @@ -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" {