Skip to content

Commit

Permalink
Merge pull request #3499 from kiall/bug/roles-case-insensitive
Browse files Browse the repository at this point in the history
Role Assignment - Treat name as case insensitive
  • Loading branch information
tombuildsstuff authored May 23, 2019
2 parents 8b7c603 + 006cfb1 commit 794370b
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions azurerm/resource_arm_role_assignment.go
Original file line number Diff line number Diff line change
Expand Up @@ -50,12 +50,13 @@ func resourceArmRoleAssignment() *schema.Resource {
},

"role_definition_name": {
Type: schema.TypeString,
Optional: true,
Computed: true,
ForceNew: true,
ConflictsWith: []string{"role_definition_id"},
ValidateFunc: validateRoleDefinitionName,
Type: schema.TypeString,
Optional: true,
Computed: true,
ForceNew: true,
ConflictsWith: []string{"role_definition_id"},
DiffSuppressFunc: suppress.CaseDifference,
ValidateFunc: validateRoleDefinitionName,
},

"principal_id": {
Expand Down

0 comments on commit 794370b

Please sign in to comment.