You ate making changes to existing Terraform code to add some new infrastructure. When is the best time to run terraform validate?
The public Terraform Module Registry is free to use.
What feature stops multiple users from operating on the Terraform state at the same time?
You need to destroy all of the resources in your Terraform workspace, except for aws_instance.ubuntu[1], which you want to keep. How can you tell Terraform to stop managing that specific resource without destroying it?
When should you write Terraform configuration files for existing infrastructure that you want to start managing with Terraform?
Setting the TF_LOG environment variable to DEBUG causes debug messages to be logged into stdout.
You have just developed a new Terraform configuration for two virtual machines with a cloud provider. You would like to create the infrastructure for the first time.
Which Terraform command should you runfirst?
Variables declared within a module are accessible outside of the module.
Which are examples of infrastructure as code? Choose two correct answers.
terraform init creates an example main.tf file in the current directory.