Port Terraform Provider

Slack

Port is the Developer Platform meant to supercharge your DevOps and Developers, and allow you to regain control of your environment.

Documentation

Requirements

Installation

Terraform utilizes the Terraform Registry to download and install providers. To install the port provider, copy and paste the following code into your Terraform file:

terraform {
  required_providers {
    port = {
      source  = "port-labs/port-labs"
      version = "~> 2.0.0"
    }
  }
}

provider "port" {
  client_id = "{YOUR CLIENT ID}"     # or set the environment variable PORT_CLIENT_ID
  secret    = "{YOUR CLIENT SECRET}" # or set the environment variable PORT_CLIENT_SECRET
}

After you have added the code above, run the following command:

terraform init

Examples

Please refer to the examples directory

Contributing

Please refer to contributing.md