Skip to content

Commit a0613c7

Browse files
feat: AKS - Updated UDTs to pending specs (#4113)
## Description Updated user-defined types with pending Azure/Azure-Verified-Modules#1738 & #4098. ## Pipeline Reference <!-- Insert your Pipeline Status Badge below --> | Pipeline | | -------- | [![avm.res.container-service.managed-cluster](https://github.com/AlexanderSehr/bicep-registry-modules/actions/workflows/avm.res.container-service.managed-cluster.yml/badge.svg?branch=users%2Falsehr%2Favm.ptn.azd.aks-automatic-cluster_udt&event=workflow_dispatch)](https://github.com/AlexanderSehr/bicep-registry-modules/actions/workflows/avm.res.container-service.managed-cluster.yml) ## Type of Change <!-- Use the checkboxes [x] on the options that are relevant. --> - [ ] Update to CI Environment or utilities (Non-module affecting changes) - [x] Azure Verified Module updates: - [ ] Bugfix containing backwards-compatible bug fixes, and I have NOT bumped the MAJOR or MINOR version in `version.json`: - [ ] Someone has opened a bug report issue, and I have included "Closes #{bug_report_issue_number}" in the PR description. - [ ] The bug was found by the module author, and no one has opened an issue to report it yet. - [ ] Feature update backwards compatible feature updates, and I have bumped the MINOR version in `version.json`. - [ ] Breaking changes and I have bumped the MAJOR version in `version.json`. - [ ] Update to documentation
1 parent 5903d08 commit a0613c7

File tree

12 files changed

+368
-466
lines changed

12 files changed

+368
-466
lines changed

avm/res/container-service/managed-cluster/README.md

Lines changed: 20 additions & 49 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,6 @@ module managedCluster 'br/public:avm/res/container-service/managed-cluster:<vers
8181
enableSecretRotation: true
8282
kedaAddon: true
8383
kubernetesVersion: '1.28'
84-
location: '<location>'
8584
maintenanceConfigurations: [
8685
{
8786
maintenanceWindow: {
@@ -169,9 +168,6 @@ module managedCluster 'br/public:avm/res/container-service/managed-cluster:<vers
169168
"kubernetesVersion": {
170169
"value": "1.28"
171170
},
172-
"location": {
173-
"value": "<location>"
174-
},
175171
"maintenanceConfigurations": {
176172
"value": [
177173
{
@@ -257,7 +253,6 @@ param enableKeyvaultSecretsProvider = true
257253
param enableSecretRotation = true
258254
param kedaAddon = true
259255
param kubernetesVersion = '1.28'
260-
param location = '<location>'
261256
param maintenanceConfigurations = [
262257
{
263258
maintenanceWindow: {
@@ -510,7 +505,7 @@ module managedCluster 'br/public:avm/res/container-service/managed-cluster:<vers
510505
}
511506
]
512507
managedIdentities: {
513-
userAssignedResourcesIds: [
508+
userAssignedResourceIds: [
514509
'<managedIdentityResourceId>'
515510
]
516511
}
@@ -809,7 +804,7 @@ module managedCluster 'br/public:avm/res/container-service/managed-cluster:<vers
809804
},
810805
"managedIdentities": {
811806
"value": {
812-
"userAssignedResourcesIds": [
807+
"userAssignedResourceIds": [
813808
"<managedIdentityResourceId>"
814809
]
815810
}
@@ -1076,7 +1071,7 @@ param maintenanceConfigurations = [
10761071
}
10771072
]
10781073
param managedIdentities = {
1079-
userAssignedResourcesIds: [
1074+
userAssignedResourceIds: [
10801075
'<managedIdentityResourceId>'
10811076
]
10821077
}
@@ -1143,7 +1138,6 @@ module managedCluster 'br/public:avm/res/container-service/managed-cluster:<vers
11431138
aadProfileEnableAzureRBAC: true
11441139
aadProfileManaged: true
11451140
}
1146-
location: '<location>'
11471141
managedIdentities: {
11481142
systemAssigned: true
11491143
}
@@ -1184,9 +1178,6 @@ module managedCluster 'br/public:avm/res/container-service/managed-cluster:<vers
11841178
"aadProfileManaged": true
11851179
}
11861180
},
1187-
"location": {
1188-
"value": "<location>"
1189-
},
11901181
"managedIdentities": {
11911182
"value": {
11921183
"systemAssigned": true
@@ -1221,7 +1212,6 @@ param aadProfile = {
12211212
aadProfileEnableAzureRBAC: true
12221213
aadProfileManaged: true
12231214
}
1224-
param location = '<location>'
12251215
param managedIdentities = {
12261216
systemAssigned: true
12271217
}
@@ -1476,9 +1466,8 @@ module managedCluster 'br/public:avm/res/container-service/managed-cluster:<vers
14761466
workspaceResourceId: '<workspaceResourceId>'
14771467
}
14781468
]
1479-
location: '<location>'
14801469
managedIdentities: {
1481-
userAssignedResourcesIds: [
1470+
userAssignedResourceIds: [
14821471
'<managedIdentityResourceId>'
14831472
]
14841473
}
@@ -1597,12 +1586,9 @@ module managedCluster 'br/public:avm/res/container-service/managed-cluster:<vers
15971586
}
15981587
]
15991588
},
1600-
"location": {
1601-
"value": "<location>"
1602-
},
16031589
"managedIdentities": {
16041590
"value": {
1605-
"userAssignedResourcesIds": [
1591+
"userAssignedResourceIds": [
16061592
"<managedIdentityResourceId>"
16071593
]
16081594
}
@@ -1716,9 +1702,8 @@ param diagnosticSettings = [
17161702
workspaceResourceId: '<workspaceResourceId>'
17171703
}
17181704
]
1719-
param location = '<location>'
17201705
param managedIdentities = {
1721-
userAssignedResourcesIds: [
1706+
userAssignedResourceIds: [
17221707
'<managedIdentityResourceId>'
17231708
]
17241709
}
@@ -1778,7 +1763,6 @@ module managedCluster 'br/public:avm/res/container-service/managed-cluster:<vers
17781763
// Non-required parameters
17791764
aadProfile: '<aadProfile>'
17801765
disableLocalAccounts: false
1781-
location: '<location>'
17821766
managedIdentities: {
17831767
systemAssigned: true
17841768
}
@@ -1819,9 +1803,6 @@ module managedCluster 'br/public:avm/res/container-service/managed-cluster:<vers
18191803
"disableLocalAccounts": {
18201804
"value": false
18211805
},
1822-
"location": {
1823-
"value": "<location>"
1824-
},
18251806
"managedIdentities": {
18261807
"value": {
18271808
"systemAssigned": true
@@ -1854,7 +1835,6 @@ param primaryAgentPoolProfiles = [
18541835
// Non-required parameters
18551836
param aadProfile = '<aadProfile>'
18561837
param disableLocalAccounts = false
1857-
param location = '<location>'
18581838
param managedIdentities = {
18591839
systemAssigned: true
18601840
}
@@ -1930,9 +1910,8 @@ module managedCluster 'br/public:avm/res/container-service/managed-cluster:<vers
19301910
]
19311911
dnsServiceIP: '10.10.200.10'
19321912
enablePrivateCluster: true
1933-
location: '<location>'
19341913
managedIdentities: {
1935-
userAssignedResourcesIds: [
1914+
userAssignedResourceIds: [
19361915
'<managedIdentityResourceId>'
19371916
]
19381917
}
@@ -2022,12 +2001,9 @@ module managedCluster 'br/public:avm/res/container-service/managed-cluster:<vers
20222001
"enablePrivateCluster": {
20232002
"value": true
20242003
},
2025-
"location": {
2026-
"value": "<location>"
2027-
},
20282004
"managedIdentities": {
20292005
"value": {
2030-
"userAssignedResourcesIds": [
2006+
"userAssignedResourceIds": [
20312007
"<managedIdentityResourceId>"
20322008
]
20332009
}
@@ -2112,9 +2088,8 @@ param agentPools = [
21122088
]
21132089
param dnsServiceIP = '10.10.200.10'
21142090
param enablePrivateCluster = true
2115-
param location = '<location>'
21162091
param managedIdentities = {
2117-
userAssignedResourcesIds: [
2092+
userAssignedResourceIds: [
21182093
'<managedIdentityResourceId>'
21192094
]
21202095
}
@@ -2248,7 +2223,6 @@ module managedCluster 'br/public:avm/res/container-service/managed-cluster:<vers
22482223
dnsServiceIP: '10.10.200.10'
22492224
enableAzureDefender: true
22502225
enablePrivateCluster: true
2251-
location: '<location>'
22522226
maintenanceConfigurations: [
22532227
{
22542228
maintenanceWindow: {
@@ -2282,7 +2256,7 @@ module managedCluster 'br/public:avm/res/container-service/managed-cluster:<vers
22822256
}
22832257
]
22842258
managedIdentities: {
2285-
userAssignedResourcesIds: [
2259+
userAssignedResourceIds: [
22862260
'<managedIdentityResourceId>'
22872261
]
22882262
}
@@ -2444,9 +2418,6 @@ module managedCluster 'br/public:avm/res/container-service/managed-cluster:<vers
24442418
"enablePrivateCluster": {
24452419
"value": true
24462420
},
2447-
"location": {
2448-
"value": "<location>"
2449-
},
24502421
"maintenanceConfigurations": {
24512422
"value": [
24522423
{
@@ -2483,7 +2454,7 @@ module managedCluster 'br/public:avm/res/container-service/managed-cluster:<vers
24832454
},
24842455
"managedIdentities": {
24852456
"value": {
2486-
"userAssignedResourcesIds": [
2457+
"userAssignedResourceIds": [
24872458
"<managedIdentityResourceId>"
24882459
]
24892460
}
@@ -2638,7 +2609,6 @@ param disableLocalAccounts = true
26382609
param dnsServiceIP = '10.10.200.10'
26392610
param enableAzureDefender = true
26402611
param enablePrivateCluster = true
2641-
param location = '<location>'
26422612
param maintenanceConfigurations = [
26432613
{
26442614
maintenanceWindow: {
@@ -2672,7 +2642,7 @@ param maintenanceConfigurations = [
26722642
}
26732643
]
26742644
param managedIdentities = {
2675-
userAssignedResourcesIds: [
2645+
userAssignedResourceIds: [
26762646
'<managedIdentityResourceId>'
26772647
]
26782648
}
@@ -3904,7 +3874,7 @@ The diagnostic settings of the service.
39043874
| [`logCategoriesAndGroups`](#parameter-diagnosticsettingslogcategoriesandgroups) | array | The name of logs that will be streamed. "allLogs" includes all possible logs for the resource. Set to `[]` to disable log collection. |
39053875
| [`marketplacePartnerResourceId`](#parameter-diagnosticsettingsmarketplacepartnerresourceid) | string | The full ARM resource ID of the Marketplace resource to which you would like to send Diagnostic Logs. |
39063876
| [`metricCategories`](#parameter-diagnosticsettingsmetriccategories) | array | The name of metrics that will be streamed. "allMetrics" includes all possible metrics for the resource. Set to `[]` to disable metric collection. |
3907-
| [`name`](#parameter-diagnosticsettingsname) | string | The name of diagnostic setting. |
3877+
| [`name`](#parameter-diagnosticsettingsname) | string | The name of the diagnostic setting. |
39083878
| [`storageAccountResourceId`](#parameter-diagnosticsettingsstorageaccountresourceid) | string | Resource ID of the diagnostic storage account. For security reasons, it is recommended to set diagnostic settings to send data to either storage account, log analytics workspace or event hub. |
39093879
| [`workspaceResourceId`](#parameter-diagnosticsettingsworkspaceresourceid) | string | Resource ID of the diagnostic log analytics workspace. For security reasons, it is recommended to set diagnostic settings to send data to either storage account, log analytics workspace or event hub. |
39103880

@@ -4014,7 +3984,7 @@ Enable or disable the category explicitly. Default is `true`.
40143984

40153985
### Parameter: `diagnosticSettings.name`
40163986

4017-
The name of diagnostic setting.
3987+
The name of the diagnostic setting.
40183988

40193989
- Required: No
40203990
- Type: string
@@ -4269,14 +4239,14 @@ The configuration protected settings of the extension.
42694239

42704240
| Parameter | Type | Description |
42714241
| :-- | :-- | :-- |
4272-
| [`sshPrivateKey`](#parameter-fluxextensionconfigurationprotectedsettingssshprivatekey) | string | The SSH private key to use for Git authentication. |
4242+
| [`sshPrivateKey`](#parameter-fluxextensionconfigurationprotectedsettingssshprivatekey) | securestring | The SSH private key to use for Git authentication. |
42734243

42744244
### Parameter: `fluxExtension.configurationProtectedSettings.sshPrivateKey`
42754245

42764246
The SSH private key to use for Git authentication.
42774247

42784248
- Required: No
4279-
- Type: string
4249+
- Type: securestring
42804250

42814251
### Parameter: `fluxExtension.configurations`
42824252

@@ -4601,7 +4571,7 @@ The managed identity definition for this resource. Only one type of identity is
46014571
| Parameter | Type | Description |
46024572
| :-- | :-- | :-- |
46034573
| [`systemAssigned`](#parameter-managedidentitiessystemassigned) | bool | Enables system assigned managed identity on the resource. |
4604-
| [`userAssignedResourcesIds`](#parameter-managedidentitiesuserassignedresourcesids) | array | The resource ID(s) to assign to the resource. |
4574+
| [`userAssignedResourceIds`](#parameter-managedidentitiesuserassignedresourceids) | array | The resource ID(s) to assign to the resource. Required if a user assigned identity is used for encryption. |
46054575

46064576
### Parameter: `managedIdentities.systemAssigned`
46074577

@@ -4611,9 +4581,9 @@ Enables system assigned managed identity on the resource.
46114581
- Type: bool
46124582
- MinValue: 24
46134583

4614-
### Parameter: `managedIdentities.userAssignedResourcesIds`
4584+
### Parameter: `managedIdentities.userAssignedResourceIds`
46154585

4616-
The resource ID(s) to assign to the resource.
4586+
The resource ID(s) to assign to the resource. Required if a user assigned identity is used for encryption.
46174587

46184588
- Required: No
46194589
- Type: array
@@ -5103,6 +5073,7 @@ This section gives you an overview of all local-referenced module files (i.e., o
51035073
| Reference | Type |
51045074
| :-- | :-- |
51055075
| `br/public:avm/res/kubernetes-configuration/extension:0.2.0` | Remote reference |
5076+
| `br/public:avm/utl/types/avm-common-types:0.4.1` | Remote reference |
51065077

51075078
## Data Collection
51085079

0 commit comments

Comments
 (0)