/f5-terraform-cicd-demo-public

A simple repository that IaC concepts through Github Actions, Terraform, and Ansible Tower.

Primary LanguageHCL

F5, Github Actions, Terraform, and Ansible Demo

A series of Terraform templates and Ansible playbook that demonstrates how Github Actions, Terraform Cloud, and Ansible can be leveraged to achieve infrastructure as code for F5 BIG-IP devices

Diagram2

Architecture Diagram

Diagram1

Requirements

Name Version
terraform >= 0.13.5
aws >= 2.3
null >= 3.0
random >= 2.3
template >= 2.1

Providers

Name Version
aws >= 2.3
null >= 3.0

Inputs

Name Description Type Default
key_pair n/a any n/a
bigip_count Number of F5 BIG-IPs in cluster to provision number 2
nginx_count Number of Nginx nodes in cluster to provision number 3
tower_server Hostname or IP address of Ansible Tower server Ansible Playbook will be executed on. any n/a
tower_username Username to authenticate into Ansible Tower server. any n/a
tower_password Password to authenticate into Ansible Tower server. any n/a
tower_job_id Ansible Tower job ID for the Ansible Tower job to be executed as part of the Terraform job. any n/a

Outputs

Name Description
bigip_management_ips List of management public IPs to access provisioned F5 appliances.
nlb_dns_name DNS name for tier one load balancer that targets the F5 demo VIP.