GoConqr has a new look! Let us know what you think.

Flashcards

Terraform Associate

Dan P Terraform Associate English 34 cards

Cards in this deck (34)

  1. 1can a remote backend be used for multiple workspaces?yes (similarly-named)
  2. 2why is the "terraform remote backend" unique?it can execute operations in Terraform Cloud cli-driven workflow
  3. 3is the provider configuration block required?no
  4. 4who can create a terraform provider?anyone
  5. 5are terraform providers always installed from the internet?no
  6. 6outside of required_providers, how do configuration files refer to providers?always by their local name
  7. 7do state files store descriptions?no
  8. 8show data on deployed resource when it's not in outputsterraform state show
  9. 9refresh state for manually destroyed infrastructureterraform refresh (deprecated)
  10. 10what isn't processed by terraform refresh?configuration files
  11. 11what to do when automatic unlock fails?force-unlock
  12. 12can locals appear in output?yes
  13. 13how many locals block can you have?as many as you want
  14. 14can a local reference other locals?yes
  15. 15what are the required arguments for a variable?none
  16. 16can a variable name be "name"?yes
  17. 17what are 3 string functions?split, join, chomp
  18. 18is slice a string function?no
  19. 19what does "terraform validate" validate?syntax and arguments
  20. 20what is terraform spacing style?2 spaces
  21. 21how to show all resources that would be deleted? (2 solutions)1. terraform plan -destroy
    2. terraform destroy + prompt
  22. 22where should a provisioner block (eg local-exec) be placed?inside a resource block
  23. 23what kind of resource block can you add a provisioner to?any resource
  24. 24what to do if a provisioner needs credentials?add connection block
  25. 25how do you require a module version greater than or equal to 1.3?version = ">= 1.3"
  26. 26what is a "secure string"?it doesn't exist
  27. 27how do you declare logging?TF_LOG=TRACE
  28. 28how do you write the plan to a file?terraform plan -out=FILENAME
  29. 29where is the state backend declared?in the terraform (top-level) block
  30. 30does terraform init create sample files?no
  31. 31what does taint to?force destroy+recreate on next apply
  32. 32how to specify a variable through an environment variable?TF_VAR_name=xxx
  33. 33Pass CLI arguments to terraform through an environment variable?TF_CLI_ARGS=xxx
    TF_CLI_ARGS_name=xxx (for "name" subcommand)
  34. 34—

Information

Description
Associate Terraform Flashcards on Terraform Associate, created by Dan P on 27/11/2022.
Created by
Dan P
Views
0
Rating

Feedback

What is it about?

What do you think of the new look?

How do you like it?