Skip to content

Commit

Permalink
fix: correct passing of role definition resource id for role assignment
Browse files Browse the repository at this point in the history
  • Loading branch information
KashifSaadat committed Nov 27, 2024
1 parent 1b62782 commit d59b69a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/cloudaccess/wf_cloud_info.tf
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ resource "azurerm_role_assignment" "cloudinfo" {
count = var.enable_cloud_info && var.from_azure ? 1 : 0

scope = data.azurerm_subscription.primary.id
role_definition_id = azurerm_role_definition.cloudinfo[0].id
role_definition_id = azurerm_role_definition.cloudinfo[0].role_definition_resource_id
principal_id = var.wayfinder_identity_azure_principal_id

depends_on = [
Expand Down

0 comments on commit d59b69a

Please sign in to comment.