Skip to content

Commit

Permalink
chore: Update backend configuration file path for Terraform
Browse files Browse the repository at this point in the history
  • Loading branch information
ulises-jeremias committed Jul 4, 2024
1 parent 3e2fca8 commit c192981
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
5 changes: 3 additions & 2 deletions live/common-infra/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@

2. **Check the Terraform Backend Configuration:**

Verify that the backend configuration is set correctly in the `configs/prod-backend.tfvars` file.
Verify that the backend configuration is set correctly in the `backend.tf` file.

```hcl
terraform {
Expand All @@ -42,6 +42,7 @@
encrypt = "true"
}
}
```

Replace the placeholder values with the actual bucket name, key, region, and DynamoDB table name.
Expand All @@ -51,7 +52,7 @@
Initialize the working directory with the required providers and modules:

```sh
terraform init -backend-config="configs/prod-backend.tfvars"
terraform init
```

4. **Workspace Management:**
Expand Down
7 changes: 4 additions & 3 deletions live/core-networking/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@

2. **Check the Terraform Backend Configuration:**

Verify that the backend configuration is set correctly in the `configs/prod-backend.tfvars` file.
Verify that the backend configuration is set correctly in the `backend.tf` file.

```hcl
terraform {
Expand All @@ -44,6 +44,7 @@
encrypt = "true"
}
}
```

Replace the placeholder values with the actual bucket name, key, region, and DynamoDB table name.
Expand All @@ -53,7 +54,7 @@
Initialize the working directory with the required providers and modules:

```sh
terraform init -backend-config="configs/prod-backend.tfvars"
terraform init
```

4. **Workspace Management:**
Expand Down Expand Up @@ -139,7 +140,7 @@ echo "Bastion IP: $bastion_public_ip"
#### Connect to Bastion Host
```bash
ssh -i "/tmp/ssh_key.pem" ubuntu@ec2-"$bastion_public_ip".compute.amazonaws.com
ssh -i "/tmp/ssh_key.pem" "ubuntu@ec2-$bastion_public_ip.us-west-2.compute.amazonaws.com"
```
Ensure that you can access the database from the bastion host and verify that Docker is functioning correctly.
Expand Down

0 comments on commit c192981

Please sign in to comment.