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