Fix failing acceptance tests by using case insensitive diff function.
Some resource fail due to resource_group_name always being stored as lowercase. For those resources we add the case insensitive diff function.
This commit is contained in:
parent
da2bb09a32
commit
409ec88157
|
@ -26,9 +26,10 @@ func resourceArmDnsZone() *schema.Resource {
|
|||
},
|
||||
|
||||
"resource_group_name": &schema.Schema{
|
||||
Type: schema.TypeString,
|
||||
Required: true,
|
||||
ForceNew: true,
|
||||
Type: schema.TypeString,
|
||||
Required: true,
|
||||
ForceNew: true,
|
||||
DiffSuppressFunc: resourceAzurermResourceGroupNameDiffSuppress,
|
||||
},
|
||||
|
||||
"number_of_record_sets": &schema.Schema{
|
||||
|
|
|
@ -86,9 +86,10 @@ func resourceArmTrafficManagerEndpoint() *schema.Resource {
|
|||
},
|
||||
|
||||
"resource_group_name": {
|
||||
Type: schema.TypeString,
|
||||
Required: true,
|
||||
ForceNew: true,
|
||||
Type: schema.TypeString,
|
||||
Required: true,
|
||||
ForceNew: true,
|
||||
DiffSuppressFunc: resourceAzurermResourceGroupNameDiffSuppress,
|
||||
},
|
||||
},
|
||||
}
|
||||
|
|
|
@ -93,9 +93,10 @@ func resourceArmTrafficManagerProfile() *schema.Resource {
|
|||
},
|
||||
|
||||
"resource_group_name": {
|
||||
Type: schema.TypeString,
|
||||
Required: true,
|
||||
ForceNew: true,
|
||||
Type: schema.TypeString,
|
||||
Required: true,
|
||||
ForceNew: true,
|
||||
DiffSuppressFunc: resourceAzurermResourceGroupNameDiffSuppress,
|
||||
},
|
||||
|
||||
"tags": tagsSchema(),
|
||||
|
|
Loading…
Reference in New Issue