Add conflicts_with for cluster remove_default_node_pool and node_pool (#3422)

Signed-off-by: Modular Magician <magic-modules@google.com>
This commit is contained in:
The Magician 2019-04-11 17:24:13 -07:00 committed by emily
parent 585dab3e6f
commit 7f46f5c4fc

View File

@ -437,6 +437,7 @@ func resourceContainerCluster() *schema.Resource {
Elem: &schema.Resource{
Schema: schemaNodePool,
},
ConflictsWith: []string{"remove_default_node_pool"},
},
"node_version": {
@ -568,8 +569,9 @@ func resourceContainerCluster() *schema.Resource {
},
"remove_default_node_pool": {
Type: schema.TypeBool,
Optional: true,
Type: schema.TypeBool,
Optional: true,
ConflictsWith: []string{"node_pool"},
},
"private_cluster": {