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.

Members can save this page, take notes and track progress. See membership · Sign in

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.

See plans Sign in

Reference for this lesson

Free pages on the services and comparisons in this lesson.

Open in the app to mark lessons complete, take notes and track your progress.

Last reviewed · By the ByteCamel team · How we write content

Was this page helpful?

Report a mistake