File tree Expand file tree Collapse file tree 1 file changed +22
-1
lines changed Expand file tree Collapse file tree 1 file changed +22
-1
lines changed Original file line number Diff line number Diff line change 1
1
# Terraform-Tutorial # Jenkins Install in EC2 Instance
2
2
3
3
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
5
5
infrastructure resources on AWS Cloud.
6
6
7
7
To learn about module, follow the readme of each module.
@@ -10,3 +10,24 @@ To learn about module, follow the readme of each module.
10
10
11
11
- ** Terraform** : v0.11.14
12
12
- ** 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 |
You can’t perform that action at this time.
0 commit comments