terraform-provider-woodpecker/docs/data-sources/secret.md

842 B

page_title subcategory description
woodpecker_secret Data Source - terraform-provider-woodpecker Use this data source to retrieve information about a global secret.

woodpecker_secret (Data Source)

Use this data source to retrieve information about a global secret.

Example Usage

data "woodpecker_secret" "test_secret" {
  name = "test"
}

Schema

Required

  • name (String) the name of the secret

Read-Only

  • events (Set of String) events for which the secret is available (push, tag, pull_request, pull_request_closed, deployment, cron, manual, release)
  • id (Number) the secret's id
  • images (Set of String) list of Docker images for which this secret is available