copilot-cli
copilot-cli copied to clipboard
Specify an existing security group id for app runner
It doesn't look like there is a way to specify an existing security group when deploying a request driven web service.
It would be nice if there was a way to specify an existing security group like this 👇
network:
vpc:
id: vpc-xxx
subnets:
public:
- id: subnet-xxx
- id: subnet-xxx
private:
- id: subnet-xxx
- id: subnet-xxx
security_group:
- id: sg-xxx
Hello @Danwakeem !
If you want your request driven web service to be connected to VPC.
You can set network.vpc.placement to private
. And copilot will associate a security group to allow ingress from the app runner service to other services in your environment.
If you want to bring in your own security group
you can use yamplatches
to add the aditional security group to attach for your request driven service.
let us know if this helps!
Any examples for a yaml patch to add an additional security group to a copilot service?
This issue is stale because it has been open 60 days with no response activity. Remove the stale label, add a comment, or this will be closed in 14 days.
This issue is stale because it has been open 60 days with no response activity. Remove the stale label, add a comment, or this will be closed in 14 days.
This issue is closed due to inactivity. Feel free to reopen the issue if you have any further questions!