-
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
azurerm_nginx_deployment - allow in-place SKU change #27604
Conversation
c211e1f
to
f265f86
Compare
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 for this PR @arpith-f5. Is it possible to modify the existing update
test so that we can validate and track that this remains updateable?
This property in the docs will also need updating.
I don't think we should add an acceptance test for this. The only SKU migration we are supporting is from standard to standardv2. The standard plan is scheduled for retirement in the coming months so if I add a test that creates a deployment with standard plan(to update to StandardV2) then the test will start failing as you won't be able to create new deployments on the standard plan. This functionality is mainly for existing NGINXaaS deployments. Updated the docs. Thanks! |
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 @arpith-f5, based on your explanation it makes sense to not add this to our tests. LGTM 👍
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
NGINXaaS now supports in-place migration of SKU. The SKU change is only supported from standard_Monthly to standardv2_Monthly. Any other change in SKU will be rejected by the resource provider.
PR Checklist
For example: “
resource_name_here
- description of change e.g. adding propertynew_property_name_here
”Changes to existing Resource / Data Source
Testing
Manually tested migrating SKU from standard_Monthly to standardv2_Monthly
Change Log
Below please provide what should go into the changelog (if anything) conforming to the Changelog Format documented here.
azurerm_nginx_deployment
- support SKU changeThis 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.