Skip to content

Commit

Permalink
Merge pull request #21 from RavenEsc/security-secrets
Browse files Browse the repository at this point in the history
Bug Fix: double call
  • Loading branch information
RavenEsc authored Jan 10, 2025
2 parents 810e8bd + 8f23985 commit 3af16e6
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)
webhook = DiscordWebhook(url=webhook_url['DiscordWebhookee'])
# EC2 Public Instance
if alert == 'EC2_Public_Instance':
# EC2 values set as variables
Expand Down

0 comments on commit 3af16e6

Please sign in to comment.