Azure / Azure/bicep-types-az

[Microsoft.AAD/domainServices]: additional replicaSets are not applied

Open
#2,201 0 comments 0 reactions 0 assignees View on GitHub
inaccuracy
Dominant language
TypeScript
Stars
108
Forks
44
Avg merge
18h 53m
Merged PRs (30d)
29

Description

### Resource Type

Microsoft.AAD/domainServices

### Api Version

2022-12-01

### Issue Type

Resource fails to deploy

### Other Notes

If more than one replicaSet is specified, it is not applied. Only the first replicaSet is provisioned.

```bicep
resource domainservice 'Microsoft.AAD/domainServices@2022-12-01' = {
...
properties: {
replicaSets: [
{
location: 'NorthEurope'
subnetId: nestedDependencies.outputs.subnetResourceId
}
{
location: 'WestEurope'
subnetId: nestedDependencies.outputs.subnetResourceId
}
}
...
}
```

### Bicep Repro

```bicep
resource domainservice 'Microsoft.AAD/domainServices@2022-12-01' = {
...
properties: {
...
replicaSets: [
{
location: 'NorthEurope'
subnetId:
}
{
location: 'WestEurope'
subnetId:
}
}
...
}
```

### Confirm

- [X] I have read the troubleshooting guide and looked for duplicates.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the Microsoft.AAD/domainServices@2022-12-01 resource and reproduce the deployment using the two replicaSets in the issue's Bicep example. Then trace how this resource and API version are represented in bicep-types-az; done means the behavior of multiple replicaSets is understood and the issue's deployment outcome is addressed.

Written by the indexing model from the issue text.

Assessment

Tech stack
azure, typescript
Domain
cloud
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.