Difference between revisions of "Terraform Associate cheatsheet"

From wikieduonline
Jump to navigation Jump to search
Tags: Mobile web edit, Mobile edit
 
(23 intermediate revisions by 2 users not shown)
Line 1: Line 1:
[[terraform apply]] -paralelism=10 (defaults to 10)
+
* [[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>
  
[[terraform workspace]]
+
* <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 init -migrate-state]]</code>
 +
 +
[[Terraform list types]] identified by consecutive whole numbers, starting with zero.
 +
 +
* <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>
 +
 +
== Related ==
 +
* [[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 init -migrate-state

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

Terraform functions:

Files

Related[edit]

See also[edit]

Advertising: