This is a Terraform provider for Juniper Apstra. It relies on a Go client library at https://github.com/Juniper/apstra-go-sdk
Instructions for popular operating systems can be found here.
The terraform configuration must:
.tf
file extension. terraform {
required_providers {
apstra = {
source = "Juniper/apstra"
}
}
}
provider "apstra" {
url = "<apstra-server-url>"
}
Run the following at a command prompt while in the same directory as the configuration file to fetch the Apstra provider plugin.
terraform init
export APSTRA_USER=<username>
export APSTRA_PASS=<password>
Alternatively, credentials can be embedded in the URL using HTTP basic
authentication format (we don't actually do basic authentication, but the
format is: https://user:pass@host
). Any special characters in the username
and password must be URL-encoded when using this approach.
Full documentation for provider, resources and data sources can be found here.
See the open issues for a full list of proposed features (and known issues).
View the Roadmap if you would like to see what is next on our plate.
Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!
git checkout -b feature/AmazingFeature
)git commit -m 'Add some AmazingFeature'
)git push origin feature/AmazingFeature
)