We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 1d391f1 + ab31734 commit b4fa357Copy full SHA for b4fa357
3 files changed
.gitignore
@@ -55,6 +55,8 @@ crash.log
55
# version control.
56
#
57
# example.tfvars
58
+*.tfvars
59
+*.tfvars.json
60
61
# Ignore override files as they are usually used to override resources locally and so
62
# are not checked in
terraform/aws/main.tf
@@ -1,4 +1,9 @@
1
2
provider "aws" {
3
region = var.aws.region
4
+
5
+ default_tags {
6
+ tags = var.aws_default_tags
7
+ }
8
9
}
terraform/aws/variables.tf
@@ -99,4 +99,10 @@ variable "caldera_server" {
99
default = {
100
"caldera_server" = "0"
101
102
+}
103
104
+variable "aws_default_tags" {
105
+ type = map(string)
106
+ description = "Default tags to apply to all AWS resources. Supply via tfvars or -var."
107
+ default = {}
108
0 commit comments