terraform-provider-mist

command module
v0.1.20 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 27, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

README

terraform-provider-mist

Requirements

Getting Started

Install Terraform

Instructions for popular operating systems can be found here.

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.
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:

terraform init
Credentials

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>
Start configuring resources

Full documentation for provider, resources and data sources can be found here.

Contributing

See the open issues for a full list of proposed features (and known issues).

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
internal

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL