You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: docs/data-sources/ekscluster.md
+29
Original file line number
Diff line number
Diff line change
@@ -93,6 +93,7 @@ Required:
93
93
94
94
Optional:
95
95
96
+
-`addons_config` (Block List, Max: 1) Addons config contains the configuration for all the addons of the cluster, which support customization of addon configuration (see [below for nested schema](#nestedblock--spec--config--addons_config))
96
97
-`kubernetes_network_config` (Block List, Max: 1) Kubernetes Network Config (see [below for nested schema](#nestedblock--spec--config--kubernetes_network_config))
97
98
-`logging` (Block List, Max: 1) EKS logging configuration (see [below for nested schema](#nestedblock--spec--config--logging))
98
99
-`tags` (Map of String) The metadata to apply to the cluster to assist with categorization and organization
@@ -112,6 +113,34 @@ Optional:
112
113
-`security_groups` (Set of String) Security groups for the cluster VMs
-`vpc_cni_config` (Block List, Max: 1) VPC CNI addon config contains the configuration for the VPC CNI addon of the cluster (see [below for nested schema](#nestedblock--spec--config--addons_config--vpc_cni_config))
### Nested Schema for `spec.config.addons_config.vpc_cni_config`
125
+
126
+
Optional:
127
+
128
+
-`eni_config` (Block List) ENI config for the VPC CNI addon (see [below for nested schema](#nestedblock--spec--config--addons_config--vpc_cni_config--eni_config))
-`scope` (Block List, Min: 1, Max: 1) Scope for the Helm feature, having one of the valid scopes: cluster, cluster_group. (see [below for nested schema](#nestedblock--scope))
21
+
22
+
### Optional
23
+
24
+
-`meta` (Block List, Max: 1) Metadata for the resource (see [below for nested schema](#nestedblock--meta))
25
+
26
+
### Read-Only
27
+
28
+
-`id` (String) The ID of this resource.
29
+
-`status` (Map of String) Status for the helm feature.
30
+
31
+
<aid="nestedblock--scope"></a>
32
+
### Nested Schema for `scope`
33
+
34
+
Optional:
35
+
36
+
-`cluster` (Block List, Max: 1) The schema for cluster full name (see [below for nested schema](#nestedblock--scope--cluster))
37
+
-`cluster_group` (Block List, Max: 1) The schema for cluster group full name (see [below for nested schema](#nestedblock--scope--cluster_group))
38
+
39
+
<aid="nestedblock--scope--cluster"></a>
40
+
### Nested Schema for `scope.cluster`
41
+
42
+
Required:
43
+
44
+
-`name` (String) Name of this cluster
45
+
46
+
Optional:
47
+
48
+
-`management_cluster_name` (String) Name of the management cluster
49
+
-`provisioner_name` (String) Provisioner of the cluster
50
+
51
+
52
+
<aid="nestedblock--scope--cluster_group"></a>
53
+
### Nested Schema for `scope.cluster_group`
54
+
55
+
Required:
56
+
57
+
-`name` (String) Name of the cluster group
58
+
59
+
60
+
61
+
<aid="nestedblock--meta"></a>
62
+
### Nested Schema for `meta`
63
+
64
+
Optional:
65
+
66
+
-`annotations` (Map of String) Annotations for the resource
67
+
-`description` (String) Description of the resource
68
+
-`labels` (Map of String) Labels for the resource
69
+
70
+
Read-Only:
71
+
72
+
-`resource_version` (String) Resource version of the resource
Copy file name to clipboardexpand all lines: docs/resources/custom_policy.md
+11-1
Original file line number
Diff line number
Diff line change
@@ -8,6 +8,7 @@ Description: |-
8
8
9
9
The `tanzu-mission-control_custom_policy` resource enables you to attach one of the pre-defined custom policy recipes to a particular scope for management through Tanzu Mission Control.
10
10
11
+
11
12
## Input Recipe
12
13
13
14
In the Tanzu Mission Control custom policy resource, there are six system defined types of custom templates that you can use:
-`scope` (Block List, Min: 1, Max: 1) Scope for the custom, security, image, network and namespace quota policy, having one of the valid scopes for custom, security and namespace quota policy: cluster, cluster_group or organization and valid scopes for image and network policy: workspace or organization. (see [below for nested schema](#nestedblock--scope))
1086
+
-`scope` (Block List, Min: 1, Max: 1) Scope for the custom, security, image, network, namespace quota and mutation policy, having one of the valid scopes for custom, security, mutation, and namespace quota policy: cluster, cluster_group or organization and valid scopes for image and network policy: workspace or organization. (see [below for nested schema](#nestedblock--scope))
1086
1087
-`spec` (Block List, Min: 1, Max: 1) Spec for the custom policy (see [below for nested schema](#nestedblock--spec))
1087
1088
1088
1089
### Optional
@@ -1101,6 +1102,7 @@ Optional:
1101
1102
-`cluster` (Block List, Max: 1) The schema for cluster policy full name (see [below for nested schema](#nestedblock--scope--cluster))
1102
1103
-`cluster_group` (Block List, Max: 1) The schema for cluster group policy full name (see [below for nested schema](#nestedblock--scope--cluster_group))
1103
1104
-`organization` (Block List, Max: 1) The schema for organization policy full name (see [below for nested schema](#nestedblock--scope--organization))
1105
+
-`workspace` (Block List, Max: 1) The schema for workspace policy full name (see [below for nested schema](#nestedblock--scope--workspace))
id = "subnet-0a680171b6330619f" // Required, should belong to the same VPC as the cluster
87
+
security_groups = [
88
+
"sg-00c96ad9d02a22522",
89
+
]
90
+
}
91
+
eni_config {
92
+
id = "subnet-06feb0bb0451cda78" // Required, should belong to the same VPC as the cluster
93
+
security_groups = [
94
+
"sg-00c96ad9d02a22522",
95
+
]
96
+
}
97
+
}
98
+
}
82
99
}
83
100
84
101
nodepool {
@@ -241,6 +258,7 @@ Required:
241
258
242
259
Optional:
243
260
261
+
-`addons_config` (Block List, Max: 1) Addons config contains the configuration for all the addons of the cluster, which support customization of addon configuration (see [below for nested schema](#nestedblock--spec--config--addons_config))
244
262
-`kubernetes_network_config` (Block List, Max: 1) Kubernetes Network Config (see [below for nested schema](#nestedblock--spec--config--kubernetes_network_config))
245
263
-`logging` (Block List, Max: 1) EKS logging configuration (see [below for nested schema](#nestedblock--spec--config--logging))
246
264
-`tags` (Map of String) The metadata to apply to the cluster to assist with categorization and organization
@@ -260,6 +278,34 @@ Optional:
260
278
-`security_groups` (Set of String) Security groups for the cluster VMs
-`vpc_cni_config` (Block List, Max: 1) VPC CNI addon config contains the configuration for the VPC CNI addon of the cluster. (see [below for nested schema](#nestedblock--spec--config--addons_config--vpc_cni_config))
### Nested Schema for `spec.config.addons_config.vpc_cni_config`
290
+
291
+
Optional:
292
+
293
+
-`eni_config` (Block List) ENI config is the VPC CNI Elastic Network Interface config for providing the configuration of subnet and security groups for pods in each AZ. Subnets need not be in the same VPC as the cluster. The subnets provided across eniConfigs should be in different availability zones. Nodepool subnets need to be in the same AZ as the AZs used in ENIConfig. (see [below for nested schema](#nestedblock--spec--config--addons_config--vpc_cni_config--eni_config))
-`scope` (Block List, Min: 1, Max: 1) Scope for the custom, security, image, network and namespace quota policy, having one of the valid scopes for custom, security and namespace quota policy: cluster, cluster_group or organization and valid scopes for image and network policy: workspace or organization. (see [below for nested schema](#nestedblock--scope))
442
+
-`scope` (Block List, Min: 1, Max: 1) Scope for the custom, security, image, network, namespace quota and mutation policy, having one of the valid scopes for custom, security, mutation, and namespace quota policy: cluster, cluster_group or organization and valid scopes for image and network policy: workspace or organization. (see [below for nested schema](#nestedblock--scope))
443
443
-`spec` (Block List, Min: 1, Max: 1) Spec for the image policy (see [below for nested schema](#nestedblock--spec))
-`cluster` (Block List, Max: 1) The schema for cluster policy full name (see [below for nested schema](#nestedblock--scope--cluster))
459
+
-`cluster_group` (Block List, Max: 1) The schema for cluster group policy full name (see [below for nested schema](#nestedblock--scope--cluster_group))
458
460
-`organization` (Block List, Max: 1) The schema for organization policy full name (see [below for nested schema](#nestedblock--scope--organization))
459
461
-`workspace` (Block List, Max: 1) The schema for workspace policy full name (see [below for nested schema](#nestedblock--scope--workspace))
460
462
463
+
<aid="nestedblock--scope--cluster"></a>
464
+
### Nested Schema for `scope.cluster`
465
+
466
+
Required:
467
+
468
+
-`name` (String) Name of this cluster
469
+
470
+
Optional:
471
+
472
+
-`management_cluster_name` (String) Name of the management cluster
473
+
-`provisioner_name` (String) Provisioner of the cluster
474
+
475
+
476
+
<aid="nestedblock--scope--cluster_group"></a>
477
+
### Nested Schema for `scope.cluster_group`
478
+
479
+
Required:
480
+
481
+
-`cluster_group` (String) Name of this cluster group
0 commit comments