August 2019
Beginner
608 pages
16h 7m
English
In this file, a lot of the variables are defined for the GitLab module. All of them can be overridden, but have a default value set. The first variable is expected as an argument and it defines the region. This makes this module usable in multiple AWS regions:
variable "region" { description = "Which Amazon region this instance will run" }
Another input for this module is the type of Amazon instance we are using:
variable "instance_type" { description = "Which type of Amazon EC2 instance to use" }
For each region, we define the base image to be used:
variable "aws_ubuntu_amis" { description = "List of default AMI images per region" default = { "eu-central-1" = "ami-0f041b9708f60ca57" "us-west-2" ...Read now
Unlock full access