Skip to content

Commit 9d9d2df

Browse files
Merge pull request #99 from vmware/feat/custom-policy
Custom policy resource support
2 parents e0e8b12 + 28fe2d9 commit 9d9d2df

File tree

121 files changed

+8185
-3398
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

121 files changed

+8185
-3398
lines changed

docs/data-sources/cluster.md

+195-169
Large diffs are not rendered by default.

docs/data-sources/cluster_group.md

+11-8
Original file line numberDiff line numberDiff line change
@@ -29,23 +29,26 @@ data "tanzu-mission-control_cluster_group" "read_cluster_group" {
2929

3030
### Required
3131

32-
- **name** (String)
32+
- `name` (String)
3333

3434
### Optional
3535

36-
- **id** (String) The ID of this resource.
37-
- **meta** (Block List, Max: 1) Metadata for the resource (see [below for nested schema](#nestedblock--meta))
36+
- `meta` (Block List, Max: 1) Metadata for the resource (see [below for nested schema](#nestedblock--meta))
37+
38+
### Read-Only
39+
40+
- `id` (String) The ID of this resource.
3841

3942
<a id="nestedblock--meta"></a>
4043
### Nested Schema for `meta`
4144

4245
Optional:
4346

44-
- **description** (String) Description of the resource
45-
- **labels** (Map of String) Labels for the resource
47+
- `annotations` (Map of String) Annotations for the resource
48+
- `description` (String) Description of the resource
49+
- `labels` (Map of String) Labels for the resource
4650

4751
Read-Only:
4852

49-
- **annotations** (Map of String) Annotations for the resource
50-
- **resource_version** (String) Resource version of the resource
51-
- **uid** (String) UID of the resource
53+
- `resource_version` (String) Resource version of the resource
54+
- `uid` (String) UID of the resource

docs/data-sources/cluster_node_pool.md

+47-19
Original file line numberDiff line numberDiff line change
@@ -28,50 +28,78 @@ data "tanzu-mission-control_cluster_node_pool" "read_node_pool" {
2828

2929
### Required
3030

31-
- **cluster_name** (String) Name of the cluster
32-
- **management_cluster_name** (String) Name of the management cluster
33-
- **name** (String) Name of this nodepool
34-
- **provisioner_name** (String) Provisioner of the cluster
31+
- `cluster_name` (String) Name of the cluster
32+
- `management_cluster_name` (String) Name of the management cluster
33+
- `name` (String) Name of this nodepool
34+
- `provisioner_name` (String) Provisioner of the cluster
3535

3636
### Optional
3737

38-
- **id** (String) The ID of this resource.
39-
- **meta** (Block List, Max: 1) Metadata for the resource (see [below for nested schema](#nestedblock--meta))
40-
- **spec** (Block List) Spec for the cluster nodepool (see [below for nested schema](#nestedblock--spec))
38+
- `meta` (Block List, Max: 1) Metadata for the resource (see [below for nested schema](#nestedblock--meta))
39+
- `spec` (Block List) Spec for the cluster nodepool (see [below for nested schema](#nestedblock--spec))
4140

4241
### Read-Only
4342

44-
- **status** (Map of String) Status of node pool resource
43+
- `id` (String) The ID of this resource.
44+
- `status` (Map of String) Status of node pool resource
4545

4646
<a id="nestedblock--meta"></a>
4747
### Nested Schema for `meta`
4848

4949
Optional:
5050

51-
- **description** (String) Description of the resource
52-
- **labels** (Map of String) Labels for the resource
51+
- `annotations` (Map of String) Annotations for the resource
52+
- `description` (String) Description of the resource
53+
- `labels` (Map of String) Labels for the resource
5354

5455
Read-Only:
5556

56-
- **annotations** (Map of String) Annotations for the resource
57-
- **resource_version** (String) Resource version of the resource
58-
- **uid** (String) UID of the resource
57+
- `resource_version` (String) Resource version of the resource
58+
- `uid` (String) UID of the resource
5959

6060

6161
<a id="nestedblock--spec"></a>
6262
### Nested Schema for `spec`
6363

6464
Optional:
6565

66-
- **cloud_labels** (Map of String) Cloud labels
67-
- **node_labels** (Map of String) Node labels
68-
- **tkg_service_vsphere** (Block List) TKGServiceVsphereNodepool is the nodepool spec for TKG service vsphere cluster (see [below for nested schema](#nestedblock--spec--tkg_service_vsphere))
69-
- **worker_node_count** (String) Count is the number of nodes
66+
- `cloud_labels` (Map of String) Cloud labels
67+
- `node_labels` (Map of String) Node labels
68+
- `tkg_aws` (Block List) TKGAWSNodepool is the nodepool spec for TKG AWS cluster (see [below for nested schema](#nestedblock--spec--tkg_aws))
69+
- `tkg_service_vsphere` (Block List) TKGServiceVsphereNodepool is the nodepool spec for TKG service vsphere cluster (see [below for nested schema](#nestedblock--spec--tkg_service_vsphere))
70+
- `tkg_vsphere` (Block List) TkgVsphereNodepool is the nodepool config for the TKG vsphere cluster (see [below for nested schema](#nestedblock--spec--tkg_vsphere))
71+
- `worker_node_count` (String) Count is the number of nodes
72+
73+
<a id="nestedblock--spec--tkg_aws"></a>
74+
### Nested Schema for `spec.tkg_aws`
75+
76+
Optional:
77+
78+
- `class` (String) Nodepool instance type
79+
- `storage_class` (String) Storage Class to be used for storage of the disks which store the root filesystem of the nodes
80+
7081

7182
<a id="nestedblock--spec--tkg_service_vsphere"></a>
7283
### Nested Schema for `spec.tkg_service_vsphere`
7384

7485
Optional:
7586

76-
- **class** (String) Nodepool instance type
77-
- **storage_class** (String) Storage Class to be used for storage of the disks which store the root filesystem of the nodes
87+
- `class` (String) Nodepool instance type
88+
- `storage_class` (String) Storage Class to be used for storage of the disks which store the root filesystem of the nodes
89+
90+
91+
<a id="nestedblock--spec--tkg_vsphere"></a>
92+
### Nested Schema for `spec.tkg_vsphere`
93+
94+
Required:
95+
96+
- `vm_config` (Block List, Min: 1, Max: 1) VM specific configuration (see [below for nested schema](#nestedblock--spec--tkg_vsphere--vm_config))
97+
98+
<a id="nestedblock--spec--tkg_vsphere--vm_config"></a>
99+
### Nested Schema for `spec.tkg_vsphere.vm_config`
100+
101+
Optional:
102+
103+
- `cpu` (String) Number of CPUs per node
104+
- `disk_size` (String) Root disk size in gigabytes for the VM
105+
- `memory` (String) Memory associated with the node in megabytes

docs/data-sources/credential.md

-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ data "tanzu-mission-control_credential" "test_cred" {
1515
}
1616
```
1717

18-
1918
<!-- schema generated by tfplugindocs -->
2019
## Schema
2120

docs/data-sources/namespace.md

+15-15
Original file line numberDiff line numberDiff line change
@@ -33,40 +33,40 @@ data "tanzu-mission-control_namespace" "read_namespace" {
3333

3434
### Required
3535

36-
- **cluster_name** (String)
37-
- **name** (String)
36+
- `cluster_name` (String)
37+
- `name` (String)
3838

3939
### Optional
4040

41-
- **id** (String) The ID of this resource.
42-
- **management_cluster_name** (String)
43-
- **meta** (Block List, Max: 1) Metadata for the resource (see [below for nested schema](#nestedblock--meta))
44-
- **provisioner_name** (String)
45-
- **spec** (Block List, Max: 1) (see [below for nested schema](#nestedblock--spec))
41+
- `management_cluster_name` (String)
42+
- `meta` (Block List, Max: 1) Metadata for the resource (see [below for nested schema](#nestedblock--meta))
43+
- `provisioner_name` (String)
44+
- `spec` (Block List, Max: 1) (see [below for nested schema](#nestedblock--spec))
4645

4746
### Read-Only
4847

49-
- **status** (Map of String)
48+
- `id` (String) The ID of this resource.
49+
- `status` (Map of String)
5050

5151
<a id="nestedblock--meta"></a>
5252
### Nested Schema for `meta`
5353

5454
Optional:
5555

56-
- **description** (String) Description of the resource
57-
- **labels** (Map of String) Labels for the resource
56+
- `annotations` (Map of String) Annotations for the resource
57+
- `description` (String) Description of the resource
58+
- `labels` (Map of String) Labels for the resource
5859

5960
Read-Only:
6061

61-
- **annotations** (Map of String) Annotations for the resource
62-
- **resource_version** (String) Resource version of the resource
63-
- **uid** (String) UID of the resource
62+
- `resource_version` (String) Resource version of the resource
63+
- `uid` (String) UID of the resource
6464

6565

6666
<a id="nestedblock--spec"></a>
6767
### Nested Schema for `spec`
6868

6969
Optional:
7070

71-
- **attach** (Boolean)
72-
- **workspace_name** (String)
71+
- `attach` (Boolean)
72+
- `workspace_name` (String)

docs/data-sources/workspace.md

+11-8
Original file line numberDiff line numberDiff line change
@@ -30,23 +30,26 @@ data "tanzu-mission-control_workspace" "read_workspace" {
3030

3131
### Required
3232

33-
- **name** (String)
33+
- `name` (String)
3434

3535
### Optional
3636

37-
- **id** (String) The ID of this resource.
38-
- **meta** (Block List, Max: 1) Metadata for the resource (see [below for nested schema](#nestedblock--meta))
37+
- `meta` (Block List, Max: 1) Metadata for the resource (see [below for nested schema](#nestedblock--meta))
38+
39+
### Read-Only
40+
41+
- `id` (String) The ID of this resource.
3942

4043
<a id="nestedblock--meta"></a>
4144
### Nested Schema for `meta`
4245

4346
Optional:
4447

45-
- **description** (String) Description of the resource
46-
- **labels** (Map of String) Labels for the resource
48+
- `annotations` (Map of String) Annotations for the resource
49+
- `description` (String) Description of the resource
50+
- `labels` (Map of String) Labels for the resource
4751

4852
Read-Only:
4953

50-
- **annotations** (Map of String) Annotations for the resource
51-
- **resource_version** (String) Resource version of the resource
52-
- **uid** (String) UID of the resource
54+
- `resource_version` (String) Resource version of the resource
55+
- `uid` (String) UID of the resource

docs/index.md

+2-5
Original file line numberDiff line numberDiff line change
@@ -54,11 +54,6 @@ provider "tanzu-mission-control" {
5454
<!-- schema generated by tfplugindocs -->
5555
## Schema
5656

57-
### Required
58-
59-
- `endpoint` (String)
60-
- `vmw_cloud_api_token` (String, Sensitive)
61-
6257
### Optional
6358

6459
- `ca_cert` (String, Sensitive)
@@ -67,5 +62,7 @@ provider "tanzu-mission-control" {
6762
- `client_auth_cert_file` (String)
6863
- `client_auth_key` (String, Sensitive)
6964
- `client_auth_key_file` (String)
65+
- `endpoint` (String)
7066
- `insecure_allow_unverified_ssl` (Boolean)
67+
- `vmw_cloud_api_token` (String, Sensitive)
7168
- `vmw_cloud_endpoint` (String)

0 commit comments

Comments
 (0)