-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
Container Registry API update: 2021-08-01-preview to 2023-06-01-preview #23393
Container Registry API update: 2021-08-01-preview to 2023-06-01-preview #23393
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@magodo We can't just remove the virtual_network
block as this is a breaking change. This will unfortunately have to wait until 4.0 - in the meantime we can deprecate the block in preparation.
@magodo any updates here? |
@stephybun I thought this PR is on hold until 4.0 release, as it contains breaking changes. I've merged against the main branch to resolve the conflicts. Please let me know if anything I've missed. |
@manicminer is suggesting to deprecate the block in preparation |
@stephybun I've created another PR for the deprecation: #24140 |
hey @magodo Since the dependent PR to deprecate this block has been merged and this one's waiting for 4.0 to remove this one - I'm going to close this PR for the moment but we can take a look at this one closer to 4.0. Thanks! |
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. |
a361528
to
48768c6
Compare
@stephybun I've updated this PR, please take another look! Testterraform-provider-azurerm on  acr_sdk_update_to_2023_06_01_preview via 🐹 v1.22.1 took 6m23s 💤 TF_ACC=1 go test -v -timeout=20h ./internal/services/containers -run='TestAccContainerRegistry_' === RUN TestAccContainerRegistry_basic === PAUSE TestAccContainerRegistry_basic === RUN TestAccContainerRegistry_requiresImport === PAUSE TestAccContainerRegistry_requiresImport === RUN TestAccContainerRegistry_basicManagedStandard === PAUSE TestAccContainerRegistry_basicManagedStandard === RUN TestAccContainerRegistry_basicManagedPremium === PAUSE TestAccContainerRegistry_basicManagedPremium === RUN TestAccContainerRegistry_basic2Premium2basic === PAUSE TestAccContainerRegistry_basic2Premium2basic === RUN TestAccContainerRegistry_complete === PAUSE TestAccContainerRegistry_complete === RUN TestAccContainerRegistry_update === PAUSE TestAccContainerRegistry_update === RUN TestAccContainerRegistry_geoReplicationLocation === PAUSE TestAccContainerRegistry_geoReplicationLocation === RUN TestAccContainerRegistry_networkAccessProfileIp === PAUSE TestAccContainerRegistry_networkAccessProfileIp === RUN TestAccContainerRegistry_networkAccessProfileUpdate === PAUSE TestAccContainerRegistry_networkAccessProfileUpdate === RUN TestAccContainerRegistry_policies === PAUSE TestAccContainerRegistry_policies === RUN TestAccContainerRegistry_zoneRedundancy === PAUSE TestAccContainerRegistry_zoneRedundancy === RUN TestAccContainerRegistry_geoReplicationZoneRedundancy === PAUSE TestAccContainerRegistry_geoReplicationZoneRedundancy === RUN TestAccContainerRegistry_geoReplicationRegionEndpoint === PAUSE TestAccContainerRegistry_geoReplicationRegionEndpoint === RUN TestAccContainerRegistry_anonymousPull === PAUSE TestAccContainerRegistry_anonymousPull === RUN TestAccContainerRegistry_dataEndpoint === PAUSE TestAccContainerRegistry_dataEndpoint === RUN TestAccContainerRegistry_networkRuleBypassOption === PAUSE TestAccContainerRegistry_networkRuleBypassOption === RUN TestAccContainerRegistry_encryption === PAUSE TestAccContainerRegistry_encryption === CONT TestAccContainerRegistry_basic === CONT TestAccContainerRegistry_networkAccessProfileUpdate === CONT TestAccContainerRegistry_anonymousPull === CONT TestAccContainerRegistry_complete === CONT TestAccContainerRegistry_geoReplicationRegionEndpoint === CONT TestAccContainerRegistry_zoneRedundancy === CONT TestAccContainerRegistry_policies === CONT TestAccContainerRegistry_geoReplicationLocation === CONT TestAccContainerRegistry_networkAccessProfileIp === CONT TestAccContainerRegistry_basicManagedPremium === CONT TestAccContainerRegistry_basic2Premium2basic === CONT TestAccContainerRegistry_basicManagedStandard === CONT TestAccContainerRegistry_networkRuleBypassOption === CONT TestAccContainerRegistry_encryption === CONT TestAccContainerRegistry_requiresImport === CONT TestAccContainerRegistry_dataEndpoint === CONT TestAccContainerRegistry_update === CONT TestAccContainerRegistry_geoReplicationZoneRedundancy --- PASS: TestAccContainerRegistry_requiresImport (163.02s) --- PASS: TestAccContainerRegistry_basicManagedPremium (201.13s) --- PASS: TestAccContainerRegistry_basic (201.68s) --- PASS: TestAccContainerRegistry_basicManagedStandard (202.25s) --- PASS: TestAccContainerRegistry_networkRuleBypassOption (224.62s) --- PASS: TestAccContainerRegistry_zoneRedundancy (230.84s) --- PASS: TestAccContainerRegistry_complete (233.59s) --- PASS: TestAccContainerRegistry_geoReplicationRegionEndpoint (238.57s) --- PASS: TestAccContainerRegistry_geoReplicationZoneRedundancy (242.86s) --- PASS: TestAccContainerRegistry_basic2Premium2basic (260.78s) --- PASS: TestAccContainerRegistry_anonymousPull (286.65s) --- PASS: TestAccContainerRegistry_dataEndpoint (288.89s) --- PASS: TestAccContainerRegistry_networkAccessProfileIp (300.72s) --- PASS: TestAccContainerRegistry_policies (333.30s) --- PASS: TestAccContainerRegistry_update (366.42s) --- PASS: TestAccContainerRegistry_networkAccessProfileUpdate (371.22s) --- PASS: TestAccContainerRegistry_encryption (402.55s) --- PASS: TestAccContainerRegistry_geoReplicationLocation (570.29s) PASS ok github.com/hashicorp/terraform-provider-azurerm/internal/services/containers 570.325s |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @magodo! Tests look good, we'll merge this just before 4.0 goes out 👍
This PR updates API version for ACR from 2021-08-01-preview to 2023-06-01-preview. Apart from the regular API update, it involves a breaking change (due to API change) that the
network_rule_set.virtual_network
is removed fromazurerm_container_registry
. We've got clarification from the service team that: