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

Attach deny policy to Dumpsterfire OU #245

Merged
merged 3 commits into from
Mar 27, 2024

Conversation

sylviamclaughlin
Copy link
Contributor

Summary | Résumé

Attach the deny all SCP to Dumpsterfire OU.

@sylviamclaughlin sylviamclaughlin requested a review from a team March 25, 2024 23:24
@sylviamclaughlin sylviamclaughlin self-assigned this Mar 25, 2024
Copy link

Plan for org_account/organization

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

Plan: 1 to add, 0 to change, 0 to destroy
Show summary
CHANGE NAME
add aws_organizations_policy_attachment.DumpsterFire-qurantine_deny_all_policy
Show plan
Resource actions are indicated with the following symbols:
  + create

Terraform will perform the following actions:

  # aws_organizations_policy_attachment.DumpsterFire-qurantine_deny_all_policy will be created
  + resource "aws_organizations_policy_attachment" "DumpsterFire-qurantine_deny_all_policy" {
      + id        = (known after apply)
      + policy_id = "p-snkpbuyr"
      + target_id = "ou-5gsq-1bfads2f"
    }

Plan: 1 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.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"]
WARN - plan.json - main - Missing Common Tags: ["aws_organizations_policy.qurantine_deny_all_policy"]

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

@sylviamclaughlin sylviamclaughlin merged commit 39230e9 into main Mar 27, 2024
14 checks passed
@sylviamclaughlin sylviamclaughlin deleted the feat/attach_deny_all_policy branch March 27, 2024 20:37
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.

3 participants