AWS cloud runner not deploying when I specify a security group
See original GitHub issueI’m launching a runner with the command in Github Actions.
cml-runner \
--cloud aws \
--cloud-region eu-west-1 \
--cloud-type=g4dn.2xlarge \
--cloud-aws-security-group="123123123123" \
--labels=cml-runner
Without specifying security group it works, I presume by launching in the default group. However, when I run the above I get a terraform error,
Error: Failed creating the machine: no Security Groups found\n│ \n│ with iterative_cml_runner.runner,\n│ on main.tf line 14, in resource \"iterative_cml_runner\" \"runner\":\n│ 14: resource \"iterative_cml_runner\" \"runner\" {\n│ \n╵\n","stack":"Error: terraform -chdir='/home/runner/.cml/cml-4vgypkb6gn' apply -auto-approve\n\t\nTerraform used the selected providers to generate the following execution\nplan. Resource actions are indicated with the following symbols:\n + create\n\nTerraform will perform the following actions:\n\n
How do I debug this?
Issue Analytics
- State:
- Created 2 years ago
- Comments:20 (12 by maintainers)
Top Results From Across the Web
Troubleshoot EC2/On-Premises deployment issues
Try one of the following: Assign a public IP address to the instance and use its route table to allow internet access.
Read more >Work with security groups - Amazon Elastic Compute Cloud
In the navigation pane, choose Security Groups. · Select the security group to copy and choose Actions, Copy to new security group. ·...
Read more >Security in App Runner - AWS Documentation
Configure AWS App Runner to meet your security and compliance objectives, and learn how to use other AWS services that help you to...
Read more >Enabling VPC access for outgoing traffic - AWS App Runner
You can optionally specify the security groups that App Runner uses to access AWS under the specified subnets. If you don't specify security...
Read more >New for App Runner – VPC Support | AWS News Blog
If you want, App Runner can also configure a deployment pipeline for you ... that specify which VPC, subnets, and security groups to...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@skailasa it might be unclear in the docs, this param takes the security group name and not the ID, see this:
Thank you all for the help here, this is working using the security group name 🚀