Skip to content

Commit

Permalink
enh: set global tags
Browse files Browse the repository at this point in the history
  • Loading branch information
notdodo committed Sep 15, 2024
1 parent aa95d64 commit 23fbc31
Showing 1 changed file with 10 additions and 11 deletions.
21 changes: 10 additions & 11 deletions assets/tests/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -6,18 +6,21 @@ terraform {
}
}

locals {
default_tags = {
Environment = "test"
Owner = "primait"
Project = "nuvola"
}
}

provider "aws" {
access_key = "test"
secret_key = "test"
region = "eu-west-1"
default_tags {
tags = {
Environment = "test"
Owner = "primait"
Project = "nuvola"
}
tags = local.default_tags
}

}

provider "aws" {
Expand All @@ -26,11 +29,7 @@ provider "aws" {
region = "us-east-1"
alias = "us_east_1"
default_tags {
tags = {
Environment = "test"
Owner = "primait"
Project = "nuvola"
}
tags = local.default_tags
}
}

Expand Down

0 comments on commit 23fbc31

Please sign in to comment.