Skip to main content

conveyor_package (Resource)

Package resource

Example Usage

resource "conveyor_package" "my_package" {
name = "my_project"
}

Schema

Required

  • name (String) The name of the package

Optional

  • description (String) The description of the package
  • git_repo (String) The git repo of the package

Read-Only

  • id (String) The id of the packages

Import

Import is supported using the following syntax:

export PACKAGE_ID=$(conveyor package get --name my_package -ojson | jq -r ".id")
terraform import conveyor_package.my_package "$PACKAGE_ID"