Skip to content

Commit

Permalink
fix(): typo
Browse files Browse the repository at this point in the history
  • Loading branch information
Bindewald, André (UIT) authored and Bindewald, André (UIT) committed Jul 31, 2024
1 parent a5c523e commit c406ece
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ func resourceArmRoleAssignment() *pluginsdk.Resource {
validation.StringMatch(regexp.MustCompile("/providers/Microsoft.Subscription.*"), "Subscription scope is invalid"),

// This scope is used for the Reservations roles (Reservation Purchaser, Reservation Reader, etc.)
validation.StringMatch(regexp.MustCompile("/providers/Micrososoft.Capacity"), "Capacity scope is invalid"),
validation.StringMatch(regexp.MustCompile("/providers/Microsoft.Capacity"), "Capacity scope is invalid"),

billingValidate.EnrollmentID,
commonids.ValidateManagementGroupID,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -651,7 +651,7 @@ provider "azurerm" {
data "azurerm_client_config" "test" {}
resource "azurerm_role_assignment" "test" {
scope = "/providers/Micrososoft.Capacity"
scope = "/providers/Microsoft.Capacity"
role_definition_name = "Reservations Reader"
principal_id = data.azurerm_client_config.test.object_id
}
Expand Down

0 comments on commit c406ece

Please sign in to comment.