Settings, Providers & Resources Flashcards
what does terraform block comprise of
terraform version, providers and backend
can we use variable in terraform block
no, constant only
what is terraform backend
a place to store terraform state files
if not defined where does the state files live
in the root module of current working directory
what does ~>0.14 means
any version from 0.14 will be allowed
what does required_version in settings block signifies
the version of terraform to use
what does required_provider in settings signifies
the name and version of the provider
how does the block and map declaration differ
terraform{} is a block and aws={} is a map
what is local name of the provider
the name used to create the map comprising of source and version of the provider
why local name of a provider is needed
outside of required_provider block the name is being used by all other subsequent steps
what is the default registry of terraform
registry.terraform.io
how does the credibility of provider certified
through provider badged
what are the badges
official, verified, community and archived
what does provider section comprises of for aws
region and profile
how many labels can a block have
multiple but tied to the block type