/terraform-provider-junos

Terraform's provider for Junos devices (unofficial)

Primary LanguageGoMIT LicenseMIT

terraform-provider-junos

GitHub release (latest by date) Go Status Lint Status Go Report Card Website License

This is an unofficial terraform provider for Junos devices with netconf protocol

See website for provider and resources documentation.

Requirements

  • Terraform 0.12.x
  • Go 1.13 (to build the provider plugin)

Install (without build)

Download latest version in releases

$ tfPath=$(which terraform | rev | cut -d'/' -f2- | rev)
$ tar -zxvf terraform-provider-junos*.tar.gz -C ${tfPath}

Building The Provider

$ git clone https://github.com/jeremmfr/terraform-provider-junos.git
$ cd terraform-provider-junos && git fetch --tags
$ latestTag=$(git describe --tags `git rev-list --tags --max-count=1`)
$ git checkout ${latestTag}
$ tfPath=$(which terraform | rev | cut -d'/' -f2- | rev)
$ go build -o ${tfPath}/terraform-provider-junos_${latestTag}
$ unset latestTag tfPath

Some Junos parameters are not included in provider for various reasons (time, utility, understanding, ...)