Skip to content

Commit

Permalink
make the env vars unique and update the README
Browse files Browse the repository at this point in the history
  • Loading branch information
ssickles committed Mar 26, 2024
1 parent 5d0ef79 commit ec7e65d
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 4 deletions.
11 changes: 9 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,9 @@
# aws-eventbus
Nullstone module to create an AWS EventBus
This capability provides the necessary env variables in order to create schedules for the connected AWS EventBridge EventBus.

The env variables injected are:
| Variable | Description |
| --- | --- |
| `EVENTBUS_ARN` | The arn of the AWS EventBridge EventBus. |
| `EVENTBUS_NAME` | The name of the AWS EventBridge EventBus. |
| `EVENTBUS_SCHEDULER_GROUP_NAME` | The name of the scheduler group used as the landing zone for creating schedules. |
| `EVENTBUS_SCHEDULER_ROLE_ARN` | The arn of the IamRole to use when creating schedules. This role has all the permissions required to create a schedule. |
4 changes: 2 additions & 2 deletions outputs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@ output "env" {
value = local.eventbus_name
},
{
name = "SCHEDULER_GROUP_NAME"
name = "EVENTBUS_SCHEDULER_GROUP_NAME"
value = local.scheduler_group_name
},
{
name = "SCHEDULER_ROLE_ARN"
name = "EVENTBUS_SCHEDULER_ROLE_ARN"
value = local.scheduler_role_arn
},
]
Expand Down

0 comments on commit ec7e65d

Please sign in to comment.