Skip to content

Commit f6850ce

Browse files
authored
Update README.md (#12)
Minor updates to README.md
1 parent f858627 commit f6850ce

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -289,9 +289,9 @@ Outputs:
289289
For AWS CLI commands, please specify the region using the --region option.
290290

291291
#### Note:
292-
Every command needs to output the desired value into the reserved file "/command-output.txt" like the following example.
292+
Every command needs to output the desired value into the reserved file "/command-output.txt" like the following example. The value written to the file must be a single word value without quotation marks like `vpc-0a12ab123abc9876` as they are intended to be used inside the CloudFormation template using `Fn::GetAtt`.
293293

294-
`aws s3 ls > /command-output.txt`
294+
`aws ec2 describe-vpcs --query Vpcs[0].VpcId --output text > /command-output.txt`
295295

296296
#### Note:
297297
The command is run on the latest Amazon Linux 2 AMI in your region.
@@ -383,9 +383,9 @@ Outputs:
383383

384384
# Return Values
385385

386-
### Ref
386+
### Fn::GetAtt
387387

388-
Users can reference the output of the command outputted to /command-output.txt using Fn::GetAtt like in the following syntax.
388+
Users can reference the output of the command written to `/command-output.txt` using `Fn::GetAtt` like in the following syntax.
389389

390390
```yaml
391391
Outputs:

0 commit comments

Comments
 (0)