🚀 Enhancements
Add IAM brokers when create dns entries @krainet (#24)
what
- Added IAM broker list to the broker combined list
why
- When you try to deploy a cluster with IAM support , the module don't found brokers on the combined list , raising an error like this:
Error: Invalid index
on .terraform/modules/msk-example/main.tf line 159, in module "hostname":
159: records = [split(":", local.bootstrap_brokers_combined_list[count.index])[0]]
|----------------
| count.index is 0
| local.bootstrap_brokers_combined_list is empty list of string
The given key does not identify an element in this collection value.
- This is because when we calculate the local.bootstrap_brokers_combined_list , we don't add the new supported type "bootstrap_brokers_sasl_iam" , and then the list is empty. And then when try to create dns entries , the loop tries to run on an empty list.
references
- There is no issue related to this.
🐛 Bug Fixes
Add IAM brokers when create dns entries @krainet (#24)
what
- Added IAM broker list to the broker combined list
why
- When you try to deploy a cluster with IAM support , the module don't found brokers on the combined list , raising an error like this:
Error: Invalid index
on .terraform/modules/msk-example/main.tf line 159, in module "hostname":
159: records = [split(":", local.bootstrap_brokers_combined_list[count.index])[0]]
|----------------
| count.index is 0
| local.bootstrap_brokers_combined_list is empty list of string
The given key does not identify an element in this collection value.
- This is because when we calculate the local.bootstrap_brokers_combined_list , we don't add the new supported type "bootstrap_brokers_sasl_iam" , and then the list is empty. And then when try to create dns entries , the loop tries to run on an empty list.
references
- There is no issue related to this.