Port is the Developer Platform meant to supercharge your DevOps and Developers, and allow you to regain control of your environment.
- Terraform
- Go >= 1.19 (to build the provider plugin)
- Port Credentials
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
Please refer to the examples directory
Please refer to contributing.md