Skip to content

Commit

Permalink
Correct ID for role definition in cloud_info role
Browse files Browse the repository at this point in the history
  • Loading branch information
mrsheepuk authored Nov 25, 2024
1 parent 9753fac commit a638828
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 @@ -44,7 +44,7 @@ resource "azurerm_role_assignment" "cloudinfo_federated" {
count = var.enable_cloud_info && (var.from_aws || var.from_gcp) ? 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 = azurerm_user_assigned_identity.federated_identity[0].principal_id

depends_on = [
Expand Down

0 comments on commit a638828

Please sign in to comment.