Skip to content

Commit

Permalink
fixed workloads hierarchy
Browse files Browse the repository at this point in the history
  • Loading branch information
agjmills committed May 3, 2024
1 parent 3b95ef0 commit 687f45c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -72,17 +72,17 @@ resource "aws_organizations_organizational_unit" "exceptions" {

resource "aws_organizations_organizational_unit" "workloads_dev" {
name = "Development"
parent_id = data.aws_organizations_organization.org.roots[0].id
parent_id = aws_organizations_organizational_unit.workloads.id
}

resource "aws_organizations_organizational_unit" "workloads_staging" {
name = "Staging"
parent_id = data.aws_organizations_organization.org.roots[0].id
parent_id = aws_organizations_organizational_unit.workloads.id
}

resource "aws_organizations_organizational_unit" "workloads_production" {
name = "Production"
parent_id = data.aws_organizations_organization.org.roots[0].id
parent_id = aws_organizations_organizational_unit.workloads.id
}

resource "aws_organizations_account" "production" {
Expand Down

0 comments on commit 687f45c

Please sign in to comment.