Difference between revisions of "Terraform Associate cheatsheet"

From wikieduonline
Jump to navigation Jump to search
Line 15: Line 15:
 
* <code>[[terraform fmt]], [[terraform validate]]</code>
 
* <code>[[terraform fmt]], [[terraform validate]]</code>
  
 +
Files
 
* <code>[[terraform.tfstate]]</code>
 
* <code>[[terraform.tfstate]]</code>
 
* <code>[[.terraform.lock.hcl]]</code>
 
* <code>[[.terraform.lock.hcl]]</code>

Revision as of 09:10, 28 February 2022

  • Variables: the name of a variable can be any valid identifier except the following: source, version, providers, count, for_each, lifecycle, depends_on, locals

terraform apply -paralelism=10 (defaults to 10)

terraform workspace delete your-workspace Default workspace cannot be deleted.

Terraform list types identified by consecutive whole numbers, starting with zero.

Terraform functions:

Files

See also

Advertising: