-
Notifications
You must be signed in to change notification settings - Fork 15
feat: run confirm_lb_active only when there is change in lb id
#652
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
Conversation
|
/run pipeline |
|
/run pipeline |
confirm_lb_active only when there is change in ld idconfirm_lb_active only when there is change in lb id
|
/run pipeline |
|
There is a similar issue on the destroy path - eg: the action of unattaching may fail if the lb is not ready. We could workaround this by running the script on destroy only in another resource. That said, I'm starting to think that the provider should actually handle properly this scenario and allow to wait for the lb to be read (up to a specific timeout). |
|
Provider issue: IBM-Cloud/terraform-provider-ibm#6150 |
|
@vburckhardt , |
|
/run pipeline |
|
/run pipeline |
|
🎉 This PR is included in version 3.46.2 🎉 The release is available on:
Your semantic-release bot 📦🚀 |
|
@Aashiq-J - we should incorporate IBM-Cloud/terraform-provider-ibm#6150 as the fix for customer to solve all issues, including on destroy. there is a workaround on destroy for computed value, using the shell provider instead of null resource block, but this is rather hack-ish so going through the proper fix in provider should work. |

Description
A user reported that when they modified the code to run everytime using timestamp. It used to fail randomly, even though the error was due to an intermittent issue in the iaas api response. We modified the code to run the confirm_lb_active script only when there is a change to the additional security group which needs to be attached to the LB.
Release required?
x.x.X)x.X.x)X.x.x)Release notes content
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