storagecache: upgrade API version to 2024-07-01#29433
storagecache: upgrade API version to 2024-07-01#29433sreallymatt merged 4 commits intohashicorp:mainfrom
storagecache: upgrade API version to 2024-07-01#29433Conversation
sreallymatt
left a comment
There was a problem hiding this comment.
Hi @jiaweitao001, I've left 2 minor comments inline
internal/clients/client.go
Outdated
| nginx_2024_11_01_preview "github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2024-11-01-preview" | ||
| servicenetworking_2023_11_01 "github.com/hashicorp/go-azure-sdk/resource-manager/servicenetworking/2023-11-01" | ||
| storagecache_2023_05_01 "github.com/hashicorp/go-azure-sdk/resource-manager/storagecache/2023-05-01" | ||
| storagecache_2023_05_01 "github.com/hashicorp/go-azure-sdk/resource-manager/storagecache/2024-07-01" |
There was a problem hiding this comment.
can we update this alias to be consistent with the version used?
| storagecache_2023_05_01 "github.com/hashicorp/go-azure-sdk/resource-manager/storagecache/2024-07-01" | |
| storagecache_2024_07_01 "github.com/hashicorp/go-azure-sdk/resource-manager/storagecache/2024-07-01" |
There was a problem hiding this comment.
Sure, will fix.
| "fmt" | ||
|
|
||
| storagecache_2023_05_01 "github.com/hashicorp/go-azure-sdk/resource-manager/storagecache/2023-05-01" | ||
| storagecache_2023_05_01 "github.com/hashicorp/go-azure-sdk/resource-manager/storagecache/2024-07-01" |
There was a problem hiding this comment.
| storagecache_2023_05_01 "github.com/hashicorp/go-azure-sdk/resource-manager/storagecache/2024-07-01" | |
| storagecache_2024_07_01 "github.com/hashicorp/go-azure-sdk/resource-manager/storagecache/2024-07-01" |
|
Hi @jiaweitao001, I ran the tests for this, and it looks like we can no longer create any new HPC Cache resources. Error message: Since we can't test that the HPC Cache resources still function as expected with this upgrade, would it be possible to only update |
Hi @sreallymatt , the failing tests are irrelevant to the API version, they are failing of the same reason no matter the version is 2024-07-01 or 2023-05-01. If we want to keep both the old version and the new, we will need old version client and new version one exist at the same time and both of them will fail the tests. I'm not sure if it's the right approach. WDYT? |
|
@jiaweitao001 agreed that the tests will fail regardless of the version, but since we can't test updating existing HPC cache resources, I think having 2 clients might be the safer option to ensure we're not breaking anything. (e.g. if a user already has HPC cache resources deployed, and they want to make an update, which based on the retirement notice should still be supported) |
sreallymatt
left a comment
There was a problem hiding this comment.
Thanks for making those changes @jiaweitao001, LGTM!
[ENHANCEMENT] * dependencies: `azurerm_managed_lustre_file_system` - update to API version `2024-07-01` * storagecache: upgrade API version to 2024-07-01 * address comments * hpc still use 2023-05-01 * sort imports of client
* Update CHANGELOG.md for #29433 * Update CHANGELOG.md for #29319 * Update CHANGELOG.md for #29373 * Update CHANGELOG.md #29024 * Update CHANGELOG.md #29666 * Update CHANGELOG.md #29649 * Update CHANGELOG.md #29715 * Update CHANGELOG.md #29273 * Update CHANGELOG.md #29709 * Update CHANGELOG.md #29624 * Update CHANGELOG.md #29710 * Update CHANGELOG.md * Update CHANGELOG.md #28262 * Update CHANGELOG.md #29499 * Update CHANGELOG.md #29377 * Update CHANGELOG.md #29337 * Update CHANGELOG.md #29246 * Update CHANGELOG.md #29221 * Update CHANGELOG.md #29216 * Update CHANGELOG.md #28133 * Update CHANGELOG.md #29669 * Update CHANGELOG.md for #29717 * Update CHANGELOG.md #29310 * Update CHANGELOG.md #29466 * Update CHANGELOG.md #29723 * Update CHANGELOG.md #29716 * Update CHANGELOG.md * Update CHANGELOG.md #29406 * correct resource name * Update CHANGELOG.md #29482 * prep for release --------- Co-authored-by: Matthew Frahry <mbfrahry@gmail.com> Co-authored-by: Wodans Son <20408400+WodansSon@users.noreply.github.com> Co-authored-by: catriona-m <86247157+catriona-m@users.noreply.github.com> Co-authored-by: kt <kt@katbyte.me> Co-authored-by: jackofallops <11830746+jackofallops@users.noreply.github.com> Co-authored-by: Wyatt Fry <wyattfry@gmail.com>
|
I'm going to lock this pull request because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active contributions. |
Community Note
Description
PR Checklist
For example: “
resource_name_here- description of change e.g. adding propertynew_property_name_here”Changes to existing Resource / Data Source
Testing
Change Log
Below please provide what should go into the changelog (if anything) conforming to the Changelog Format documented here.
azurerm_resource- support for thething1property [GH-00000]This is a (please select all that apply):
Related Issue(s)
Fixes #0000
Note
If this PR changes meaningfully during the course of review please update the title and description as required.