Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
orenfromberg committed Sep 13, 2019
1 parent dc739d6 commit 9ca13e7
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@

## dev-machine

This module will provision an instance running ubuntu that can be used for web development.
This module will provision an EC2 instance running ubuntu that can be used for web development.

To use it, get your ip address and apply the following terraform:
To use it, get your ip address and add the following terraform:

```terraform
module "my-instance" {
Expand All @@ -15,7 +15,13 @@ module "my-instance" {
```
Make sure you are using the desired tagged release.

Once it is complete, you'll have an identity file `identity.pem` (and `ip_address.txt`) in your local directory.
then run:
```sh
$ terraform init
$ terraform apply
```

Once the command is complete, you'll have an identity file `identity.pem` and `ip_address.txt` created in your local directory.

Now ssh to the instance using the following command:
```sh
Expand Down

0 comments on commit 9ca13e7

Please sign in to comment.