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 use_eip implementation and documentation #7

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

MarcMeszaros
Copy link
Contributor

@MarcMeszaros MarcMeszaros commented May 25, 2021

Previously the use_eip variable wasn't actually used to determine if an Elastic IP should be created or not. The Elastic IP resource now checks for var.use_eip.

Since use_route53 and the DNS record assumes the Elastic IP is available, also make sure both var.use_route53 and var.use_eip are true when creating the DNS record.

Finally, this also make the Elastic EIP id a module output for the scenario where an EIP is wanted but no DNS but still need access to the EIP created by the module.

NOTE: This assumes PR #6 is merged first.

fixes #5

Also add the EIP id to module outputs in case `use_route53` is `false`
and user needs access to elastic IP details.
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.

The use_eip variable description doesn't seem to match actual implementation
1 participant