Skip to content

Commit 57ea0c1

Browse files
committed
move tfvars example in README
1 parent eed10a0 commit 57ea0c1

File tree

3 files changed

+11
-8
lines changed

3 files changed

+11
-8
lines changed

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,6 @@ crash.*.log
211211
# to change depending on the environment.
212212
*.tfvars
213213
*.tfvars.json
214-
!stepfunctions-eventbridge-onpremise-tf/example.tfvars
215214

216215
# Ignore override files as they are usually used to override resources locally and so
217216
# are not checked in

stepfunctions-eventbridge-onpremise-tf/README.md

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,14 +28,23 @@ The VPC and connection to your datacenter are not provided by this example. Refe
2828
```
2929
cd stepfunctions-eventbridge-onpremise-tf
3030
```
31-
3. Copy and edit `example.tfvars` with your custom values
31+
3. Create a `.tfvars` file with the following variables (use your custom values)
32+
33+
```
34+
api_domain_name = "api.internal.mycompany.com"
35+
api_key_secret_arn = "arn:aws:secretsmanager:us-east-1:123456789012:secret:07a4e645-fc95-4a10-853a-410b1b1eca5b-012nZO"
36+
vpc_id = "vpc-0e03d4ab114e951be"
37+
private_subnet_ids = ["subnet-05d53fa850148290e","subnet-070324fd8bc5885a5"]
38+
on_premises_cidr = "172.32.0.0/20"
39+
```
40+
3241
4. From the command line, use Terraform to deploy the AWS resources:
3342
```
3443
terraform init
3544
terraform apply -var-file=your-variables.tfvars
3645
```
3746
38-
When prompted do you want to deploy the infrastructure, type ```yes``` and press enter.
47+
When prompted "Do you want to deploy the infrastructure", type ```yes``` and press enter.
3948
4049
5. Note the outputs from the terraform deployment process. These contain the resource ARNs which are used for testing.
4150

stepfunctions-eventbridge-onpremise-tf/example.tfvars

Lines changed: 0 additions & 5 deletions
This file was deleted.

0 commit comments

Comments
 (0)