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

feat: Upstream bastion component #340

Merged
merged 1 commit into from
Jul 9, 2021
Merged

feat: Upstream bastion component #340

merged 1 commit into from
Jul 9, 2021

Conversation

nitrocode
Copy link
Member

@nitrocode nitrocode commented Jul 9, 2021

what

  • Upstream bastion component

why

  • To provide a bastion host

references

notes

To pass pre-commit hook

tfenv install 0.13.5
tfenv use 0.13.5
make readme
pre-commit run --show-diff-on-failure --color=always --all-files
git add modules/bastion

@nitrocode nitrocode force-pushed the bastion branch 3 times, most recently from a59b7dd to c94a363 Compare July 9, 2021 15:42
Copy link
Member

@korenyoni korenyoni left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Requested minor changes.

modules/bastion/main.tf Outdated Show resolved Hide resolved
modules/bastion/README.md Show resolved Hide resolved
modules/bastion/variables.tf Outdated Show resolved Hide resolved
modules/bastion/main.tf Outdated Show resolved Hide resolved
Copy link
Member

@korenyoni korenyoni left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please bump cloudposse/ec2-bastion-server/aws

modules/bastion/main.tf Outdated Show resolved Hide resolved
modules/bastion/main.tf Outdated Show resolved Hide resolved
Copy link
Member

@korenyoni korenyoni left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it would be a good idea to keep var.ssm_enabled as part of this component instead of abstracting it to the module entirely.

modules/bastion/variables.tf Show resolved Hide resolved
modules/bastion/main.tf Show resolved Hide resolved
@nitrocode nitrocode requested a review from korenyoni July 9, 2021 18:47
@nitrocode nitrocode changed the title Upstream bastion component feat: Upstream bastion component Jul 9, 2021
Copy link
Member

@korenyoni korenyoni left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There are still issues with this component, namely the fact that it doesn't support the bastion not associating a public IP if var.associate_public_ip_address=false. But I will address this in a separate PR.

@nitrocode nitrocode merged commit 51398f7 into master Jul 9, 2021
@nitrocode nitrocode deleted the bastion branch July 9, 2021 19:26
cathex-matt pushed a commit to cat-home-experts/terraform-aws-components that referenced this pull request Aug 5, 2021
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.

3 participants