Skip to content
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

MQ Broker should be recreate when id for SG changed #61

Open
ByJacob opened this issue Jun 4, 2023 · 0 comments
Open

MQ Broker should be recreate when id for SG changed #61

ByJacob opened this issue Jun 4, 2023 · 0 comments
Labels
bug 🐛 An issue with the system

Comments

@ByJacob
Copy link

ByJacob commented Jun 4, 2023

Describe the Bug

╷
│ Error: updating MQ Broker (b-f9764a70-79ab-41de-ba60-2f722296ba50) security groups: BadRequestException: Changing security groups is not supported for RabbitMQ brokers.
│ {
│   RespMetadata: {
│     StatusCode: 400,
│     RequestID: "52d88252-71f0-4800-9c41-aa8455b174bf"
│   },
│   ErrorAttribute: "securityGroups",
│   Message_: "Changing security groups is not supported for RabbitMQ brokers."
│ }
│ 
│   with module.rabbitmq.aws_mq_broker.default[0],
│   on ../../modules/mq/main.tf line 89, in resource "aws_mq_broker" "default":
│   89: resource "aws_mq_broker" "default" {
│ 
╵

Expected Behavior

id for security group don't change, or recreate rabbitMQ broker whe security_id was change

Steps to Reproduce

  1. Create rabbitmq
  2. Create sq
  3. add new SQ to rabbitmq by variable allowed_security_group_ids
  4. apply changes

Screenshots

No response

Environment

  • LINUX
  • Terraform v1.3.6
  • Module: 3.1.0

Additional Context

No response

@ByJacob ByJacob added the bug 🐛 An issue with the system label Jun 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🐛 An issue with the system
Projects
None yet
Development

No branches or pull requests

1 participant