https://github.com/juniper/terraform-provider-mist
Terraform Provider for Juniper Mist
https://github.com/juniper/terraform-provider-mist
automation juniper-mist terraform terraform-provider
Last synced: about 1 year ago
JSON representation
Terraform Provider for Juniper Mist
- Host: GitHub
- URL: https://github.com/juniper/terraform-provider-mist
- Owner: Juniper
- License: apache-2.0
- Created: 2024-07-15T22:10:44.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2025-04-29T15:02:10.000Z (about 1 year ago)
- Last Synced: 2025-04-29T16:22:35.666Z (about 1 year ago)
- Topics: automation, juniper-mist, terraform, terraform-provider
- Language: Go
- Homepage: https://registry.terraform.io/providers/Juniper/mist/latest
- Size: 9.84 MB
- Stars: 7
- Watchers: 2
- Forks: 4
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# terraform-provider-mist
## Requirements
- [Terraform](https://developer.hashicorp.com/terraform/downloads) >= 1.8
- [Go](https://golang.org/doc/install) >= 1.22.7
## Getting Started
### Install Terraform
Instructions for popular operating systems can be found [here](https://developer.hashicorp.com/terraform/tutorials/aws-get-started/install-cli).
### Create a Terraform configuration
The terraform configuration must:
* Be named with a .tf file extension.
* Reference this provider by its global address (`registry.terraform.io/Juniper/mist`) or just `Juniper/mist`.
* Include a provider configuration block which tells the provider which Mist Cloud must be used and which credentials to use.
```hcl
terraform {
required_providers {
mist = {
source = "registry.terraform.io/Juniper/mist"
}
}
}
provider "mist" {
host = "api.mist.com"
apitoken = "xxxxxxxxxxxxxxxxxxxxxxxxx"
}
```
### Terraform Init
Run the following at a command prompt while in the same directory as the configuration file to fetch the Mist provider plugin:
```console
terraform init
```
### Credentials
Mist credentials can be supplied in the provider configuration block or through environment variables (recommended):
* API Token:
```console
export MIST_APITOKEN=
```
* Username and Password:
```console
export MIST_USERNAME=
export MIST_PASSWORD=
```
### Start configuring resources
Full documentation for provider, resources and data sources can be found [here](https://registry.terraform.io/providers/Juniper/mist/latest/docs).
## Contributing
See the open issues for a full list of proposed features (and known issues).