/terraform-provider-junos

Unofficial Terraform provider for Junos (forked from jeremmfr)

Primary LanguageGoMIT LicenseMIT

terraform-provider-junos

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

This is an unofficial terraform provider for Junos devices with netconf protocol, forked from jeremmfr

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/dark1587/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, ...)