Skip to content

Commit 23b71a0

Browse files
committed
bugfix to EVENT_ env vars
1 parent a4155e0 commit 23b71a0

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ locals {
7474
}
7575

7676
environment_variables = {
77-
EVENTS_BUS_NAME = local.events.bus.name
77+
EVENT_BUS_NAME = local.events.bus.name
7878
EVENT_SOURCE = local.events.source
7979
LOG_JSON_INDENT = var.log_json_indent
8080
SECRET_ID = aws_secretsmanager_secret.secret.name

src/index.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@
1010
from states import States
1111

1212
export(SecretId=os.getenv('SECRET_ID'))
13-
EVENTS_BUS_NAME = os.getenv('EVENTS_BUS_NAME')
14-
EVENTS_SOURCE = os.getenv('EVENTS_SOURCE')
13+
EVENT_BUS_NAME = os.getenv('EVENT_BUS_NAME')
14+
EVENT_SOURCE = os.getenv('EVENT_SOURCE')
1515
SLACK_CLIENT_ID = os.getenv('SLACK_CLIENT_ID')
1616
SLACK_CLIENT_SECRET = os.getenv('SLACK_CLIENT_SECRET')
1717
SLACK_DISABLE_VERIFICATION = os.getenv('SLACK_DISABLE_VERIFICATION')
@@ -23,7 +23,7 @@
2323
SLACK_SIGNING_VERSION = os.getenv('SLACK_SIGNING_VERSION')
2424
SLACK_TOKEN = os.getenv('SLACK_TOKEN')
2525

26-
events = Events(bus=EVENTS_BUS_NAME, source=EVENTS_SOURCE)
26+
events = Events(bus=EVENT_BUS_NAME, source=EVENT_SOURCE)
2727
slack = Slack(
2828
client_id=SLACK_CLIENT_ID,
2929
client_secret=SLACK_CLIENT_SECRET,

0 commit comments

Comments
 (0)