How-to set up Google Cloud (GCP) credentials in HCP Terraform Cloud
Briefly

The article discusses the essential permissions required for deploying infrastructure using Terraform Cloud with Google Cloud Platform (GCP). It emphasizes the need for a service account that allows actions like provisioning GKE clusters, installing Helm charts, managing IAM bindings, and handling secrets in Google Secret Manager. The article urges against using overly broad roles such as Owner and advocates for the least privilege principle while detailing necessary setups and configurations, including JSON key generation and enabling required APIs for successful deployment.
To deploy GKE clusters, Helm charts, and securely store credentials, Terraform Cloud requires a GCP service account with tailored, least privilege permissions.
Assigning overly broad roles like Owner is discouraged; instead, focus on specific permissions essential for tasks, respecting security best practices.
Read at Medium
[
|
]