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 committed Nov 13, 2019
1 parent 0630ff3 commit a6227da
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 a6227da

Please sign in to comment.