Patrick de Ruiter c9edecd4ad
Added files
2020-06-24 11:31:27 +02:00

32 lines
306 B
Markdown

# Terraform bastion test
### Generate ssh keys
```
source ./init.sh
```
### Init terraform
```
terrafrom init
```
### Plan changes
```
terrafrom plan
```
### Apply changes
```
terrafrom apply
```
### Test bastion is up
```
ssh -i <key> ec2-user@<bastion-ip>
```
### Destroy
```
terrafrom destroy
```