Skip to content

Commit

Permalink
Add new DiffSuppress for dns managed zone visibility
Browse files Browse the repository at this point in the history
Signed-off-by: Modular Magician <[email protected]>
  • Loading branch information
emilymye authored and modular-magician committed Apr 18, 2019
1 parent 780576c commit 4ba4cdb
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions google-beta/resource_dns_managed_zone.go
Original file line number Diff line number Diff line change
Expand Up @@ -423,6 +423,9 @@ func flattenDnsManagedZoneLabels(v interface{}, d *schema.ResourceData) interfac
}

func flattenDnsManagedZoneVisibility(v interface{}, d *schema.ResourceData) interface{} {
if v == nil || v.(string) == "" {
return "public"
}
return v
}

Expand Down

0 comments on commit 4ba4cdb

Please sign in to comment.