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

improved the configuration steps #93

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
183 changes: 96 additions & 87 deletions .terraform.lock.hcl

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

21 changes: 21 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,27 @@ terraform init

This should download seven modules into a hidden directory `.terraform`.

In case of any failures with Apple M1 chips, here are the steps to fix them.

```sh
brew install kreuzwerker/taps/m1-terraform-provider-helper
m1-terraform-provider-helper activate # (In case you have not activated the helper)
m1-terraform-provider-helper install hashicorp/template -v v2.2.0 # Compile and Install
export TF_HELPER_LOG=debug # To enable more debugs
export TF_HELPER_REQUEST_TIMEOUT=20
m1-terraform-provider-helper install hashicorp/google -v v3.53.0 --custom-build-command="gofmt -s -w ./tools.go && make fmt && make build"
m1-terraform-provider-helper install hashicorp/google -v v3.53.0
```

Run Terraform initialization again

```sh
rm -rf .terraform
rm -f .terraform.lock.hcl
terraform init -upgrade
terraform providers lock -platform=linux_amd64 # Anycase want to update for different platforms.
```

## Modify your variables

There are many variables which can be set to customize your install within `variables.tf`. The default variables to bring up a 6 node Anthos cluster with an HA Control Plane and three worker nodes using Equinix Metal's [c3.small.x86](https://metal.equinix.com/product/servers/). Change each default variable at your own risk.
Expand Down
Loading