Skip to content

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

@harelguy

Description

@harelguy

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions