Skip to content

Commit faa3cb1

Browse files
authored
Update resource_container_cluster.go.tmpl to support membership_type
1 parent f05fb98 commit faa3cb1

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

mmv1/third_party/terraform/services/container/resource_container_cluster.go.tmpl

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2431,6 +2431,14 @@ func ResourceContainerCluster() *schema.Resource {
24312431
Computed: true,
24322432
Description: `Location of the fleet membership, for example "us-central1".`,
24332433
},
2434+
"membership_type": {
2435+
Type: schema.TypeString,
2436+
Optional: true,
2437+
ForceNew: true,
2438+
Default: "MEMBERSHIP_TYPE_UNSPECIFIED",
2439+
ValidateFunc: validation.StringInSlice([]string{"MEMBERSHIP_TYPE_UNSPECIFIED", "LIGHTWEIGHT"}, false),
2440+
Description: `The type of the cluster's fleet membership.`,
2441+
},
24342442
},
24352443
},
24362444
},

0 commit comments

Comments
 (0)