- 
                Notifications
    You must be signed in to change notification settings 
- Fork 2
use: cross variable validation #636
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 | 
| @Aayush-Abhyarthi, is this covering all the scenarios like this one here- terraform-ibm-modules/terraform-ibm-icd-redis#563 (comment)? | 
| 
 @Ak-sky Yes Akash. | 
| /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.
Validation missing in root module
| var.use_same_kms_key_for_backups | ||
| ) | ||
| error_message = "When 'use_same_kms_key_for_backups' is set to false, a value needs to be passed for 'backup_encryption_key_crn'." | ||
| } | 
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.
validation missing for validate_pitr_vars
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.
good catch... I added a tested commit for this.
I opted for more specific (more verbose) validation. This keeps the validation conditional logic simpler and more readable. Feel free to change it if you want.
| /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.
LGTM
| /run pipeline | 
| /run pipeline | 
| 🎉 This PR is included in version 3.22.19 🎉 The release is available on: 
 Your semantic-release bot 📦🚀 | 
Description
https://github.ibm.com/GoldenEye/issues/issues/12402
Release required?
x.x.X)x.X.x)X.x.x)Release notes content
Upgrade to terraform 1.9.0.
Update to used cross object referencing.
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