You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When attempting to create a RabbitMQ type broker, no matter how enable_audit_log and enable_general_log are set (or even if not specified), it always fails with:
An error occurred (BadRequestException) when calling the CreateBroker operation: Audit logging is not supported for RabbitMQ brokers.
It looks like this has been encountered by Terraform as well (hashicorp/terraform-provider-aws#18350) and suggests that if the engine type is RABBITMQ, no logging arguments should be passed at all.
I've also verified that if I manually comment out all the lines in mq_broker.py that reference those two arguments, the broker is successfully created, so I'm guessing there needs to be some logic added that if the engine_type is set to RABBITMQ, to omit those two arguments completely.
Summary
When attempting to create a RabbitMQ type broker, no matter how
enable_audit_log
andenable_general_log
are set (or even if not specified), it always fails with:An error occurred (BadRequestException) when calling the CreateBroker operation: Audit logging is not supported for RabbitMQ brokers.
It looks like this has been encountered by Terraform as well (hashicorp/terraform-provider-aws#18350) and suggests that if the engine type is
RABBITMQ
, no logging arguments should be passed at all.I've also verified that if I manually comment out all the lines in
mq_broker.py
that reference those two arguments, the broker is successfully created, so I'm guessing there needs to be some logic added that if theengine_type
is set toRABBITMQ
, to omit those two arguments completely.Issue Type
Bug Report
Component Name
mq_broker
Ansible Version
Collection Versions
AWS SDK versions
Configuration
OS / Environment
Fedora Linux 40 using virtualenvwrapper
Steps to Reproduce
Expected Results
Expect it to successfully create a RabbitMQ broker
Actual Results
Code of Conduct
The text was updated successfully, but these errors were encountered: