Professional Documents
Culture Documents
Terraform
Terraform
Terraform
Resource Type
Local name for the resources
Argument Name
Argument value
terraform force-unlock LOCK_ID [DIR] – manually unlock the state if unlocking failed
Infrastructure as Code Tools – Automation, Versioning and Reusability
terraform refresh – does not modify the infrastructure but it modifies the state file
Structure type – allows multiple values of several distinct types to be grouped together as a single value
– object, tuple
Backend configuration – migrate your state to a new backend
Terraform taint – destroy and recreate on the next apply
on_failure – change the fail behavior to either continue or fail
terraform apply varfile=”testing.tfvars”
depends_on – explicit dependency
terraform plan -destroy – preview the destroy command
DATA_SOURCE
The name of a variable can be any valid identifier except the following: source, version, providers, count, for_each, lifecycle, depends_on, locals.
Terraform console – debug