https://github.com/phildier/example-terraform-shell-provider
https://github.com/phildier/example-terraform-shell-provider
Last synced: 4 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/phildier/example-terraform-shell-provider
- Owner: phildier
- Created: 2025-02-14T16:00:47.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2025-05-01T12:57:19.000Z (about 1 year ago)
- Last Synced: 2025-06-10T22:39:03.886Z (about 1 year ago)
- Homepage:
- Size: 2.93 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Example terraform shell provider
This is a companion repository for the blog post [Using the Terraform Shell Provider](https://)
## Using This Repository
1. Clone the repository
1. Copy .env.dist to .env (or .envrc if you use [direnv](https://direnv.net/))
1. Run docker compose to start localstack
```
docker compose up -d
```
You should now be ready to run the examples.
## Shell Example
This example shows how to use bash scripts as a simple way to implement
unsupported functionality in terraform while maintaining the benefits of
terraform's dependency graph, etc.
1. Running the shell example
```
cd examples/shell
terraform init
terraform plan -out=plan.out
terraform apply
```