Since the repository contains git submodules, follow the below instructions prior to running the stack.
- cd [repository-directory]
- git submodule update --init --recursive
Now for the Terraform stack itself,
- Update my_ip_address within
terraform.tfvars
, this is used for SG's and access to Jenkins via HTTP & SSH (Use127.0.0.1/32
format) - Create SSH key within your account (or use an existing one) and provide key pair name within
terraform.tfvars
Jenkins declaration.
Deploy!
- Terraform init
- Terraform apply
No requirements.
Name | Version |
---|---|
aws | 4.45.0 |
Name | Source | Version |
---|---|---|
basic-networking | ./modules/basic-networking | n/a |
jenkins | ./modules/jenkins | n/a |
Name | Type |
---|---|
aws_availability_zones.available | data source |
Name | Description | Type | Default | Required |
---|---|---|---|---|
availability_zones | Availability Zones | list |
n/a | yes |
environment | Environment for networking setup | any |
n/a | yes |
my_ip_address | My IP Address, used in SG for Jenkins access | any |
n/a | yes |
private_subnets_cidr | CIDR for Private Subnets | list |
n/a | yes |
public_subnets_cidr | CIDR for Public Subnets | any |
n/a | yes |
region | AWS Deployment region | any |
n/a | yes |
vpc_cidr | CIDR for VPC | any |
n/a | yes |
No outputs.