Skip to content

Commit

Permalink
Add diff supress func to endpoint_location.
Browse files Browse the repository at this point in the history
Signed-off-by: stack72 <[email protected]>
  • Loading branch information
Robert Rudduck authored and stack72 committed Jun 15, 2017
1 parent 7d72e5f commit 85a9cbc
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions azurerm/resource_arm_traffic_manager_endpoint.go
Original file line number Diff line number Diff line change
Expand Up @@ -73,12 +73,13 @@ func resourceArmTrafficManagerEndpoint() *schema.Resource {
ValidateFunc: validation.IntBetween(1, 1000),
},

// when targeting an Azure resource the location of that resource will be set on the endpoint
"endpoint_location": {
Type: schema.TypeString,
Optional: true,
// when targeting an Azure resource the location of that resource will be set on the endpoint
Computed: true,
StateFunc: azureRMNormalizeLocation,
Type: schema.TypeString,
Optional: true,
Computed: true,
StateFunc: azureRMNormalizeLocation,
DiffSuppressFunc: azureRMSuppressLocationDiff,
},

"min_child_endpoints": {
Expand Down

0 comments on commit 85a9cbc

Please sign in to comment.