Google Cloud in Production · Operating It: Terraform, Cost and Disaster Recovery
Terraform Removed Everyone's Access
A Terraform change using an authoritative IAM resource removed every grant it didn't list, locking out the on-call team. Use additive iam_member resources and review plans.
Scenario
Example team: the platform team starts managing production IAM with Terraform. To give the data team BigQuery
access, an engineer writes a google_project_iam_binding for roles/bigquery.dataViewer. Separately, for "full
control", someone adds a google_project_iam_policy for the project.
Premium course
Keep reading with a membership
The rest of this lesson, its practice questions and the whole Google Cloud in Production course are part of the membership.
Reference for this lesson
Free pages on the services and comparisons in this lesson.
- Identity and Access Management (IAM) · Service
Open in the app to mark lessons complete, take notes and track your progress.