Skip to content
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

Bug - v3.0.6 - No ingress rule when no ELB used #164

Open
harelguy opened this issue Jun 2, 2023 · 0 comments · May be fixed by #169
Open

Bug - v3.0.6 - No ingress rule when no ELB used #164

harelguy opened this issue Jun 2, 2023 · 0 comments · May be fixed by #169

Comments

@harelguy
Copy link

harelguy commented Jun 2, 2023

When a bastion is configured without an ELB, the ingress rule to allow SSH access is not added to the Security Group.

This is likely because of this code:

count = var.bastion_security_group_id == "" && var.create_elb ? 1 : 0

Since create_elb is false in my configuration, the rule doesn't get created at all.

Expected:

  • When creating a bastion without an ELB but with a public IP, the security group should be configured to allow SSH access from external sources.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant