With the growth in public clouds, many enterprises who have deployments in AWS, Azure and GCP are using terraform in DevOps and CICD initiatives. Terraform is an open source tool for provisioning and deployment of both public and private cloud infrastructures. You can create, change and improve production infrastructure safely and predictably using Terraform. Like other DevOps tools, terraform also uses APIs abstraction through declarative configuration files that can be shared amongst team members, treated as code, edited, reviewed, and versioned.
Automation in the network is pivotal for DevOps success and as F5 plays an important role in our customers network, we developed the F5 provider plugin for terraform for F5 deployments. Now, using Terraform, customers can deploy F5 BIG-IP in Public clouds using F5 BIG-IP YAML or JSON templates. The terraform F5 Provider is available at https://github.com/f5devcentral/terraform-provider-bigip repository
How do you start using F5 Terraform Provider?
1. Make sure your Go environment is setup properly, you can check by using command go env
$ go env
2. Download the F5 BIG-IP terraform provider source code from the repository
$ go get https://github.com/f5devcentral/terraform-provider-bigip
3. This will create folder and sub folders in your environment as shown below
bigip launch_bigip.tf CHANGES.md terraform-provider-bigip vendor examples
4. You need to fix any dependencies as per your development environment and build the binary image by executing go build command in the terraform-provider-bigip folder before using F5 BIG-IP terraform provider.
Once the F5 BIG-IP Cloud formation template facilitates onboarding of BIG-IP in AWS cloud then you can do operational tasks like creating VIPs, Pools etc using F5 BIG-IP terraform provider. We have many resources already available for F5 BIG-IP like irule, VIPs, route, profiles etc. The complete list can be seen at https://github.com/f5devcentral/terraform-provider-bigip/tree/master/bigip
We are adding more resources as we speak please visit GitHub https://github.com/f5devcentral/terraform-provider-bigip/tree/master/bigip for list of resources. If you encounter any problems, please create an issue at https://github.com/f5devcentral/terraform-provider-bigip/issues one of us will get back to you. I hope this is helpful and keep an eye out for more to come.