1 réponse
- Le plus récent
- Le plus de votes
- La plupart des commentaires
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
répondu il y a 6 mois
Contenus pertinents
- demandé il y a un an
- demandé il y a un an
- demandé il y a 2 mois
- demandé il y a un an
- AWS OFFICIELA mis à jour il y a 4 mois
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!