-
Notifications
You must be signed in to change notification settings - Fork 8
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
refactor: the vsi-map key to use the subnet-name #610
Conversation
The reason for using the subnet name instead of the subnet-id as a key for the vsi-map is because the subnet-id is only known after the apply operation. Therefore, it cannot be used as a key in the vsi-map. |
/run pipeline |
/run pipeline |
/run pipeline |
/run pipeline |
@Aashiq-J I see you skipped the upgrade test already. Did you run it though? Can we see the result of it? |
@Aashiq-J Can you also add this to the deep dive next week so we can discuss how to handle the breaking change |
@ocofaigh , This is the test in which upgrade test failed. |
/run pipeline |
/run pipeline |
NOTE: I have created a pre-release from this branch at the current commit level so it can be shared with some teams for feedback -> https://github.com/terraform-ibm-modules/terraform-ibm-landing-zone-vsi/releases/tag/v4.0.0-rc1 |
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.
See latest comment. Also I think when passing multiple VPCs the value can’t have spaces between VPC IDs?
When I tried -v "r006-6a834173-7ae1-4c1a-8caf-e2c79c5e1d0f, r006-869a47d2-3ca3-4f05-850e-c6c3ced89c13"
it failed with:
Failed to get vpc.
Error code: not_found
Error message: VPC not found
Error target name: id, type: parameter
Error target value: r006-869a47d2-3ca3-4f05-850e-c6c3ced89c13
More information: id is not valid
Trace ID: be308ed5-c28d-495d-af9e-90ef2c0e7b65
But it worked with "r006-6a834173-7ae1-4c1a-8caf-e2c79c5e1d0f,r006-869a47d2-3ca3-4f05-850e-c6c3ced89c13"
I think it should not be too hard to support the space scenario? Or if not, we should at least fail hard if it has a space saying its wrong format used.
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.
see comments for schematics docs
I am happy with the testing to approve the PR from technical stance. Have added @SirSpidey to review the docs |
* Edits to new instructions * Update afer review * Update version numbers Use major version indicator only
/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.
one small change to comments in the script. Otherwise good to go.
Co-authored-by: Allen Dean <allen.dean@us.ibm.com>
/run pipeline |
/run pipeline |
/run pipeline |
Allens changes are merged into this PR
🎉 This PR is included in version 4.0.0 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
Description
Issue: https://github.ibm.com/GoldenEye/issues/issues/7108
Release required?
x.x.X
)x.X.x
)X.x.x
)Release notes content
This is a breaking change, vsis and volumes will get recreated. To prevent recreation use the script in the update folder to update the state file to the new map structure.
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