Terraform Tutorial is the set of examples of Terraform modules that is building the EC2 Instance with jenkins infrastructure resources on AWS Cloud.
To learn about module, follow the readme of each module.
- Terraform: v0.11.14
- Terraform Docs: https://www.terraform.io/docs/configuration-0-11/index.html
module "ec2_instance" {
source = "git::https://github.com/easyawslearn/Terraform-Tutorial.git/EC2withJenkins"
region = "us-west-2"
key-name = "ec2-demo"
instance_type = "t2.micro"
}
Name | Description | Type | Default | Required |
---|---|---|---|---|
region | AWS region | string | us-east-1 | yes |
key-name | ec2 access key name | string | ec2-demo | yes |
instance_type | ec2 instance_type | string | t2.micro | yes |