File tree Expand file tree Collapse file tree 2 files changed +8
-8
lines changed
Monitoring/auto-add-cw-alarms Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -556,9 +556,9 @@ def usage():
556556dryRun = False
557557#
558558# 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' , '' )
559+ customerId = os .environ .get ('customerId' , customerId )
560+ accountId = os .environ .get ('accountId' , accountId )
561+ SNStopic = os .environ .get ('SNStopic' , SNStopic )
562562onlyFilesystemId = None
563563defaultCPUThreshold = int (os .environ .get ('defaultCPUThreshold' , defaultCPUThreshold ))
564564defaultSSDThreshold = int (os .environ .get ('defaultSSDThreshold' , defaultSSDThreshold ))
Original file line number Diff line number Diff line change @@ -190,8 +190,8 @@ Resources:
190190 # Lastly, you can create an override for the SSD alarm, by creating a tag
191191 # with the name "SSD_Alarm_Threshold" on the file system resource.
192192 #
193- # Version: v2.13
194- # Date: 2024-10-03-12:30:21
193+ # Version: v2.1
194+ # Date: 2025-01-31-20:33:33
195195 #
196196 ################################################################################
197197 #
@@ -719,9 +719,9 @@ Resources:
719719 dryRun = False
720720 #
721721 # Check to see if there any any environment variables set.
722- customerId = os.environ.get('customerId', '' )
723- accountId = os.environ.get('accountId', '' )
724- SNStopic = os.environ.get('SNStopic', '' )
722+ customerId = os.environ.get('customerId', customerId )
723+ accountId = os.environ.get('accountId', accountId )
724+ SNStopic = os.environ.get('SNStopic', SNStopic )
725725 onlyFilesystemId = None
726726 defaultCPUThreshold = int(os.environ.get('defaultCPUThreshold', defaultCPUThreshold))
727727 defaultSSDThreshold = int(os.environ.get('defaultSSDThreshold', defaultSSDThreshold))
You can’t perform that action at this time.
0 commit comments