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

Added VPN Tunnel Phase 1/2 Lifetimes #55

Merged
merged 4 commits into from
Oct 17, 2024

Conversation

jpschafer
Copy link
Contributor

what

Added Tunnel 1/2 Phase 1/2 Lifetime Variables

why

So I can add custom lifetimes outside of the defaults for customers who have different lifetimes set for their end of the tunnel.

references

#54

https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/vpn_connection#tunnel1_phase1_lifetime_seconds

The only issue to note is that in the AWS Console, you will see 28800 and 3600 respectively instead of "default" for each. I wasn't sure If that really matters but it's the only issue I could think of. I'm open to suggestions on preferences regarding this variable that is technically optional. I wasn't sure if setting it to null would create the same behavior.

@jpschafer jpschafer requested review from a team as code owners October 16, 2024 20:00
@mergify mergify bot added the triage Needs triage label Oct 16, 2024
@gberenice
Copy link
Contributor

/terratest

Copy link
Contributor

@gberenice gberenice left a comment

Choose a reason for hiding this comment

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

@jpschafer could you please fix the variable usage as suggested and run fmt?

main.tf Outdated Show resolved Hide resolved
jpschafer and others added 2 commits October 17, 2024 11:56
@gberenice
Copy link
Contributor

/terratest

Copy link
Contributor

@gberenice gberenice left a comment

Choose a reason for hiding this comment

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

Thanks @jpschafer!

@gberenice gberenice merged commit b097579 into cloudposse:main Oct 17, 2024
16 checks passed
@mergify mergify bot removed the triage Needs triage label Oct 17, 2024
Copy link

These changes were released in v1.5.0.

@jpschafer
Copy link
Contributor Author

@gberenice Just wanted to say thank you for helping me out in merging this and letting me contribute to this project. You all do great work! :)

@jpschafer jpschafer deleted the tunnel-lifetimes branch October 18, 2024 12:00
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.

2 participants