Skip to content

Commit 0f65f84

Browse files
authored
Merge pull request #1099 from a-blender/fix-tf-inconsistent-plan-backport
[Backport release/v2] Fix TF inconsistent plan bug
2 parents 6e18739 + 07f6106 commit 0f65f84

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

docs/resources/cluster_v2.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -460,7 +460,7 @@ The following attributes are exported:
460460
##### Arguments
461461

462462
* `name` - (Required) Machine pool name (string)
463-
* `cloud_credential_name` - (Required) Machine pool cloud credential secret name (string)
463+
* `cloud_credential_secret_name` - (Optional) Machine pool cloud credential secret name (string)
464464
* `machine_config` - (Required) Machine pool node config (list)
465465
* `control_plane_role` - (Optional) Machine pool control plane role? (bool)
466466
* `etcd_role` - (Optional) Machine pool etcd role? (bool)

rancher2/schema_cluster_v2_rke_config_machine_pool.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ func clusterV2RKEConfigMachinePoolFields() map[string]*schema.Schema {
5252
},
5353
"cloud_credential_secret_name": {
5454
Type: schema.TypeString,
55-
Required: true,
55+
Optional: true,
5656
Description: "Machine pool cloud credential secret name",
5757
},
5858
"machine_config": {

0 commit comments

Comments
 (0)