What information does the public Terraform Module Registry automatically expose about published modules?
Answer(s): D
https://www.terraform.io/docs/registry/modules/publish.html
If a module uses a local values, you can expose that value with a terraform output.
Answer(s): A
Output values are like function return values.
https://www.terraform.io/docs/language/values/locals.htmlhttps://www.terraform.io/docs/language/values/outputs.html
You should store secret data in the same version control repository as your Terraform configuration.
Answer(s): B
https://blog.gruntwork.io/a-comprehensive-guide-to-managing-secrets-in-your-terraform-code-1d586955ace1
Which of the following is not a valid string function in Terraform?
Answer(s): C
https://www.terraform.io/docs/language/functions/chomp.html
You have provisioned some virtual machines (VMs) on Google Cloud Platform (GCP) using the gcloud command line tool. However, you are standardizing withTerraform and want to manage these VMs using Terraform instead.What are the two things you must do to achieve this? (Choose two.)
Answer(s): B,C
The terraform import command is used to import existing infrastructure.Import existing Google Cloud resources into Terraform with Terraformer.
https://www.terraform.io/docs/cli/import/usage.htmlhttps://cloud.google.com/docs/terraform
Share your comments for HashiCorp Terraform Associate exam with other users:
question 14 - run terraform import: this is the recommended best practice for bringing manually created or destroyed resources under terraform management. you use terraform import to associate an existing resource with a terraform resource configuration. this ensures that terraform is aware of the resource, and you can subsequently manage it with terraform.
good one nice
nice questions