Megaport Provider
Generate Provider
The Megaport provider must be installed as a Local Package by following the instructions for Any Terraform Provider:
pulumi package add terraform-provider megaport/megaport
Overview
The pulumi-provider-megaport
or Megaport Pulumi Provider lets you create and manage
Megaport’s product and services using the Megaport API.
This provides an opportunity for true multi-cloud hybrid environments supported by Megaport’s Software Defined Network (SDN). Using the Pulumi provider, you can create and manage Ports, Virtual Cross Connects (VXCs), Megaport Cloud Routers (MCRs), Megaport Virtual Edges (MVEs), and Partner VXCs.
The Megaport Pulumi Provider is released as a tool for use with the Megaport API.
Important: The usage of the Megaport Pulumi Provider constitutes your acceptance of the terms available in the Megaport Acceptable Use Policy and Global Services Agreement.
Configuring the provider
First you’ll need to create an API key, docs for which can be found here.
# Pulumi.yaml provider configuration file
name: configuration-example
runtime:
config:
megaport:acceptPurchaseTerms:
value: true
megaport:accessKey:
value: access_key
megaport:environment:
value: staging
megaport:secretKey:
value: secret_Key
megaport:waitTime:
value: 20