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달 전
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!