Houuse
December 30, 2021, 1:32pm
1
opened 04:18PM - 22 Dec 21 UTC
service/elbv2
service/mq
needs-triage
### Terraform CLI and Terraform AWS Provider Version
Terraform v1.1.2
on windo… ws_amd64
+ provider registry.terraform.io/hashicorp/aws v3.69.0
+ provider registry.terraform.io/hashicorp/external v2.1.1
+ provider registry.terraform.io/hashicorp/local v2.1.0
+ provider registry.terraform.io/hashicorp/null v3.1.0
+ provider registry.terraform.io/hashicorp/random v3.1.0
### Affected Resource(s)
* aws_mq_broker
* aws_lb_target_group_attachment
### Terraform Configuration Files
```hcl
output "rabbit-cluster-ip" {
value = aws_mq_broker.Rabbit-Dev.instances
}
resource aws_lb_target_group_attachment "nlb-target-group-amqp-1-attachment" {
target_group_arn = aws_lb_target_group.nlb-target-group-amqp-1.arn
target_id = aws_mq_broker.Rabbit-Dev.instances.0.endpoints.0.ip_address
availability_zone = data.aws_availability_zones.available.names[0]
}
```
### Expected Behavior
### Actual Behavior
rabbit-cluster-ip = tolist([
{
"console_url" = "https://b-xxxxxxxx-xxxx-xxxx-xxxxxx7f54c0.mq.xx-north-1.amazonaws.com"
"endpoints" = tolist([
"amqps://b-xxxxxxxx-xxxx-xxxx-xxxxxx7f54c0..mq.xx-north-1.amazonaws.com:5671",
])
"ip_address" = ""
},
])
### Steps to Reproduce
1. `terraform apply`
### References
<!---
Information about referencing Github Issues: https://help.github.com/articles/basic-writing-and-formatting-syntax/#referencing-issues-and-pull-requests
Are there any other GitHub issues (open or closed) or pull requests that should be linked here? Vendor documentation? For example:
--->
https://github.com/hashicorp/terraform-provider-aws/issues/2821
Hi, I have this issue with the aws provider, it’s actually a show stopper for us in production, have created the ticket 1 week ago and still got no response.