Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes webhook variable #22

Merged
merged 1 commit into from
Jul 14, 2024
Merged

Conversation

erikreinert
Copy link
Member

Changes

  • fixes webhooks variable to take a map(object) instead of list(object)

- Changed the type of `webhooks` variable from `list` to `map` in `variables.tf` and `README.md`.
- Updated the default value of `webhooks` variable from `[]` to `{}`.
- Modified the `for_each` expression in `github_repository_webhook` resource in `main.tf` to iterate over the map of webhooks.
@erikreinert erikreinert self-assigned this Jul 14, 2024
@erikreinert erikreinert merged commit e019273 into main Jul 14, 2024
2 checks passed
@erikreinert erikreinert deleted the feature/eng-190-github-discord-webhook branch July 14, 2024 00:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant