All Projects → f5devcentral → terraform-provider-bigip-old

f5devcentral / terraform-provider-bigip-old

Licence: MPL-2.0 license
This Repo is Deprecated please refer to https://github.com/terraform-providers/terraform-provider-bigip Provider is Published !

Programming Languages

go
31211 projects - #10 most used programming language
HTML
75241 projects

This repo is Deprecated please use https://github.com/terraform-providers/terraform-provider-bigip

Overview

A Terraform provider for F5 BigIP LTM.

Build Status Go Report Card license Gitter chat

Requirements

  • Terraform 0.10.x
  • Go 1.9 (to build the provider plugin)

F5 BigIP LTM requirements

  • This provider uses the iControlREST API, make sure that it is installed and enabled on your F5 device before proceeding.
  • All the resources are validated with BigIP v12.1.1

Dcoumentation

Provider documentation and reference can be found here.

Quick Start with BIG-IP Provider

Install appropriate Go package from https://golang.org/dl/ make sure your go version is 1.9 & above

go version
go version go1.9.2 darwin/amd64

mkdir workspace
export GOPATH=$HOME/workspace
mkdir -p $GOPATH/src/github.com/f5devcentral
cd $GOPATH
go get github.com/f5devcentral/terraform-provider-bigip
cd src/github.com/f5devcentral/terraform-provider-bigip/
go build
create .tf
terraform init
Initializing provider plugins...

Terraform has been successfully initialized!

You may now begin working with Terraform. Try running "terraform plan" to see
any changes that are required for your infrastructure. All Terraform commands
should now work.

If you ever set or change modules or backend configuration for Terraform,
rerun this command to reinitialize your working directory. If you forget, other
commands will detect it and remind you to do so if necessary.

Building

Create the distributable packages like so:

make get-deps && make bin && make dist

See these pages for more information:

Testing

Running the acceptance test suite requires an F5 to test against. Set BIGIP_HOST, BIGIP_USER and BIGIP_PASSWORD to a device to run the tests against. By default tests will use the Common partition for creating objects. You can change the partition by setting BIGIP_TEST_PARTITION.

BIGIP_HOST=f5.mycompany.com BIGIP_USER=foo BIGIP_PASSWORD=secret make testacc

Read here for more information about acceptance testing in Terraform.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].