Skip to content

Latest commit

 

History

History
58 lines (41 loc) · 1.98 KB

File metadata and controls

58 lines (41 loc) · 1.98 KB
page_title subcategory description
cloudfoundry_buildpacks Data Source - terraform-provider-cloudfoundry
Gets information of Cloud Foundry buildpacks present.

cloudfoundry_buildpacks (Data Source)

Gets information of Cloud Foundry buildpacks present.

Example Usage

data "cloudfoundry_buildpacks" "buildpack" {
  name = "java_buildpack"
}

output "buildpack" {
  value = data.cloudfoundry_buildpacks.buildpack
}

Schema

Optional

  • name (String) Name of the buildpack to filter by
  • stack (String) The name of the stack to filter by

Read-Only

Nested Schema for buildpacks

Required:

  • name (String) Name of the buildpack

Optional:

  • annotations (Map of String) The annotations associated with Cloud Foundry resources. Add as described here.
  • enabled (Boolean) Whether or not the buildpack can be used for staging
  • labels (Map of String) The labels associated with Cloud Foundry resources. Add as described here.
  • locked (Boolean) Whether or not the buildpack is locked to prevent updating the bits
  • position (Number) The order in which the buildpacks are checked during buildpack auto-detection
  • stack (String) The name of the stack that the buildpack will use

Read-Only:

  • created_at (String) The date and time when the resource was created in RFC3339 format.
  • filename (String) The filename of the buildpack
  • id (String) The GUID of the object.
  • state (String) The state of the buildpack
  • updated_at (String) The date and time when the resource was updated in RFC3339 format.