Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/maheshrijal/terraform-ec2-instance
- Owner: maheshrijal
- Created: 2021-03-12T12:17:08.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2023-12-27T17:06:41.000Z (about 1 year ago)
- Last Synced: 2024-12-23T19:48:59.982Z (about 1 month ago)
- Language: HCL
- Homepage:
- Size: 18.6 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Security: security_group.tf
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