-
Notifications
You must be signed in to change notification settings - Fork 5
fix: topic config should be a map #343
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
Additional notes:
|
This worked as expected. I used the main module with tfvars
Then using the ibmcloud CLI:
The topics exist and the partitions and config parameters match those provided, or are defaults for parameters not in the config. |
/run pipeline |
It would seem that by converting from |
Yes, I think it's safe to skip the upgrade test. What appears to be happening is: PREVIOUS:
WITH FIX:
|
/run pipeline |
🎉 This PR is included in version 2.10.1 🎉 The release is available on:
Your semantic-release bot 📦🚀 |
Description
Change the
config
property of topics fromobject({})
tomap(string)
. This is needed to correctly copy the config properties into the topic declaration.Release required?
x.x.X
)x.X.x
)X.x.x
)Release notes content
The
config
property for a topic is a set of key-value pairs. Keys and values are both strings. The keys are not legal terraform attributes, e.g.cleanup.policy
andretention.bytes
(the keys are defined by Kafka and we can't change them). This means the config should be declared as amap(string)
so the values are passed to theibm_event_streams_topic
resource.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