Skip to content

Commit

Permalink
Make master_authorized_networks_config.cidr_blocks Optional in… (#2642)
Browse files Browse the repository at this point in the history
* Make master_authorized_networks_config.cidr_blocks Optional in GKE

* Add note
  • Loading branch information
rileykarson authored and slevenick committed Nov 12, 2019
1 parent 1c879ca commit ccd44af
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,10 @@ var (
Schema: map[string]*schema.Schema{
"cidr_blocks": {
Type: schema.TypeSet,
Required: true,
// Despite being the only entry in a nested block, this should be kept
// Optional. Expressing the parent with no entries and omitting the
// parent entirely are semantically different.
Optional: true,
Elem: cidrBlockConfig,
},
},
Expand Down

0 comments on commit ccd44af

Please sign in to comment.