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

Optional prometheus #8

Draft
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

MarcMeszaros
Copy link
Contributor

Makes prometheus optional by default and opt-in using var.use_prometheus.

It passes in a similarly names use_prometheus variable to the user-data.txt template file interpolation call and uses an if condition inside the bash script to skip installing all the prometheus tools. It also moves the ufw command that enable it for prometheus inside the if block.

Note: Assumes PR #6 , #7 are merged in first.

Closes #3

@MarcMeszaros MarcMeszaros force-pushed the optional-prometheus branch from 5044e74 to 696efc9 Compare May 25, 2021 21:54
Also add the EIP id to module outputs in case `use_route53` is `false`
and user needs access to elastic IP details.
packages installed via the user data script
@MarcMeszaros MarcMeszaros force-pushed the optional-prometheus branch from 696efc9 to 40d9df9 Compare May 25, 2021 21:56
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.

Null prometheus server ip causes security group resource issue
1 participant