Skip to content

Commit ecd3d64

Browse files
author
Chris Cooper
committed
shows examples in readme
1 parent 91ca81c commit ecd3d64

File tree

1 file changed

+37
-0
lines changed

1 file changed

+37
-0
lines changed

README.md

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,39 @@
11
# cf_parameter_generator
22
Do you need to write a ton of CloudFormation instead of Terraform for some reason? Is it annoying to have to type ParameterKey and ParameterValue a million times and copying the Parameter names into a parameters file? Well, now you don't have to.
3+
4+
## Examples
5+
6+
Printing output to command line:
7+
8+
$ cf_parameter_generator -f /Users/cmc/some_cf_file.json
9+
[
10+
{
11+
"ParameterKey": "AWSaccount",
12+
"ParameterValue": ""
13+
},
14+
{
15+
"ParameterKey": "AmazonEC2FullAccessARN",
16+
"ParameterValue": ""
17+
},
18+
{
19+
"ParameterKey": "AmazonRoute53FullAccessARN",
20+
"ParameterValue": ""
21+
},
22+
{
23+
"ParameterKey": "AppTierFleetSize",
24+
"ParameterValue": ""
25+
},
26+
{
27+
"ParameterKey": "AppTierInstanceType",
28+
"ParameterValue": ""
29+
},
30+
{
31+
"ParameterKey": "ApplicationName",
32+
"ParameterValue": ""
33+
}
34+
]
35+
36+
Saving output to a new file (will overwrite existing)
37+
38+
$ cf_parameter_generator -f local_file.json -o /Path/to/output.json
39+

0 commit comments

Comments
 (0)