mirror of
https://github.com/Kichiyaki/terraform-provider-woodpecker.git
synced 2024-06-01 18:28:03 +00:00
1.1 KiB
1.1 KiB
page_title | subcategory | description |
---|---|---|
woodpecker_repository_secret Data Source - terraform-provider-woodpecker | Use this data source to retrieve information about a secret in a specific repository. |
woodpecker_repository_secret (Data Source)
Use this data source to retrieve information about a secret in a specific repository.
Example Usage
resource "woodpecker_repository" "test_repo" {
full_name = "Kichiyaki/test-repo"
}
data "woodpecker_repository_secret" "test_secret" {
repository_id = woodpecker_repository.test_repo.id
name = "secret_name"
}
Schema
Required
name
(String) the name of the secretrepository_id
(Number) the ID of the repository
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 idimages
(Set of String) list of Docker images for which this secret is available