Skip to content

Commit f95507a

Browse files
committed
fix: unordered attributes should be sets
1 parent 6b62423 commit f95507a

File tree

4 files changed

+49
-43
lines changed

4 files changed

+49
-43
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
## v0.16.3
2+
3+
FIXES:
4+
5+
- Landing zone: unordered attributes are sets instead of lists.
6+
17
## v0.16.2
28

39
FIXES:

docs/data-sources/landingzone.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -74,14 +74,14 @@ Read-Only:
7474

7575
Required:
7676

77-
- `kubernetes_role_mappings` (Attributes List) Roles need to be mapped from the meshRole to the Cluster Role. You can use both built in roles like 'editor' or custom roles that you setup in the Kubernetes Cluster before. For more information see [the Landing Zone documentation](https://docs.meshcloud.io/meshstack.kubernetes.landing-zones/). (see [below for nested schema](#nestedatt--spec--platform_properties--aks--kubernetes_role_mappings))
77+
- `kubernetes_role_mappings` (Attributes Set) Roles need to be mapped from the meshRole to the Cluster Role. You can use both built in roles like 'editor' or custom roles that you setup in the Kubernetes Cluster before. For more information see [the Landing Zone documentation](https://docs.meshcloud.io/meshstack.kubernetes.landing-zones/). (see [below for nested schema](#nestedatt--spec--platform_properties--aks--kubernetes_role_mappings))
7878

7979
<a id="nestedatt--spec--platform_properties--aks--kubernetes_role_mappings"></a>
8080
### Nested Schema for `spec.platform_properties.aks.kubernetes_role_mappings`
8181

8282
Required:
8383

84-
- `platform_roles` (List of String) List of AKS platform roles to assign to the meshProject role.
84+
- `platform_roles` (Set of String) List of AKS platform roles to assign to the meshProject role.
8585
- `project_role_ref` (Attributes) the meshProject role (see [below for nested schema](#nestedatt--spec--platform_properties--aks--kubernetes_role_mappings--project_role_ref))
8686

8787
<a id="nestedatt--spec--platform_properties--aks--kubernetes_role_mappings--project_role_ref"></a>
@@ -104,7 +104,7 @@ Read-Only:
104104
Required:
105105

106106
- `aws_enroll_account` (Boolean) If true, accounts will be enrolled to AWS control tower. In case an enrollment configuration is provided for the AWS platform AND this value is set to true, created AWS accounts will automatically be enrolled with AWS Control Tower. Automatic account enrollment does also require the Target Organizational Unit to already be enrolled with AWS Control Tower and the corresponding meshfed-service role needs to be in the "IAM Principal" list for the Portfolio access of the Account Factory Product ID you defined in platform settings. Click [here](https://docs.meshcloud.io/integrations/aws/how-to-integrate/#7-integrate-aws-control-tower) to learn more about the Control Tower setup.
107-
- `aws_role_mappings` (Attributes List) Roles can be mapped from the meshRole to the AWS Role. The AWS role will be part of the role or group name within AWS. If empty, the default that is configured on platform level will be used. (see [below for nested schema](#nestedatt--spec--platform_properties--aws--aws_role_mappings))
107+
- `aws_role_mappings` (Attributes Set) Roles can be mapped from the meshRole to the AWS Role. The AWS role will be part of the role or group name within AWS. If empty, the default that is configured on platform level will be used. (see [below for nested schema](#nestedatt--spec--platform_properties--aws--aws_role_mappings))
108108
- `aws_target_org_unit_id` (String) The created AWS account for this Landing Zone will be put under the given Organizational Unit. You can also input a Root ID (starting with 'r-') then the account will be put directly under this root without assigning it to an OU (this is not recommended).
109109

110110
Optional:
@@ -117,7 +117,7 @@ Optional:
117117
Required:
118118

119119
- `platform_role` (String) The AWS platform role
120-
- `policies` (List of String) List of policies associated with this role mapping
120+
- `policies` (Set of String) List of policies associated with this role mapping
121121
- `project_role_ref` (Attributes) the meshProject role (see [below for nested schema](#nestedatt--spec--platform_properties--aws--aws_role_mappings--project_role_ref))
122122

123123
<a id="nestedatt--spec--platform_properties--aws--aws_role_mappings--project_role_ref"></a>
@@ -140,15 +140,15 @@ Read-Only:
140140
Required:
141141

142142
- `azure_management_group_id` (String) Azure Management Group ID where projects will be created.
143-
- `azure_role_mappings` (Attributes List) An array of mappings between the meshRole and the Azure specific access role. For more information see [the Landing Zone documentation](https://docs.meshcloud.io/meshstack.azure.landing-zones#meshrole-to-platform-role-mapping). If empty, the default that is configured on platform level will be used. (see [below for nested schema](#nestedatt--spec--platform_properties--azure--azure_role_mappings))
143+
- `azure_role_mappings` (Attributes Set) An array of mappings between the meshRole and the Azure specific access role. For more information see [the Landing Zone documentation](https://docs.meshcloud.io/meshstack.azure.landing-zones#meshrole-to-platform-role-mapping). If empty, the default that is configured on platform level will be used. (see [below for nested schema](#nestedatt--spec--platform_properties--azure--azure_role_mappings))
144144

145145
<a id="nestedatt--spec--platform_properties--azure--azure_role_mappings"></a>
146146
### Nested Schema for `spec.platform_properties.azure.azure_role_mappings`
147147

148148
Required:
149149

150150
- `azure_group_suffix` (String) The given role name will be injected into the group name via the group naming pattern configured on the platform instance.
151-
- `azure_role_definitions` (Attributes List) List of Azure role definitions (see [below for nested schema](#nestedatt--spec--platform_properties--azure--azure_role_mappings--azure_role_definitions))
151+
- `azure_role_definitions` (Attributes Set) List of Azure role definitions (see [below for nested schema](#nestedatt--spec--platform_properties--azure--azure_role_mappings--azure_role_definitions))
152152
- `project_role_ref` (Attributes) the meshProject role (see [below for nested schema](#nestedatt--spec--platform_properties--azure--azure_role_mappings--project_role_ref))
153153

154154
<a id="nestedatt--spec--platform_properties--azure--azure_role_mappings--azure_role_definitions"></a>
@@ -183,7 +183,7 @@ Read-Only:
183183
Required:
184184

185185
- `azure_rg_location` (String) The newly created Resource Group for the meshProjects will get assigned to this location. It must be all lower case and without spaces (e.g. `eastus2` for East US 2). In order to list the available locations you can use `az account list-locations --query "[*].name" --out tsv | sort`
186-
- `azure_rg_role_mappings` (Attributes List) An array of mappings between the meshRole and the Azure specific access role. For more information see [the Landing Zone documentation](https://docs.meshcloud.io/meshstack.azure.landing-zones#meshrole-to-platform-role-mapping). If empty, the default that is configured on platform level will be used. (see [below for nested schema](#nestedatt--spec--platform_properties--azurerg--azure_rg_role_mappings))
186+
- `azure_rg_role_mappings` (Attributes Set) An array of mappings between the meshRole and the Azure specific access role. For more information see [the Landing Zone documentation](https://docs.meshcloud.io/meshstack.azure.landing-zones#meshrole-to-platform-role-mapping). If empty, the default that is configured on platform level will be used. (see [below for nested schema](#nestedatt--spec--platform_properties--azurerg--azure_rg_role_mappings))
187187

188188
Optional:
189189

@@ -195,7 +195,7 @@ Optional:
195195
Required:
196196

197197
- `azure_group_suffix` (String) The given role name will be injected into the group name via the group naming pattern configured on the platform instance.
198-
- `azure_role_definition_ids` (List of String) Role Definitions with the given IDs will be attached to this Azure Role.
198+
- `azure_role_definition_ids` (Set of String) Role Definitions with the given IDs will be attached to this Azure Role.
199199
- `project_role_ref` (Attributes) the meshProject role (see [below for nested schema](#nestedatt--spec--platform_properties--azurerg--azure_rg_role_mappings--project_role_ref))
200200

201201
<a id="nestedatt--spec--platform_properties--azurerg--azure_rg_role_mappings--project_role_ref"></a>
@@ -226,7 +226,7 @@ Required:
226226

227227
Required:
228228

229-
- `gcp_role_mappings` (Attributes List) You can use both built-in roles like 'roles/editor' or custom roles like 'organizations/123123123123/roles/meshstack.project_developer'. For more information see [the Landing Zone documentation](https://docs.meshcloud.io/meshstack.gcp.landing-zones/#meshrole-to-platform-role-mapping). Multiple GCP Roles can be assigned to one meshRole. If empty, the default that is configured on platform level will be used. (see [below for nested schema](#nestedatt--spec--platform_properties--gcp--gcp_role_mappings))
229+
- `gcp_role_mappings` (Attributes Set) You can use both built-in roles like 'roles/editor' or custom roles like 'organizations/123123123123/roles/meshstack.project_developer'. For more information see [the Landing Zone documentation](https://docs.meshcloud.io/meshstack.gcp.landing-zones/#meshrole-to-platform-role-mapping). Multiple GCP Roles can be assigned to one meshRole. If empty, the default that is configured on platform level will be used. (see [below for nested schema](#nestedatt--spec--platform_properties--gcp--gcp_role_mappings))
230230

231231
Optional:
232232

@@ -238,7 +238,7 @@ Optional:
238238

239239
Required:
240240

241-
- `platform_roles` (List of String) Can be empty. List of GCP IAM roles to assign to the meshProject role.
241+
- `platform_roles` (Set of String) Can be empty. List of GCP IAM roles to assign to the meshProject role.
242242
- `project_role_ref` (Attributes) the meshProject role (see [below for nested schema](#nestedatt--spec--platform_properties--gcp--gcp_role_mappings--project_role_ref))
243243

244244
<a id="nestedatt--spec--platform_properties--gcp--gcp_role_mappings--project_role_ref"></a>
@@ -260,14 +260,14 @@ Read-Only:
260260

261261
Required:
262262

263-
- `kubernetes_role_mappings` (Attributes List) Kubernetes role mappings configuration. (see [below for nested schema](#nestedatt--spec--platform_properties--kubernetes--kubernetes_role_mappings))
263+
- `kubernetes_role_mappings` (Attributes Set) Kubernetes role mappings configuration. (see [below for nested schema](#nestedatt--spec--platform_properties--kubernetes--kubernetes_role_mappings))
264264

265265
<a id="nestedatt--spec--platform_properties--kubernetes--kubernetes_role_mappings"></a>
266266
### Nested Schema for `spec.platform_properties.kubernetes.kubernetes_role_mappings`
267267

268268
Required:
269269

270-
- `platform_roles` (List of String) Roles need to be mapped from the meshRole to the Cluster Role. You can use both built in roles like 'editor' or custom roles that you setup in the Kubernetes Cluster before. For more information see [the Landing Zone documentation](https://docs.meshcloud.io/meshstack.kubernetes.landing-zones/).
270+
- `platform_roles` (Set of String) Roles need to be mapped from the meshRole to the Cluster Role. You can use both built in roles like 'editor' or custom roles that you setup in the Kubernetes Cluster before. For more information see [the Landing Zone documentation](https://docs.meshcloud.io/meshstack.kubernetes.landing-zones/).
271271
- `project_role_ref` (Attributes) the meshProject role (see [below for nested schema](#nestedatt--spec--platform_properties--kubernetes--kubernetes_role_mappings--project_role_ref))
272272

273273
<a id="nestedatt--spec--platform_properties--kubernetes--kubernetes_role_mappings--project_role_ref"></a>

0 commit comments

Comments
 (0)