Using dynamic blocks within kafka_acl #405
RichCranney
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I've recently started using the mongey/kafka provider to automate my Amazon MSK topic creation and I'm looking to streamline access control by use of a module.
In the module it will loop through a number of users, that are passed in JSON format and apply either READ or WRITE permissions to the list of users. From the error message I'm getting, it looks like the
dynamic
block is not supported, is there any way to have this support in upcoming versions?My code is as follows:
And user access is passed to the permissions variable in the following format:
The error I get in terraform is as follows:
Blocks of type "principal" are not expected here.
Beta Was this translation helpful? Give feedback.
All reactions