-
Couldn't load subscription status.
- Fork 2
feat: support for restapi major bump to 2.0 #312
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
base: main
Are you sure you want to change the base?
Conversation
|
/run pipeline |
|
/run pipeline |
|
The following changes MAY be reported by the module or the DA. This changes MAY be shown when upgrading terraform-ibm-container-registry, or MAY be shown in later apply where the consumer changes version of the restapi provider. The data block in restapi v2.0.1 contains the input (as well as the outputs). No changes, just a refresh of the state file to include the input. |
|
/run pipeline |
|
@ocofaigh I guess its fine if the above happens in a fix release? |
|
It looks like there are some update in place warnings from the existing resources test as well. I will complete additional diagnostics next week. |
|
The upgrade test still produces |
|
/run pipeline |
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.
I would update the constraints to only support v2.x of the restapi provider, not v1 and v2, as they require different syntax to consume
|
Supporting 1.20 and 2.0 may not be an issue, it is not so much a case of different formats, as 2.0.1 requiring a previously optional field to avoid showing changes. If it seems advantageous for any reason to move to only version 2.0, then 1.x can be dropped. |
|
/run pipeline |
|
In order to avoid idempotency issues, it is going to be necessary to use the Thus support for 1.x will be dropped and only >= 2.0.1 provider will be supported. The upgrade tests have been re-run In which it is noted that this is update in place and the two knew attributes are added to each request. |
|
/run pipeline |
Description
Support for restapi version 2.0.0 and greater. Retain support for version 1.20.0+.
Notes:
Considerations:
Release required?
x.x.X)x.X.x)X.x.x)Release notes content
Upgrading to this release, or upgrading the restapi provider with this release or later may result in an update in place showing changes to the restapi
dataand/orid_attributeand/orignore_all_server_changesproperties when using the storage or traffic quota sub module.Run the pipeline
If the CI pipeline doesn't run when you create the PR, the PR requires a user with GitHub collaborators access to run the pipeline.
Run the CI pipeline when the PR is ready for review and you expect tests to pass. Add a comment to the PR with the following text:
Checklist for reviewers
For mergers