Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: create new sandbox OU #214

Merged
merged 2 commits into from
Nov 17, 2023
Merged

fix: create new sandbox OU #214

merged 2 commits into from
Nov 17, 2023

Conversation

gcharest
Copy link
Contributor

Summary | Résumé

Create a new Sandbox OU

@gcharest gcharest requested a review from a team November 17, 2023 19:33
@gcharest gcharest self-assigned this Nov 17, 2023
Copy link

Plan for org_account/organization

✅   Terraform Init: success
✅   Terraform Validate: success
✅   Terraform Format: success
✅   Terraform Plan: success
✅   Conftest: success

Plan: 2 to add, 0 to change, 0 to destroy
Show summary
CHANGE NAME
add aws_organizations_organizational_unit.Sandbox
aws_organizations_policy_attachment.Sandbox-cds_snc_universal_guardrails
Show plan
Resource actions are indicated with the following symbols:
  + create

Terraform will perform the following actions:

  # aws_organizations_organizational_unit.Sandbox will be created
  + resource "aws_organizations_organizational_unit" "Sandbox" {
      + accounts  = (known after apply)
      + arn       = (known after apply)
      + id        = (known after apply)
      + name      = "Sandbox"
      + parent_id = "r-5gsq"
      + tags_all  = (known after apply)
    }

  # aws_organizations_policy_attachment.Sandbox-cds_snc_universal_guardrails will be created
  + resource "aws_organizations_policy_attachment" "Sandbox-cds_snc_universal_guardrails" {
      + id        = (known after apply)
      + policy_id = "p-uiyy34bp"
      + target_id = (known after apply)
    }

Plan: 2 to add, 0 to change, 0 to destroy.

─────────────────────────────────────────────────────────────────────────────

Saved the plan to: plan.tfplan

To perform exactly these actions, run the following command to apply:
    terraform apply "plan.tfplan"
Show Conftest results
WARN - plan.json - main - Missing Common Tags: ["aws_organizations_organizational_unit.AFT"]
WARN - plan.json - main - Missing Common Tags: ["aws_organizations_organizational_unit.DumpsterFire"]
WARN - plan.json - main - Missing Common Tags: ["aws_organizations_organizational_unit.Production"]
WARN - plan.json - main - Missing Common Tags: ["aws_organizations_organizational_unit.SRETools"]
WARN - plan.json - main - Missing Common Tags: ["aws_organizations_organizational_unit.Sandbox"]
WARN - plan.json - main - Missing Common Tags: ["aws_organizations_organizational_unit.SandboxMigration"]
WARN - plan.json - main - Missing Common Tags: ["aws_organizations_organizational_unit.Security"]
WARN - plan.json - main - Missing Common Tags: ["aws_organizations_organizational_unit.Staging"]
WARN - plan.json - main - Missing Common Tags: ["aws_organizations_organizational_unit.Test"]
WARN - plan.json - main - Missing Common Tags: ["aws_organizations_policy.cds_snc_universal_guardrails"]

29 tests, 19 passed, 10 warnings, 0 failures, 0 exceptions

@gcharest gcharest merged commit 4e711f9 into main Nov 17, 2023
13 checks passed
@gcharest gcharest deleted the fix/create_new_sandbox_ou branch November 17, 2023 19:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants