terraform-aws-jenkins — Cloud Posse Developer Hub

#1
namespace Namespace (e.g. cp or cloudposse) Yes stage Stage (e.g. prod, dev, staging) Yes name jenkins Name of the application Yes description Used as Elastic Beanstalk application description Yes aws_region us-west-2 AWS Region to provision all the AWS resources in Yes solution_stack_name 64bit Amazon Linux 2017.09 v2.8.4 running Docker 17.09.1-ce Elastic Beanstalk stack Yes master_instance_type t2.medium EC2 instance type for Jenkins master Yes vpc_id AWS VPC ID where module should operate (e.g. vpc-a22222ee) Yes availability_zones List of Availability Zones for EFS Yes healthcheck_url /login Application Health Check URL. Elastic Beanstalk will call this URL to check the health of the application running on EC2 instances Yes loadbalancer_type application Load Balancer type, e.g. application or classic Yes loadbalancer_certificate_arn Load Balancer SSL certificate ARN. The certificate must be present in AWS Certificate Manager Yes public_subnets List of public subnets to place Elastic Load Balancer Yes private_subnets List of private subnets to place EC2 instances and EFS Yes zone_id Route53 parent zone ID. The module will create sub-domain DNS records in the parent zone for the EB environment and EFS Yes security_groups [] List of security groups to be allowed to connect to the EC2 instances No ssh_key_pair ”” Name of SSH key that will be deployed on Elastic Beanstalk and DataPipeline instances. The key should be present in AWS No github_oauth_token ”” GitHub Oauth Token for accessing private repositories. Leave it empty when deploying a public Jenkins repository No github_organization cloudposse GitHub organization, e.g. cloudposse. By default, this module will deploy https://github.com/cloudposse/jenkins repository Yes github_repo_name jenkins GitHub repository name, e.g. jenkins. By default, this module will deploy https://github.com/cloudposse/jenkins repository Yes github_branch master GitHub repository branch, e.g. master. By default, this module will deploy https://github.com/cloudposse/jenkins master branch Yes build_image aws/codebuild/docker:1.12.1 CodeBuild build image Yes build_compute_type BUILD_GENERAL1_SMALL CodeBuild compute type (instance type) Yes aws_account_id AWS Account ID. Used as CodeBuild ENV variable $AWS_ACCOUNT_ID when building Docker images Yes image_tag latest Docker image tag in the ECR repository, e.g. latest. Used as CodeBuild ENV variable $IMAGE_TAG when building Docker images Yes env_default_key DEFAULTENV%d Default ENV variable key for Elastic Beanstalk aws:elasticbeanstalk:application:environment setting No env_default_value UNSET Default ENV variable value for Elastic Beanstalk aws:elasticbeanstalk:application:environment setting No env_vars {} Map of custom ENV variables to be provided to the Jenkins application running on Elastic Beanstalk No noncurrent_version_expiration_days 35 S3 object versions expiration period (days) for backups No datapipeline_config ${map(“instance_type”, “t2.micro”, “email”, “”, “period”, “24 hours”, “timeout”, “60 Minutes”)}” DataPipeline configuration options Yes attributes [] Additional attributes (e.g. vpc) No tags {} Additional tags (e.g. map("BusinessUnit","ABC") No delimiter - Delimiter to be used between name, namespace, stage and attributes No

This is a companion discussion topic for the original entry at https://docs.cloudposse.com/terraform-modules/cicd/terraform-aws-jenkins/