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

940 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, deployment, cron, manual)
  • id (Number) the secret's id
  • images (Set of String) list of Docker images for which this secret is available
  • plugins_only (Boolean) whether secret is only available for plugins