Skip to content

Commit

Permalink
Merge pull request #18 from equinix-labs/fix_docs
Browse files Browse the repository at this point in the history
docs: add prerequisites into root README.md
  • Loading branch information
dcallao authored May 19, 2023
2 parents 87d8c1a + 26f7c22 commit 3942250
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,20 @@ This repository contains a collection of Terraform modules to help automate the

This project is intended to be used as a Terraform module. It may also be forked, cloned, or downloaded and modified as needed as the base in your integrations and deployments.

Prerequesites:
Prerequisites:

* A valid Equinix Metal organization ID, API token, and/or project ID.
* HashiCorp Terraform installed. Please see [tfenv](https://github.com/tfutils/tfenv) util.
* Optional [metal-cli](https://github.com/equinix/metal-cli/#installation) installation.

Optional:

* Install [pre-commit](https://pre-commit.com/#install) with its prerequisites: [python](https://docs.python.org/3/using/unix.html#getting-and-installing-the-latest-version-of-python) and [pip](https://pip.pypa.io/en/stable/installation/).
* Install required packages: [tflint](https://github.com/terraform-linters/tflint), [tfsec](https://aquasecurity.github.io/tfsec/v1.0.11/getting-started/installation/), [shfmt](https://github.com/mvdan/sh), [shellcheck](https://github.com/koalaman/shellcheck), and [markdownlint](https://github.com/markdownlint/markdownlint).
* Install [metal-cli](https://github.com/equinix/metal-cli/#installation).

To initialize pre-commit: `pre-commit install`.

Run `terraform init -upgrade` and `terraform apply`.

## Examples

Expand Down

0 comments on commit 3942250

Please sign in to comment.