Skip to content

Commit cbeca5a

Browse files
author
Gabriel Monroy
committed
docs(ec2): add CLI key import, explicit chdir
1 parent a8869a9 commit cbeca5a

2 files changed

Lines changed: 5 additions & 1 deletion

File tree

contrib/ec2/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Default output format [None]:
2222
Generate and upload a new keypair to AWS, ensuring that the name of the keypair is set to "deis".
2323
```console
2424
$ ssh-keygen -q -t rsa -f ~/.ssh/deis -N '' -C deis
25-
$ aws ec2 import-key-pair --key-name deis --public-key-material file://~/.ssh/id_rsa.pub
25+
$ aws ec2 import-key-pair --key-name deis --public-key-material file://~/.ssh/deis
2626
```
2727

2828
## Customize cloudformation.json

contrib/ec2/cloudformation.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,9 @@
22
{
33
"ParameterKey": "KeyPair",
44
"ParameterValue": "deis"
5+
},
6+
{
7+
"ParameterKey": "DiscoveryURL",
8+
"ParameterValue": "https://discovery.etcd.io/06f9b54a2ffe65f072109924604b4cd7"
59
}
610
]

0 commit comments

Comments
 (0)