jenkins
IGNW/jenkins/aws
Terraform module to deploy Jenkins Master->Slave cluster on AWS.
Jenkins AWS Module This repo contains a Module for how to deploy a Jenkins cluster on AWS using Terraform. Jenkins is a distributed automation server, generally associated with Continuous Integration (CI) and Continuous Delivery (CD). A Jenkins cluster typically involves one or more master instance(s) coupled with one or more slave instance(s): !Jenkins architecture How to use this Module Each Module has the following folder structure: root: This folder shows an example of Terraform code that uses the jenkins-master and jenkins-slave module(s) to deploy a Jenkins cluster in AWS. modules: This folder contains the reusable code for this Module, broken down into one or more modules. examples: This folder contains examples of how to use the modules. test: Automated tests for the modules and ex
| Name | Type | Description | Default |
|---|---|---|---|
| name | any | Name to be used on all instances as prefix | "" |
| win_slave_count | any | Number of windows slave instances to launch | 1 |
| linux_slave_count | any | Number of linux slave instances to launch | 1 |
| aws_region | any | The AWS region to deploy into (e.g. us-east-1). | "us-east-1" |
| master_ami_id | any | ID of AMI to use for master instance(s) | "" |
| linux_slave_ami_id | any | ID of AMI to use for linux slave instance(s) | "" |
| win_slave_ami_id | any | ID of AMI to use for windows slave instance(s) | "" |
| instance_type_master | any | Instance Type to use for master instance(s) | "t2.micro" |
| http_port | any | The port to use for HTTP traffic to Jenkins | 8080 |
| jnlp_port | any | The Port to use for Jenkins master to slave communication bewtween instances | 49187 |
| instance_type_slave | any | Instance Type to use for slave instance(s) | "t2.micro" |
| ssh_key_name | any | The name of an EC2 Key Pair that can be used to SSH to the EC2 Instances in this | "" |
| ssh_key_path | any | The path of an EC2 Key Pair that can be used to SSH to the EC2 Instances in this | "" |
| plugins | any | A list of Jenkins plugins to install, use short names. | [
"git",
"xunit"
] |
| tags | any | Supply tags you want added to all resources | {} |
setup_data_master