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ヶ月前
関連するコンテンツ
- 質問済み 3ヶ月前
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!