Skip to content

Commit

Permalink
Document TERRAFORM_VERSION env var for terraform-init (#82)
Browse files Browse the repository at this point in the history
  • Loading branch information
amh-mw authored Oct 1, 2024
1 parent 53ca2c7 commit c11b6a9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions terraform-init/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ LocalStack Extension for using Terraform files in [init hooks](https://docs.loca
## Usage

* Start localstack with `EXTENSION_AUTO_INSTALL="localstack-extension-terraform-init"`
* Optionally specify `TERRAFORM_VERSION=1.9.5` (currently defaults to 1.5.7)
* Mount a `main.tf` file into `/etc/localstack/init/ready.d`

When LocalStack starts up, it will install the extension, which in turn install `terraform` and `tflocal` into the container.
Expand Down

0 comments on commit c11b6a9

Please sign in to comment.