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

flushed out userdata script adn added env vars #39

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

Conversation

mpechner-akasa
Copy link

Issue #, if available:

Description of changes:
src/cw_auto_alarms.py
Took the following constants:
default_period = '5m'
default_evaluation_periods = '1'
default_statistic = 'Average'
Added unique env vars for each: ec2, lambda and rds
For instance in my shop, unless RDS CPU is 100% for over 90 minutes, do not care.

Flushed out and used /etc/os-release to make calls OS dependent instead of having to comment or not comment.
even if this is meant as an example to put in your own userdata, makes life easier when checking out this tool.
userdata_linux_advanced.sh
userdata_linux_basic.sh
userdata_linux_standard.sh

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

'Name': 'tag:tag-key',

Not:
'Name': 'tag-key',
src/cw_auto_alarms.py
Took the following constants:
	default_period = '5m'
	default_evaluation_periods = '1'
	default_statistic = 'Average'
Added unique env vars for each: ec2, lambda and rds
For instance in my shop,  unless RDS CPU is 100% for over 90 minutes, do not care.

Flushed out and use /etc/os-release to make calls OS dependent instead of having to comment or not comment.
even of this is mean as an example to put in your own userdata, mame life easier when check out this tool.
userdata_linux_basic.sh
userdata_linux_standard.sh
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.

None yet

1 participant