Skip to content

Commit

Permalink
Fully remove use_ip_aliases and create_subnetwork (#3123) (#5666)
Browse files Browse the repository at this point in the history
Signed-off-by: Modular Magician <[email protected]>
  • Loading branch information
modular-magician authored Feb 12, 2020
1 parent eeade13 commit 31e24e5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 15 deletions.
3 changes: 3 additions & 0 deletions .changelog/3123.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:breaking-change
container:Fully removed `use_ip_aliases` and `create_subnetwork` fields
```
15 changes: 0 additions & 15 deletions google/resource_container_cluster.go
Original file line number Diff line number Diff line change
Expand Up @@ -607,21 +607,6 @@ func resourceContainerCluster() *schema.Resource {
ConflictsWith: ipAllocationCidrBlockFields,
},

"use_ip_aliases": {
Type: schema.TypeBool,
Removed: "This field is removed as of 3.0.0. If previously set to true, remove it from your config. If false, remove it.",
Computed: true,
Optional: true,
},

// GKE creates subnetwork automatically
"create_subnetwork": {
Type: schema.TypeBool,
Removed: "This field is removed as of 3.0.0. Define an explicit google_compute_subnetwork and use subnetwork instead.",
Computed: true,
Optional: true,
},

"subnetwork_name": {
Type: schema.TypeString,
Removed: "This field is removed as of 3.0.0. Define an explicit google_compute_subnetwork and use subnetwork instead.",
Expand Down

0 comments on commit 31e24e5

Please sign in to comment.