Skip to content

Commit

Permalink
add diffsuppress for regionautoscaler.target (#2770)
Browse files Browse the repository at this point in the history
<!-- This change is generated by MagicModules. -->
/cc @danawillow
  • Loading branch information
modular-magician authored and danawillow committed Dec 29, 2018
1 parent 7a2fc33 commit 97a53d4
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions google/resource_compute_region_autoscaler.go
Original file line number Diff line number Diff line change
Expand Up @@ -121,8 +121,9 @@ func resourceComputeRegionAutoscaler() *schema.Resource {
ValidateFunc: validateGCPName,
},
"target": {
Type: schema.TypeString,
Required: true,
Type: schema.TypeString,
Required: true,
DiffSuppressFunc: compareSelfLinkOrResourceName,
},
"description": {
Type: schema.TypeString,
Expand Down

0 comments on commit 97a53d4

Please sign in to comment.