Skip to content

Commit

Permalink
feat(terraform): add default tags to resources (#146)
Browse files Browse the repository at this point in the history
  • Loading branch information
JoshuaLicense authored Jun 19, 2024
1 parent 73cbcc5 commit 72591c9
Show file tree
Hide file tree
Showing 6 changed files with 40 additions and 0 deletions.
6 changes: 6 additions & 0 deletions infra/terraform/accounts/nonprod/provider.tf
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,10 @@ provider "aws" {
region = "eu-west-1"

allowed_account_ids = ["054614622558"]

default_tags {
tags = {
Repository = "https://github.com/dvsa/vol-app"
}
}
}
6 changes: 6 additions & 0 deletions infra/terraform/accounts/prod/provider.tf
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,10 @@ provider "aws" {
region = "eu-west-1"

allowed_account_ids = ["146997448015"]

default_tags {
tags = {
Repository = "https://github.com/dvsa/vol-app"
}
}
}
7 changes: 7 additions & 0 deletions infra/terraform/environments/dev/provider.tf
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,11 @@ provider "aws" {
region = "eu-west-1"

allowed_account_ids = ["054614622558"]

default_tags {
tags = {
Environment = "dev"
Repository = "https://github.com/dvsa/vol-app"
}
}
}
7 changes: 7 additions & 0 deletions infra/terraform/environments/int/provider.tf
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,11 @@ provider "aws" {
region = "eu-west-1"

allowed_account_ids = ["054614622558"]

default_tags {
tags = {
Environment = "int"
Repository = "https://github.com/dvsa/vol-app"
}
}
}
7 changes: 7 additions & 0 deletions infra/terraform/environments/prep/provider.tf
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,11 @@ provider "aws" {
region = "eu-west-1"

allowed_account_ids = ["146997448015"]

default_tags {
tags = {
Environment = "prep"
Repository = "https://github.com/dvsa/vol-app"
}
}
}
7 changes: 7 additions & 0 deletions infra/terraform/environments/prod/provider.tf
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,11 @@ provider "aws" {
region = "eu-west-1"

allowed_account_ids = ["146997448015"]

default_tags {
tags = {
Environment = "prod"
Repository = "https://github.com/dvsa/vol-app"
}
}
}

0 comments on commit 72591c9

Please sign in to comment.