Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
chmstimoteo authored Nov 26, 2024
1 parent d528d17 commit d707e78
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions infrastructure/terraform/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -87,18 +87,20 @@ Also, this method allows you to extend this solution and develop it to satisfy y
terraform --version
```
**Note:** If you have a Apple Silicon Macbook, you should install terraform by setting the `TFENV_ARCH` environment variable:
```shell
TFENV_ARCH=amd64 tfenv install 1.9.7
tfenv use 1.9.7
terraform --version
```
If not properly terraform version for your architecture is installed, `terraform .. init` will fail.
For instance, the output on MacOS should be like:
```shell
Terraform v1.9.7
on darwin_amd64
```
If you have a Apple Silicon Macbook, you should install terraform by setting the `TFENV_ARCH` environment variable:
```shell
TFENV_ARCH=amd64 tfenv install 1.9.7
tfenv use 1.9.7
```
1. Run the following script to create a Terraform remote backend.
Terraform stores state about managed infrastructure to map real-world resources to the configuration, keep track of metadata, and improve performance. Terraform stores this state in a local file by default, but you can also use a Terraform remote backend to store state remotely. [Remote state](https://developer.hashicorp.com/terraform/cdktf/concepts/remote-backends) makes it easier for teams to work together because all members have access to the latest state data in the remote store.
Expand Down

0 comments on commit d707e78

Please sign in to comment.