Programmatically setting Inbound rule of Security group as local IP using CloudFormation
0
Hi Team, I am trying to change the CloudFormation stack of Redshift which has security group inbound rule as 0.0.0.0/32 which is a violation of my requirement. Can I programmatically set this to my local IP( same way as we choose source as my IP in AWS console)? If yes, please help me on the steps to do so.
1 Answers
0
Yes you can specify a more granular ingress security group rule. The Redshift Cloudformation Cluster Security Group Ingress page provides the appropriate guidance on how to add that parameter to your Cloudformation template and some examples.
answered 3 months ago
Relevant questions
QuickSight Connection Validation Timeout
asked a month ago504 Gateway Time-out when setting up Application Load Balancer
asked 3 months agoCan not connect EC2 Instance via My Ip RDP but Anywhere-IPv4 address
asked 5 months agoAWS WAF Web ACL (with Marketplace Rule Groups) via CloudFormation
asked 3 years agoProblem when connect to jdbc
asked 3 years agoThe EC2 public address is not accessible from everywhere
Accepted Answerasked 3 months agoProgrammatically setting Inbound rule of Security group as local IP using CloudFormation
asked 3 months agoHow to pass dynamically S3url from child to root stack of nestedstack in cloudformation
asked 23 days agoHow to connect Codebuild to RDS database?
asked 11 days agoAdd Cloudflare IP Range to the Security Group
asked 2 months ago
Hi Allison_P, Thank you so much for the reply. I have gone through the link but every time, the user needs to hardcode whenever they run the stack. But, the requirement here is the stack automatically fetch the IP of user system i.e., Whoever runs it, it should fetch and update the value instead of hardcoding. Please guide me here if you have any other views on the approach.