All Projects → AviatrixSystems → terraform-provider-aviatrix

AviatrixSystems / terraform-provider-aviatrix

Licence: MPL-2.0 License
Terraform Aviatrix provider

Programming Languages

go
31211 projects - #10 most used programming language
HCL
1544 projects

Projects that are alternatives of or similar to terraform-provider-aviatrix

terraform-provider-elasticstack
Terraform provider for Elastic Stack
Stars: ✭ 61 (+144%)
Mutual labels:  terraform-provider
terraform-provider-databricks
Terraform Databricks provider
Stars: ✭ 16 (-36%)
Mutual labels:  terraform-provider
terraform-provider-kudo
Terraform provider for KUDO
Stars: ✭ 11 (-56%)
Mutual labels:  terraform-provider
terraform-provider-vix
VMware VIX provider for Terraform
Stars: ✭ 96 (+284%)
Mutual labels:  terraform-provider
terraform-provider-spinnaker
Terraform Provider to manage spinnaker pipelines
Stars: ✭ 36 (+44%)
Mutual labels:  terraform-provider
go-namecheap-sdk
Go library for Namecheap API
Stars: ✭ 25 (+0%)
Mutual labels:  terraform-provider
terraform-provider-ovirt
Terraform provider for oVirt 4.x
Stars: ✭ 125 (+400%)
Mutual labels:  terraform-provider
terraform-provider-nsxt
Terraform VMware NSX-T provider
Stars: ✭ 76 (+204%)
Mutual labels:  terraform-provider
terraform-provider-octopus
Octopus provider for Terraform
Stars: ✭ 22 (-12%)
Mutual labels:  terraform-provider
terrajet
Generate Crossplane Providers from any Terraform Provider
Stars: ✭ 159 (+536%)
Mutual labels:  terraform-provider
terraform-provider-logzio
Terraform provider for logz.io alerts, endpoints and users
Stars: ✭ 18 (-28%)
Mutual labels:  terraform-provider
terraform-provider-jira
Terraform Provider for JIRA
Stars: ✭ 59 (+136%)
Mutual labels:  terraform-provider
terraform-provider-sakuracloud
Terraform provider for SakuraCloud
Stars: ✭ 46 (+84%)
Mutual labels:  terraform-provider
terraform-provider-panos
Terraform Panos provider
Stars: ✭ 56 (+124%)
Mutual labels:  terraform-provider
terraform-provider-archive
Terraform archive provider
Stars: ✭ 54 (+116%)
Mutual labels:  terraform-provider
terraform-provider-opennebula
Terraform provider for OpenNebula
Stars: ✭ 38 (+52%)
Mutual labels:  terraform-provider
terraform-provider-selectel
Terraform Selectel provider
Stars: ✭ 15 (-40%)
Mutual labels:  terraform-provider
terraform-provider-lastpass
Terraform Lastpass provider
Stars: ✭ 55 (+120%)
Mutual labels:  terraform-provider
terraform-provider-mongodbatlas
Terraform MongoDB Atlas Provider: Deploy, update, and manage MongoDB Atlas configurations as code through HashiCorp Terraform
Stars: ✭ 125 (+400%)
Mutual labels:  terraform-provider
terraform-provider-bitbucket
This Terraform provider is archived per our provider archiving process: https://terraform.io/docs/internals/archiving.html
Stars: ✭ 30 (+20%)
Mutual labels:  terraform-provider

Terraform Provider

A basic Terraform provider for Aviatrix. Read this tutorial as an alternative to the README, only if the instructions are unclear.

-> NOTE: This release has a big structure change from release v1.*, please read this changelist-v2 first, and change your cloud infrastructures accordingly.

Requirements

  • Install Terraform 0.12.x/0.13.x/0.14.x/0.15.x (0.11.x or lower is incompatible)
  • Install Go 1.16+ (This will be used to build the provider plugin.)
  • Create a directory, go, follow this doc to edit ~/.bash_profile to setup the GOPATH environment variable)

Building The Provider (Terraform v0.12+)

Clone repository to: $GOPATH/src/github.com/AviatrixSystems/terraform-provider-aviatrix

$ mkdir -p $GOPATH/src/github.com/AviatrixSystems
$ cd $GOPATH/src/github.com/AviatrixSystems
$ git clone https://github.com/AviatrixSystems/terraform-provider-aviatrix.git

To clone on windows

mkdir %GOPATH%\src\github.com\AviatrixSystems
cd %GOPATH%\src\github.com\AviatrixSystems
git clone https://github.com/AviatrixSystems/terraform-provider-aviatrix.git

Enter the provider directory and build the provider

$ cd $GOPATH/src/github.com/AviatrixSystems/terraform-provider-aviatrix
$ make fmt
$ make build

To build on Windows

cd %GOPATH%\src\github.com\AviatrixSystems\terraform-provider-aviatrix
go fmt
go install

Building The Provider (Terraform v0.13+)

MacOS / Linux

Run the following command:

$ make build13

Windows

Run the following commands for cmd:

cd %GOPATH%\src\github.com\AviatrixSystems\terraform-provider-aviatrix
go fmt
go install
xcopy "%GOPATH%\bin\terraform-provider-aviatrix.exe" "%APPDATA%\terraform.d\plugins\aviatrix.com\aviatrix\aviatrix\99.0.0\windows_amd64\" /Y

Run the following commands if using powershell:

cd "$env:GOPATH\src\github.com\AviatrixSystems\terraform-provider-aviatrix"
go fmt
go install
xcopy "$env:GOPATH\bin\terraform-provider-aviatrix.exe" "$env:APPDATA\terraform.d\plugins\aviatrix.com\aviatrix\aviatrix\99.0.0\windows_amd64\" /Y

Using Aviatrix Provider (Terraform v0.12+)

Activate the provider by adding the following to ~/.terraformrc on Linux/Unix.

providers {
  "aviatrix" = "$GOPATH/bin/terraform-provider-aviatrix"
}

For Windows, the file should be at '%APPDATA%\terraform.rc'. Do not change $GOPATH to %GOPATH%.

In Windows, for terraform 0.11.8 and lower use the above text.

In Windows, for terraform 0.11.9 and higher use the following at '%APPDATA%\terraform.rc'

providers {
  "aviatrix" = "$GOPATH/bin/terraform-provider-aviatrix.exe"
}

If the rc file is not present, it should be created

Using Aviatrix Provider (Terraform v0.13+)

For Terraform v0.13+, to use a locally built version of a provider you must add the following snippet to every module that you want to use the provider in.

terraform {
  required_providers {
    aviatrix = {
      source  = "aviatrix.com/aviatrix/aviatrix"
      version = "99.0.0"
    }
  }
}

Examples

Check examples and documentation here

Visit here for the complete documentation for all resources on github

Controller version

Due to some non-backward compatible changes in REST API not all controller versions are supported. If you find a branch with the controller version please use that branch Controller versions older than 3.3 are not supported For example:

  • UserConnect-3.3 for 3.3.x controller version
  • UserConnect-3.4 for 3.4.x controller version

master branch is a development branch, thus it is unverified for all use cases and supports features that may not be available in the latest released version of the controller. For production use cases, please only use a released version from the Terraform Registry.

We also recommend you to update to the latest controller version to stay on top of fixes/features.

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].