-
Notifications
You must be signed in to change notification settings - Fork 86
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
Add monitoring logic to aws #203
Conversation
ayoub-belarbi
commented
Sep 26, 2019
•
edited
edited
- Enable monitoring for AWS
- Add the option to enable/disable monitoring for AWS
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks good so far ( considering it is a WIP)
e9cd8d2
to
cf97916
Compare
Fix outputs.tf Fix outputs.tf formating Fix terraform fmt checks
0906d3d
to
131d79c
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Lgtm to me. Review my pr now 😉 wait for others pov on this but looks good
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code is looking good to me, test are in progress.
Co-Authored-By: Julien ADAMEK <julien.adamek@suse.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
AWS is working well (qa_mode: true) with or without monitoring part, thx!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good! It looks great and following same convention than Azure.
Thanks!
|
||
resource "aws_instance" "monitoring" { | ||
count = var.monitoring_enabled == true ? 1 : 0 | ||
ami = var.sles4sap[var.aws_region] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This forces the usage of SLE15 only, just a reminder...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
But not when monitoring is disabled, no?