Skip to content

Commit

Permalink
add tags to tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Kania committed Mar 30, 2020
1 parent 1a0c8e4 commit d65d9f8
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
5 changes: 5 additions & 0 deletions examples/required-tags/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,9 @@ module "config" {
tag2Key = "Environment"
tag3Value = "Terratest"
}

tags = {
"Automation" = "Terraform"
"Name" = var.config_name
}
}
5 changes: 5 additions & 0 deletions examples/simple/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,9 @@ module "config" {
config_name = var.config_name
config_logs_bucket = module.config_logs.aws_logs_bucket
config_logs_prefix = "config"

tags = {
"Automation" = "Terraform"
"Name" = var.config_name
}
}

0 comments on commit d65d9f8

Please sign in to comment.