Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Microsoft.Resources/resourceGroups@2024-07-01 not available #15152

Closed
slavizh opened this issue Sep 26, 2024 · 6 comments
Closed

Microsoft.Resources/resourceGroups@2024-07-01 not available #15152

slavizh opened this issue Sep 26, 2024 · 6 comments
Assignees
Labels
intermediate language Related to the intermediate language

Comments

@slavizh
Copy link
Contributor

slavizh commented Sep 26, 2024

Bicep version
Bicep CLI version 0.30.3 (2f0e78d)

Describe the bug
This becomes a trend APIs to be published without actually deployed.
Message: The api-version '2024-07-01' is invalid. The supported versions are '2024-06-01-preview,2024-03-01,2023-07-01,2023-07-01-preview,2023-03-01-preview,2022-12-01,2022-11-01-preview,2022-09-01,2022-06-01,2022-05-01,2022-03-01-preview,2022-01-01,2021-04-01,2021-01-01,2020-10-01,2020-09-01,2020-08-01,2020-07-01,2020-06-01,2020-05-01,2020-01-01,2019-11-01,2019-10-01,2019-09-01,2019-08-01,2019-07-01,2019-06-01,2019-05-10,2019-05-01,2019-03-01,2018-11-01,2018-09-01,2018-08-01,2018-07-01,2018-06-01,2018-05-01,2018-02-01,2018-01-01,2017-12-01,2017-08-01,2017-06-01,2017-05-10,2017-05-01,2017-03-01,2016-09-01,2016-07-01,2016-06-01,2016-02-01,2015-11-01,2015-01-01,2014-04-01-preview,2014-04-01,2014-01-01,2013-03-01,2014-02-26,2014-04'. (Code:InvalidApiVersionParameter)

To Reproduce
Steps to reproduce the behavior:

Additional context
Add any other context about the problem here.

@stephaniezyen
Copy link
Contributor

This has been fixed, but we are waiting for it to roll out.

@dozer75
Copy link

dozer75 commented Oct 15, 2024

@stephaniezyen

It seems that the supported versions has changed from the original issue, but to this array instead:

2024-08-01,2024-06-01-preview,2024-03-01,2023-07-01,2023-07-01-preview,2023-03-01-preview,2022-12-01,2022-11-01-preview,2022-09-01,2022-06-01,2022-05-01,2022-03-01-preview,2022-01-01,2021-04-01,2021-01-01,2020-10-01,2020-09-01,2020-08-01,2020-07-01,2020-06-01,2020-05-01,2020-01-01,2019-11-01,2019-10-01,2019-09-01,2019-08-01,2019-07-01,2019-06-01,2019-05-10,2019-05-01,2019-03-01,2018-11-01,2018-09-01,2018-08-01,2018-07-01,2018-06-01,2018-05-01,2018-02-01,2018-01-01,2017-12-01,2017-08-01,2017-06-01,2017-05-10,2017-05-01,2017-03-01,2016-09-01,2016-07-01,2016-06-01,2016-02-01,2015-11-01,2015-01-01,2014-04-01-preview,2014-04-01,2014-01-01,2013-03-01,2014-02-26,2014-04.

For some reason has 2024-07-01 (which should be a valid version see below) not been added, but 2024-08-01 which isn't a valid version? 🤔

Refer to https://raw.githubusercontent.com/Azure/bicep-types-az/main/generated/index.json which shows that only 2024-07-01 is a valid version.

Since these differs, either the validation routines fails for 2024-08-01 or deployment fails for 2024-07-01. Currently, I have reverted to the latest valid that exists in both lists (2024-03-01), but this should be fixed.

@jeskew
Copy link
Contributor

jeskew commented Oct 16, 2024

Awaiting rollout of ARM w42 release.

@jeskew jeskew self-assigned this Oct 16, 2024
@aavdberg
Copy link

Having the same problem.

@mgrosperrin
Copy link

I have the same issue with resources of tpye Microsoft.APIManagement/* Azure/bicep-types-az#2330

@jeskew
Copy link
Contributor

jeskew commented Nov 26, 2024

The fix is rolled out to all regions.

@jeskew jeskew closed this as completed Nov 26, 2024
@github-project-automation github-project-automation bot moved this from Todo to Done in Bicep Nov 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
intermediate language Related to the intermediate language
Projects
Status: Done
Development

No branches or pull requests

6 participants