1 個回答
- 最新
- 最多得票
- 最多評論
1
Hi,
If you are using the default VPC, you can try to explicitly mention the VPCId
of the default VPC in the Security Group configuration.
Something like this:
ActiveMQSecurityGroup:
Type: AWS::EC2::SecurityGroup
Properties:
GroupDescription: Security Group for Amazon MQ that allows traffic for all supported protocols and GUI access.
VpcId: "vpc-012345678abc12de3f"
SecurityGroupIngress:
- IpProtocol: tcp
FromPort: 61616
ToPort: 61616
CidrIp: 0.0.0.0/0
Description: OpenWire
I tried making this change and it did not give any error, successfully deploying the cloudformation stack and MQ Broker.
Outputs
I hope this resolves the issue.
Thanks,
Atul
已回答 6 個月前
相關內容
- AWS 官方已更新 2 年前
Huh, it works! But I have to admit the error was very vague... And the docs says
Required: Conditional
on the VpcId forAWS::EC2::SecurityGroup
. Anyways - thank you!Glad that it helped!