Difference between revisions of "Terraform Associate cheatsheet"
Jump to navigation
Jump to search
Tags: Mobile web edit, Mobile edit |
|||
(14 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | * [[Variables]]: the name of a variable can be any valid identifier except the following: <code>source, version, providers, count, for_each, lifecycle, depends_on, [[locals]]</code> | + | * [[Variables]]: the name of a variable can be any valid identifier except the following: <code>source, version, providers, count, [[for_each]], lifecycle, depends_on, [[locals]]</code> |
− | <code>[[terraform apply]] -paralelism=10</code> (defaults to 10) | + | * <code>[[terraform apply]] -paralelism=10</code> (defaults to 10) |
− | <code>[[terraform workspace delete]] your-workspace [[terraform workspace list|Default]] workspace cannot be deleted.</code> | + | * <code>[[terraform workspace delete]] your-workspace [[terraform workspace list|Default]] workspace cannot be deleted.</code> |
+ | |||
+ | <code>[[terraform init -migrate-state]]</code> | ||
[[Terraform list types]] identified by consecutive whole numbers, starting with zero. | [[Terraform list types]] identified by consecutive whole numbers, starting with zero. | ||
* <code>[[TF_VAR_]]</code> | * <code>[[TF_VAR_]]</code> | ||
+ | * <code>[[TF_LOG]]</code>: <code>TRACE, DEBUG, INFO, WARN</code> or <code>ERROR</code> will send messages to <code>[[stderr]]</code> | ||
+ | |||
+ | [[Terraform functions]]: | ||
+ | * <code>[[lookup]](map, key, default)</code> | ||
+ | |||
+ | * <code>[[terraform fmt]], [[terraform validate]]</code> | ||
+ | Files | ||
+ | * <code>[[terraform.tfstate]]</code> | ||
+ | * <code>[[.terraform.lock.hcl]]</code> | ||
− | [[Terraform | + | == Related == |
− | * <code> | + | * [[Terraform activities]] |
+ | * <code>[[splat]]</code> | ||
+ | * https://medium.com/bb-tutorials-and-thoughts/250-practice-questions-for-terraform-associate-certification-7a3ccebe6a1a | ||
== See also == | == See also == |
Latest revision as of 09:37, 2 April 2023
- 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.
lookup(map, key, default)
Files
Related[edit]
- Terraform activities
splat
- https://medium.com/bb-tutorials-and-thoughts/250-practice-questions-for-terraform-associate-certification-7a3ccebe6a1a
See also[edit]
Advertising: