I have a manually created security group to access Redis, and I am creating a LAMP stack with AWS CloudFormation. I need to update the Amazon EC2 security group from Redis to allow access from this LAMP stack, but I want it to be updated through CloudFormation – is this possible?
Is it possible to update an existing EC2 security group from CloudFormation
amazon ec2amazon-cloudformationamazon-web-services
Related Topic
- Firewall – Are EC2 security group changes effective immediately for running instances
- Is it possible to force Re-creation of EC2::Instance or RDS::DBInstance in amazon cloudformation
- AWS CloudFormation: VPC default security group
- Cloudformation Add Instance to Security Group in Different Region
- CloudFormation Script – Referencing earlier created Security Group
- Create new EC2 instance with existing EBS volume as root device using CloudFormation
Best Answer
Existing SecurityGroups can be updated using SecurityGroupIngress
For example: