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:
Andreas Kyrris 2016-09-28 14:12:00 +01:00
parent da2bb09a32
commit 409ec88157
3 changed files with 12 additions and 9 deletions

View File

@ -29,6 +29,7 @@ func resourceArmDnsZone() *schema.Resource {
Type: schema.TypeString,
Required: true,
ForceNew: true,
DiffSuppressFunc: resourceAzurermResourceGroupNameDiffSuppress,
},
"number_of_record_sets": &schema.Schema{

View File

@ -89,6 +89,7 @@ func resourceArmTrafficManagerEndpoint() *schema.Resource {
Type: schema.TypeString,
Required: true,
ForceNew: true,
DiffSuppressFunc: resourceAzurermResourceGroupNameDiffSuppress,
},
},
}

View File

@ -96,6 +96,7 @@ func resourceArmTrafficManagerProfile() *schema.Resource {
Type: schema.TypeString,
Required: true,
ForceNew: true,
DiffSuppressFunc: resourceAzurermResourceGroupNameDiffSuppress,
},
"tags": tagsSchema(),