-
Notifications
You must be signed in to change notification settings - Fork 1
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
feat: add workaround for groups #464
Conversation
/run pipeline |
main.tf
Outdated
@@ -132,7 +132,7 @@ resource "ibm_database" "redis_database" { | |||
|
|||
## This block is for if host_flavor IS NOT set | |||
dynamic "group" { | |||
for_each = local.host_flavor_set ? [] : [1] | |||
for_each = local.host_flavor_set && var.backup_crn == null ? [] : [1] |
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.
That logic was wrong and later improved in postgresql to:
for_each = local.host_flavor_set == false && !local.recovery_mode ? [1] : []
Without pitr I think it needs to be
for_each = local.host_flavor_set == false && !var.backup_crn ? [1] : []
/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 |
🎉 This PR is included in version 1.13.1 🎉 The release is available on:
Your semantic-release bot 📦🚀 |
Description
#452
Release required?
x.x.X
)x.X.x
)X.x.x
)Release notes content
Add workaround to ignore groups config when provisioning instance using backup CRN
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