Skip to content

Commit faee8dc

Browse files
committed
added readme for ec2for jenkins
1 parent d1384a9 commit faee8dc

File tree

1 file changed

+22
-1
lines changed

1 file changed

+22
-1
lines changed

EC2withJenkins/README.md

Lines changed: 22 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Terraform-Tutorial # Jenkins Install in EC2 Instance
22

33

4-
Terraform Tutorial is the set of examples of [Terraform](https://www.terraform.io/) modules that is building the EC2 Instance witj jenkins
4+
Terraform Tutorial is the set of examples of [Terraform](https://www.terraform.io/) modules that is building the EC2 Instance witj jenkins
55
infrastructure resources on AWS Cloud.
66

77
To learn about module, follow the readme of each module.
@@ -10,3 +10,24 @@ To learn about module, follow the readme of each module.
1010

1111
- **Terraform**: v0.11.14
1212
- **Terraform Docs**: https://www.terraform.io/docs/configuration-0-11/index.html
13+
14+
## Usage
15+
16+
```hcl
17+
module "ec2_instance" {
18+
source = "git::https://github.com/easyawslearn/Terraform-Tutorial.git/EC2withJenkins"
19+
20+
region = "us-west-2"
21+
key-name = "ec2-demo"
22+
instance_type = "t2.micro"
23+
24+
}
25+
```
26+
27+
## Inputs
28+
29+
| Name | Description | Type | Default | Required |
30+
|------|-------------|:----:|:-----:|:-----:|
31+
| region | AWS region | string | us-east-1 | yes |
32+
| key-name | ec2 access key name | string | ec2-demo | yes |
33+
| instance_type | ec2 instance_type | string | t2.micro | yes |

0 commit comments

Comments
 (0)