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

Fix: Issue 164 - SSH rule creation for bastion host without ELB. #169

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

BreakingPitt
Copy link

SSH rule creation for bastion host without ELB.

This pull request addresses the issue where SSH access wasn't properly configured for bastion hosts when ELB (Elastic Load Balancer) creation was disabled. The problem occurred due to the conditional logic in the count attribute, which excluded SSH rule creation when create_elb was set to false.

This was a critical issue as it prevented secure access to the bastion host in scenarios where ELB wasn't used.

Changes Made.

Modified the count attribute in the Terraform configuration for bastion host security groups to allow SSH rule creation when one of the following conditions is met:

  • The bastion_security_group_id is an empty string.

  • The create_elb is set to false.

Related Issues:

Closes #164

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 this pull request may close these issues.

Bug - v3.0.6 - No ingress rule when no ELB used
1 participant