Skip to content

Instantly share code, notes, and snippets.

@gabrielrojasnyc
Created October 30, 2017 04:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gabrielrojasnyc/49b992c7822c5bee8692edbc758cf3bb to your computer and use it in GitHub Desktop.
Save gabrielrojasnyc/49b992c7822c5bee8692edbc758cf3bb to your computer and use it in GitHub Desktop.
no_delete_instances.py
#Add events to dynamo table to keep track of click
item_table_count = create_item_dynamo(event)
#Delete any EC2 instances
delete_instances = 'no'
#Calls function to email data
email_subscription(topic_arn_iot['TopicArn'], event, item_table_count, delete_instances)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment