-
Notifications
You must be signed in to change notification settings - Fork 42
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Revert worker group IAM role policy for Nomad Autoscaler [ONPREM-553] #185
Conversation
e4090ed
to
c3ab83b
Compare
c3ab83b
to
6c23806
Compare
@@ -28,7 +28,7 @@ executors: | |||
tfsec: | |||
resource_class: small | |||
docker: | |||
- image: circleci/python:latest | |||
- image: cimg/base:current |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We were using a deprecated image here introduced in PR #183. Update this to just use the base convenience image since we don't need Python.
@@ -8,14 +8,14 @@ resource "aws_security_group" "nomad_sg" { | |||
from_port = 64535 | |||
to_port = 65535 | |||
protocol = "tcp" | |||
cidr_blocks = ["0.0.0.0/0"] | |||
cidr_blocks = ["0.0.0.0/0"] #tfsec:ignore:aws-ec2-no-public-ingress-sgr |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Temporarily ignore these failing tfsec
checks introduced in PR #183 until we can properly action them as they're failing CI and making detecting other issues more difficult.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pretty sure we actually do want 0.0.0.0 here so we can SSH into jobs
0c102c8
to
cef746f
Compare
⚙️ Issue https://circleci.atlassian.net/browse/ONPREM-553
✅ Fix If we upgrade Nomad Autoscaler to
v0.3.7
, these changes appear to be unneeded.❓ Tests