-
Notifications
You must be signed in to change notification settings - Fork 4.6k
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
terraform: Fix resource formatting for IPv6 CIDRs #5979
Conversation
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.
Thanks @a8m - can you please fix the travis ci problem before we activate other tests?
@@ -0,0 +1 @@ | |||
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAAAgQCtWu40XQo8dczLsCq0OWV+hxm9uV3WxeH9Kgh4sMzQxNtoU1pvW0XdjpkBesRKGoolfWeCLXWxpyQb1IaiMkKoz7MdhQ/6UKjMjP66aFWWp3pwD0uj0HuJ7tq4gKHKRYGTaZIRWpzUiANBrjugVgA+Sd7E/mYwc/DMXkIyRZbvhQ== |
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.
Who owns this key? What is it for?
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.
This is the same key that is used by all integration tests. For example, the shared vpc test. If you remove it, the test will fail with the following error:
--- FAIL: TestRestrictAccess (0.01s)
integration_test.go:238: error running "in-v1alpha2.yaml" create: error reading SSH public key
....
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.
Yeah, it's a little annoying, but it's just a one-off key I generated. It isn't used for anything but the tests.
Running `terraform validate` on `externallb/kubernetes.tf` was failing because resource name can't contain ":".
One of the tests was failing after my changes. I fixed it. Error: aws_autoscaling_attachment.exttg-aws:my-tg--0123456789abcdef-master-us-test-1a:
exttg-aws:my-tg--0123456789abcdef-master-us-test-1a: resource name can only contain
letters, numbers, dashes, and underscores. The problem was that |
/ok-to-test /assign @justinsb |
nonMasqueradeCIDR: 100.64.0.0/10 | ||
sshAccess: | ||
- 1.1.1.1/0 | ||
- 2001:0:85a3::/40 |
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.
You probably could have just added this to complex
, which is a sort of grab-bag for random things. But this works :-)
Thanks @a8m /approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: a8m, chrisz100, justinsb The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Solved #5976