Microsoft.Resources/resourceGroups@2024-07-01 not available
Bicep version Bicep CLI version 0.30.3 (2f0e78dcae)
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.
This has been fixed, but we are waiting for it to roll out.
@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.
Awaiting rollout of ARM w42 release.
Having the same problem.
I have the same issue with resources of tpye Microsoft.APIManagement/* Azure/bicep-types-az#2330
The fix is rolled out to all regions.