Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use direct references rather than interpolated strings for custom roles #105

Open
zefdelgadillo opened this issue Oct 17, 2023 · 0 comments

Comments

@zefdelgadillo
Copy link

In order for Terraform to apply resources in the correct order, IAM configuration should use the direct attributes from the custom role definition.

See role below:

resource "google_project_iam_binding" "BigQuerySchemaUpdate" {
  project = var.tag_engine_project
  role    = "projects/${var.bigquery_project}/roles/BigQuerySchemaUpdate"**
  members = ["serviceAccount:${var.tag_creator_sa}"]
  depends_on = [google_project_service.tag_engine_project]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant