2 Comments
I've tried to restrict SSH access to a security group like this.
option_settings:
aws:autoscaling:launchconfiguration:
SSHSourceRestriction: tcp, 22, 22, sg-05325d0a65efe65b3
but I get this error:
2024-08-19 20:37:27 INFO Environment update is starting.
2024-08-19 20:37:50 ERROR Service:AmazonCloudFormation, Message:Stack named 'awseb-e-d28wppwkia-stack' aborted operation. Current state: 'UPDATE_ROLLBACK_COMPLETE' Reason: null
2024-08-19 20:37:50 ERROR Updating security group ingress named: sgr-092e9bf7b6c825257 failed Reason: Resource handler returned message: "Exactly one of CidrIp, CidrIpv6, SourceSecurityGroupId, and SourcePrefixListId must be specified and not empty" (RequestToken: 6f2f6767-50f5-78d0-47f6-e3ae5f31a92f, HandlerErrorCode: InvalidRequest)
2024-08-19 20:37:51 ERROR Failed to deploy application.
replied 9 months ago
Thank you for your comment. We'll review and update the Knowledge Center article as needed.

Relevant content
- asked 6 months ago
- asked a year ago
- AWS OFFICIALUpdated 6 months ago