Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Example Terraform resource to define an AWS Organization tagging policy
resource "aws_organizations_policy" "OU-1-tagging-policy" {
name = "OU-1-tagging-policy"
content = <<CONTENT
{
"tags": {
"Environment": {
"tag_value": {
"@@assign": [
"Sandbox",
"Staging",
"Developement"
]
}
},
"Project": {
"tag_value": {
"@@assign": [
"Frontend",
"Backend",
"DevOps",
"Marketing"
]
}
}
"CostCenter": {
"tag_value": {
"@@assign": [
"Team_1",
"Team_2",
"Team_3"
]
}
}
CONTENT
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment