Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/maheshrijal/terraform-ec2-instance

Terraform script to create <n> ec2 instances & output public ip
https://github.com/maheshrijal/terraform-ec2-instance

Last synced: about 1 month ago
JSON representation

Terraform script to create <n> ec2 instances & output public ip

Awesome Lists containing this project

README

        

# [Terraform](https://www.terraform.io/) script launches ec2 instance on aws

## How to run?

Create a [terraform.tfvars] file in the project directory & provide values to variables from the variables.tf file [Optional]

## Usage

```terraform
terraform init
terraform validate
terraform apply
```

## Connecting to Instances?
`ssh ec2-user@public-ip-address
`

# Coded in Terraform v0.14.7
### Tested in Terraform v1.1.7/aws v4.8.0