
Security News
Crates.io Users Targeted by Phishing Emails
The Rust Security Response WG is warning of phishing emails from rustfoundation.dev targeting crates.io users.
github.com/AviatrixSystems/terraform-provider-aviatrix/v2
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.
go/
, follow this doc to edit ~/.bash_profile
to setup the GOPATH environment variableClone 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
Run the following command:
$ make build13
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
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
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"
}
}
}
Check examples and documentation here
Visit here for the complete documentation for all resources on github
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:
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.
FAQs
Unknown package
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
The Rust Security Response WG is warning of phishing emails from rustfoundation.dev targeting crates.io users.
Product
Socket now lets you customize pull request alert headers, helping security teams share clear guidance right in PRs to speed reviews and reduce back-and-forth.
Product
Socket's Rust support is moving to Beta: all users can scan Cargo projects and generate SBOMs, including Cargo.toml-only crates, with Rust-aware supply chain checks.