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

Nat instances not created when using pre existing eips #101

Closed
krystan opened this issue Sep 15, 2020 · 1 comment · Fixed by #109
Closed

Nat instances not created when using pre existing eips #101

krystan opened this issue Sep 15, 2020 · 1 comment · Fixed by #109
Labels
bug 🐛 An issue with the system

Comments

@krystan
Copy link

krystan commented Sep 15, 2020

Found a bug? Maybe our Slack Community can help.

Slack Community

Describe the Bug

Upon enabling the use of nat instances, disabling nat gateways and specifying the correct number of pre-existing eips the. nat instances are not created, this is NOT the case if you do not supply exiting eips, nat instances are created correctly in that instance.

Expected Behavior

Create a VPC
Attach an internet gateway.
Create eips
Standup module for dynamic subnets and. specify nat instances and eips to be used.

Subnets should be created with nat instances in public subnets using the pre existing eips

Steps to Reproduce

Steps to reproduce the behavior:

  1. Get test code from this gist
  2. create three eips
  3. alter tfvars file to have your own eips in.
  4. run terraform init and run
  5. Observe that nat instances were not. created.

Environment (please complete the following information):

Anything that will help us triage the bug will help. Here are some ideas:

  • OS: Linux
  • Terraform 12.x

Additional Context

Tried both. manual vpc creation and using a module

@krystan krystan added the bug 🐛 An issue with the system label Sep 15, 2020
@gregory
Copy link

gregory commented Sep 26, 2020

just ran into this - cc @aknysh

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🐛 An issue with the system
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants