https://github.com/berquerant/experimental-terraform-slack
https://github.com/berquerant/experimental-terraform-slack
go slack swagger terraform
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/berquerant/experimental-terraform-slack
- Owner: berquerant
- Created: 2024-01-29T14:36:01.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-01-29T14:37:56.000Z (over 2 years ago)
- Last Synced: 2025-03-31T11:31:20.272Z (about 1 year ago)
- Topics: go, slack, swagger, terraform
- Language: Go
- Homepage:
- Size: 80.1 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# experimental-terraform-slack
Test to write a terraform provider using swagger.
## Use the Provider locally
Write `~/.terraformrc`.
```
provider_installation {
dev_overrides {
"berquerant/slack" = "/path/to/experimental-terraform-slack/tmp"
}
# For all other providers, install them directly from their origin provider
# registries as normal. If you omit this, Terraform will _only_ use
# the dev_overrides block, and so no other providers will be available.
direct {}
}
```
Run API server.
``` shell
make all
docker compose up -d
```
Try to get a list of channels.
``` shell
export SLACK_TOKEN="..."
cd examples/provider-install-verification
terraform plan
```