Skip to content

Commit

Permalink
Merge pull request #22 from RavenEsc/revert-21-security-secrets
Browse files Browse the repository at this point in the history
Revert "Bug Fix: double call"
  • Loading branch information
RavenEsc authored Jan 10, 2025
2 parents 3af16e6 + 42f5fc0 commit 547ddf4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/discordlambda/discordnote.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ def lambda_handler(event, context):

secret_json = json.loads(get_secret_value_response['SecretString'])
webhook_url = secret_json['DiscordWebhookee']
webhook = DiscordWebhook(url=webhook_url['DiscordWebhookee'])
webhook = DiscordWebhook(url=webhook_url)
# EC2 Public Instance
if alert == 'EC2_Public_Instance':
# EC2 values set as variables
Expand Down

0 comments on commit 547ddf4

Please sign in to comment.