Skip to content

Configuring the pnap provider

Danilo Danicic edited this page Jun 24, 2021 · 2 revisions

The pnap provider is used to interact with Bare Metal Cloud resources. You can use it to deploy and destroy bare metal machines as well as perform different actions on those servers.

To install the provider, copy and paste this code into your Terraform configuration. Then, run terraform init.

terraform {
  required_providers {
    pnap = {
      source = "phoenixnap/pnap"
      version = "0.6.0"
    }
  }
}

provider "pnap" {
  # Your configuration options here
  #
  #
  #
}

Check out the Example usage wiki page for instruction on how to configure your BMC resources.

Clone this wiki locally