Skip to content

Commit

Permalink
fix: pass stage to *_custom_role resources
Browse files Browse the repository at this point in the history
Ig this is not set the module everytime uses "GA" for the stage & the stage-variable would be completely useless.
  • Loading branch information
bestefreund authored Mar 2, 2022
1 parent 919b625 commit 255a427
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions modules/custom_role_iam/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ resource "google_organization_iam_custom_role" "org-custom-role" {
title = var.title == "" ? var.role_id : var.title
description = var.description
permissions = local.permissions
stage = var.stage
}

/******************************************
Expand All @@ -73,6 +74,7 @@ resource "google_project_iam_custom_role" "project-custom-role" {
title = var.title == "" ? var.role_id : var.title
description = var.description
permissions = local.permissions
stage = var.stage
}

/******************************************
Expand Down

0 comments on commit 255a427

Please sign in to comment.