Skip to content

It contains Terraform Code to Deploy Jenkins on AWS ECS Cluster

License

Notifications You must be signed in to change notification settings

vitulrana/terraform-aws-jenkins-on-ecs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Jenkins Setup on ECS Cluster

There are few things which needs to be there already in your Account

To Create Cluster on AWS EC2 Using ECS Cluster

terraform init

terraform apply -var profile=aws-dev -var key_name=foo ecs_execution_role_arn=foo ecs_task_role_arn=foo

Instead of Passing the Variables from Command Line, you can always provide the values by using vars.tf or creating .tfvars file.

Requirements

No requirements.

Providers

Name Version
aws n/a

Modules

No modules.

Resources

Name Type
aws_default_route_table.jenkins-default-route-table resource
aws_default_security_group.jenkins-default-sg resource
aws_ecs_cluster.jenkins_cluster resource
aws_ecs_service.jenkins resource
aws_ecs_task_definition.jenkins-task resource
aws_instance.jenkins-instance resource
aws_internet_gateway.jenkins-igw resource
aws_subnet.jenkins-pub-sn resource
aws_vpc.jenkins resource

Inputs

Name Description Type Default Required
ami n/a string "ami-0e13e0df31e6aa478" no
ecs_execution_role_arn n/a string "" no
ecs_task_role_arn n/a string "" no
instance_type n/a string "t2.micro" no
key_name n/a string "" no
profile n/a string "default" no
public_subnet_cidr n/a string "10.0.0.0/24" no
region n/a string "ap-south-1" no
subnet-az n/a string "ap-south-1a" no
vpc_cidr n/a string "10.0.0.0/16" no

Outputs

Name Description
public_dns n/a

About

It contains Terraform Code to Deploy Jenkins on AWS ECS Cluster

Topics

Resources

License

Stars

Watchers

Forks