Terraform Associate Practice Questions 2022
run a terraform state rm command to remove the Cloud SQL instance from terraform management before running the terraform destroy command - Answer- Freddy and his co-worker Jason are deploying resources in GCP using Terraform for their team. After resources have been deployed, they need to destroy the cloud-based resources to save on costs. However, two other team members, Michael and Chucky, are using a Cloud SQL instance for testing and are asking to keep it running. How can Freddy and Jason easily destroy all other resources without negatively impacting the database? the resource is marked as tainted - Answer- During a terraform apply, a resource is successfully created but eventually fails during provisioning. What happens to the resource?
Document information
- Uploaded on
- September 11, 2023
- Number of pages
- 15
- Written in
- 2023/2024
- Type
- Exam (elaborations)
- Contains
- Questions & answers