terraform-azurerm-caf
terraform-azurerm-caf copied to clipboard
Bug report-Wrong resource_type in modules/roles/custom_roles/module.tf
Is there an existing issue for this?
- [X] I have searched the existing issues
Community Note
- Please vote on this issue by adding a :thumbsup: reaction to the original issue to help the community and maintainers prioritize this request
- Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request
- If you are interested in working on this issue or have submitted a pull request, please leave a comment
Version of the module you are using
5.7.2
Rover Version
aztfmod/rover:1.5.4-2307.2804
Terraform Version
1.5.7
AzureRM Provider Version
v3.35.0
Affected Resource(s)/Data Source(s)
azurecaf_name
Terraform Configuration Files
Run "examples/azuread/101-service-principle-with-custom-roles/configuration.tfvars"
Expected Behaviour
The name of the resource custom_role "test_role" should be prefixed with "ra" according to the resource_type being "azurerm_role_assignment"
Actual Behaviour
The name of the resource custom_role "test_role" is prefixed with "rg" according to the resource_type being "azurerm_resource_group"
Steps to Reproduce
Run "examples/azuread/101-service-principle-with-custom-roles/configuration.tfvars"
Important Factoids
No response