51 lines
1.2 KiB
HCL
Executable File
51 lines
1.2 KiB
HCL
Executable File
variable "project" {
|
|
description = "Project name"
|
|
type = string
|
|
}
|
|
|
|
variable "env" {
|
|
description = "Environment/Stage"
|
|
type = string
|
|
}
|
|
|
|
variable "jenkins_version" {
|
|
description = "Define the version of Jenkins that needs to be installed"
|
|
type = string
|
|
default = ""
|
|
}
|
|
|
|
variable "jenkins_url" {
|
|
description = "Define the url on which Jenkins should be reachable"
|
|
type = string
|
|
default = "stg-jenkins.build.edubase.malmberg.nl"
|
|
}
|
|
|
|
variable "loadbalancer_name" {
|
|
description = "Define name for the ELB"
|
|
type = string
|
|
default = "stg-jenkins"
|
|
}
|
|
|
|
variable "loadbalancer_certificate" {
|
|
description = "Define certificate for ELB"
|
|
type = string
|
|
default = "arn:aws:acm:eu-west-1:439778125761:certificate/07ea8bf6-f5ae-4c65-ae87-921fc29c980f"
|
|
}
|
|
|
|
variable "ami_id" {
|
|
description = "Define the AMI for the Jenkins master"
|
|
type = string
|
|
default = "ami-03a779dec4508895a"
|
|
}
|
|
|
|
variable "instance_type" {
|
|
description = "EC2 Instance type for the Jenkins master"
|
|
type = string
|
|
default = "c5.xlarge"
|
|
}
|
|
|
|
variable "persistent_volume_id" {
|
|
description = "Define ID of the persistent volume"
|
|
type = string
|
|
default = "vol-03dde8c1fabe3de46"
|
|
} |