From 31e24e530fb3bde877b50607e61c41329c828585 Mon Sep 17 00:00:00 2001 From: The Magician Date: Wed, 12 Feb 2020 15:04:58 -0800 Subject: [PATCH] Fully remove `use_ip_aliases` and `create_subnetwork` (#3123) (#5666) Signed-off-by: Modular Magician --- .changelog/3123.txt | 3 +++ google/resource_container_cluster.go | 15 --------------- 2 files changed, 3 insertions(+), 15 deletions(-) create mode 100644 .changelog/3123.txt diff --git a/.changelog/3123.txt b/.changelog/3123.txt new file mode 100644 index 00000000000..ec38ad4426a --- /dev/null +++ b/.changelog/3123.txt @@ -0,0 +1,3 @@ +```release-note:breaking-change +container:Fully removed `use_ip_aliases` and `create_subnetwork` fields +``` diff --git a/google/resource_container_cluster.go b/google/resource_container_cluster.go index 75075a61112..2423085b830 100644 --- a/google/resource_container_cluster.go +++ b/google/resource_container_cluster.go @@ -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.",