Skip to content

Commit 392cdcc

Browse files
authored
ISSUE-125 | add --skip-validation flag to documentation (#132)
* ISSUE-125 Added --skip-validation to <leverage terraform init> lines when there is no S3 set yet
1 parent c8885ea commit 392cdcc

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

docs/first-steps/management-account.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ cd management
2222
Move into the `us-east-1/base-tf-backend` directory and run:
2323

2424
``` bash
25-
leverage terraform init
25+
leverage terraform init --skip-validation
2626
leverage terraform apply
2727
```
2828

docs/first-steps/security-and-shared-accounts.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ cd security
1717
Move into the `us-east-1/base-tf-backend` directory and run:
1818

1919
``` bash
20-
leverage terraform init
20+
leverage terraform init --skip-validation
2121
leverage terraform apply
2222
```
2323

@@ -85,7 +85,7 @@ cd shared
8585
Move into the `us-east-1/base-tf-backend` directory and run:
8686

8787
``` bash
88-
leverage terraform init
88+
leverage terraform init --skip-validation
8989
leverage terraform apply
9090
```
9191

docs/user-guide/ref-architecture-aws/tf-state-workflow.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ Terraform modules registry, accessed December 3rd 2020).
3535
!!! example "Steps to initialize your tf-backend"
3636
1. At the corresponding account dir,
3737
eg: [/shared/base-tf-backend](https://github.com/binbashar/le-tf-infra-aws/tree/master/shared/us-east-1/base-tf-backend) then,
38-
2. Run `leverage terraform init`
38+
2. Run `leverage terraform init --skip-validation`
3939
3. Run `leverage terraform plan`, review the output to understand the expected changes
4040
4. Run `leverage terraform apply`, review the output once more and type `yes` if you are okay with that
4141
5. This should create a `terraform.tfstate` file in this directory but we don't want to push that to the repository so
@@ -52,4 +52,4 @@ Terraform modules registry, accessed December 3rd 2020).
5252

5353
## Expected workflow after set up
5454
:warning: this tape must be updated
55-
[![asciicast](https://asciinema.org/a/377220.svg)](https://asciinema.org/a/377220)
55+
[![asciicast](https://asciinema.org/a/377220.svg)](https://asciinema.org/a/377220)

0 commit comments

Comments
 (0)