We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8b75215 commit 8d09e0aCopy full SHA for 8d09e0a
Monitoring/auto-add-cw-alarms/auto_add_cw_alarms.py
@@ -556,9 +556,9 @@ def usage():
556
dryRun = False
557
#
558
# Check to see if there any any environment variables set.
559
-customerId = os.environ.get('customerId', '')
560
-accountId = os.environ.get('accountId', '')
561
-SNStopic = os.environ.get('SNStopic', '')
+customerId = os.environ.get('customerId', customerId)
+accountId = os.environ.get('accountId', accountId)
+SNStopic = os.environ.get('SNStopic', SNStopic)
562
onlyFilesystemId = None
563
defaultCPUThreshold = int(os.environ.get('defaultCPUThreshold', defaultCPUThreshold))
564
defaultSSDThreshold = int(os.environ.get('defaultSSDThreshold', defaultSSDThreshold))
0 commit comments