An organization is establishing baseline operational standards for managing Google Cloud resources using Terraform. The cloud engineering team needs to ensure state concurrency locking, state change history tracking, and safe automated deployments. Which two configurations or practices should the team implement? (Select TWO.)
- Configure a Google Cloud Storage (GCS) bucket as a remote backend for centralized state storage.Cevap
- Enable Object Versioning on the Google Cloud Storage backend bucket.Cevap
- CStore Terraform state files locally on individual developer laptops to eliminate remote API network dependencies.
- DPerform ad-hoc manual resource updates using the Cloud Console whenever quick infrastructure modifications are required.
- EGrant the primitive Owner IAM role to the CI/CD service account to ensure all Terraform resources provision without permission errors.
Cevap
The team should configure a Google Cloud Storage bucket as the remote backend and enable Object Versioning on that bucket.
Configuring a Cloud Storage backend ensures state file centralization with native locking capabilities, while enabling Object Versioning guarantees state file backup history and recovery options.
Adım Adım Çözüm
Anahtar Kavram
Centralized Terraform state management using Cloud Storage with Object Versioning