Difference between revisions of ".tfvars"
Jump to navigation
Jump to search
Line 10: | Line 10: | ||
"subnet-03a8593192e921d88", | "subnet-03a8593192e921d88", | ||
] | ] | ||
+ | |||
+ | [[tags]] = { | ||
+ | env = "sandbox", | ||
+ | created-by = "your_name" | ||
+ | triggered-by = "terraform" | ||
+ | project = "your_project" | ||
+ | ou = "your_OU" | ||
+ | } | ||
[[vpc_id]] = "your_vpn_id" | [[vpc_id]] = "your_vpn_id" |
Revision as of 14:50, 10 February 2022
terraform plan -var-file="your_file.tfvars" terraform apply -var-file="your_file.tfvars"
subnets = [ "subnet-02173da6287aa8766", "subnet-0355bd5e1338d9077", "subnet-03a8593192e921d88", ]
tags = { env = "sandbox", created-by = "your_name" triggered-by = "terraform" project = "your_project" ou = "your_OU" }
vpc_id = "your_vpn_id"
Related
See also
- Terraform variables, types, env variables,
variables.tf
,.tfvars
,nullable
,validation
,terraform.tfvars
- Terraform configuration files, Terraform state files:
.tf
,.tfvars
,main.tf, outputs.tf
,variables.tf
,.terraform.d/
,terraform init
,providers.tf
,.terraform/
,terraform.tfstate
,.terraform.lock.hcl
,terraform.tfstate.d, override.tf, versions.tf
Advertising: