mirror of
https://github.com/letic/terraform-provider-google.git
synced 2024-06-29 06:42:36 +00:00
Add new DiffSuppress for dns managed zone visibility (#3461)
Signed-off-by: Modular Magician <magic-modules@google.com>
This commit is contained in:
parent
c4d8953838
commit
4850ec52fd
|
@ -335,6 +335,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
|
||||
}
|
||||
|
||||
|
|
|
@ -77,6 +77,8 @@ resource "google_dns_managed_zone" "foobar" {
|
|||
labels = {
|
||||
foo = "bar"
|
||||
}
|
||||
|
||||
visibility = "public"
|
||||
}`, suffix, suffix, description)
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user