Skip to content

Commit 3a87d64

Browse files
committed
update documentation
1 parent ace1d83 commit 3a87d64

1 file changed

Lines changed: 18 additions & 18 deletions

File tree

CONTRIBUTING.md

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,10 @@ Below are guidelines for contributing to the devops-security repository hosted o
2424
- [**Generating Access Keys for AWS CLI**](#generating-access-keys-for-aws-cli)
2525
- [**Installing Terraform**](#installing-terraform)
2626
- [**Creating Backend State**](#creating-backend-state)
27-
- [**Creating Local tfvars file**](#creating-local-tfvars-file)
2827
- [**Installing Terraform docs**](#installing-terraform-docs)
2928
- [**Clone (Create) a copy on your computer**](#clone-create-a-copy-on-your-computer)
3029
- [**Create a new branch where you will work on your issue**](#create-a-new-branch-where-you-will-work-on-your-issue)
30+
- [**Creating Local tfvars file**](#creating-local-tfvars-file)
3131
- [**Terraform Setup and Execution Instructions**](#terraform-setup-and-execution-instructions)
3232
- [**Submitting changes via git and opening a PR**](#submitting-changes-via-git-and-opening-a-pr)
3333

@@ -192,23 +192,6 @@ aws dynamodb create-table \
192192
<sub>[Back to Table of Contents](#table-of-contents)</sub>
193193
***
194194

195-
### **Creating Local tfvars file**
196-
197-
After creating a backend state, create a `backend.tfvars` file in the `terraform` directory. It should have content of this format:
198-
199-
```terraform
200-
bucket = "USERNAME-hfla-ops-terraform-state"
201-
key = "devops-security/terraform.tfstate"
202-
region = "us-east-2"
203-
dynamodb_table = "hfla_ops_terraform_table"
204-
encrypt = true
205-
```
206-
207-
Remember to match these values to the ones in your backend state (and replace USERNAME with your username)
208-
209-
<sub>[Back to Table of Contents](#table-of-contents)</sub>
210-
***
211-
212195
### **Installing Terraform**
213196

214197
Use the [Official HashiCorp install instructions](https://developer.hashicorp.com/terraform/install) for installing terraform.
@@ -276,6 +259,23 @@ When you've finished working on your issue, follow the steps below to prepare yo
276259
<sub>[Back to Table of Contents](#table-of-contents)</sub>
277260
***
278261
262+
### **Creating Local tfvars file**
263+
264+
After creating a backend state, create a `backend.tfvars` file in the `terraform` directory. It should have content of this format:
265+
266+
```terraform
267+
bucket = "USERNAME-hfla-ops-terraform-state"
268+
key = "devops-security/terraform.tfstate"
269+
region = "us-east-2"
270+
dynamodb_table = "hfla_ops_terraform_table"
271+
encrypt = true
272+
```
273+
274+
Remember to match these values to the ones in your backend state (and replace USERNAME with your username)
275+
276+
<sub>[Back to Table of Contents](#table-of-contents)</sub>
277+
***
278+
279279
### **Terraform Setup and Execution Instructions**
280280
Make the required changes and execute them to see the changes in your own AWS account
281281

0 commit comments

Comments
 (0)