Instructions for popular operating systems can be found here.
The terraform configuration must:
registry.terraform.io/Juniper/mist
) or just Juniper/mist
.terraform {
required_providers {
mist = {
source = "registry.terraform.io/Juniper/mist"
}
}
}
provider "mist" {
host = "api.mist.com"
apitoken = "xxxxxxxxxxxxxxxxxxxxxxxxx"
}
Run the following at a command prompt while in the same directory as the configuration file to fetch the Mist provider plugin:
terraform init
Mist credentials can be supplied in the provider configuration block or through environment variables (recommended):
API Token:
export MIST_APITOKEN=<apitoken>
Username and Password:
export MIST_USERNAME=<username>
export MIST_PASSWORD=<password>
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).