mirror of
https://github.com/Kichiyaki/terraform-provider-woodpecker.git
synced 2024-07-01 08:38:06 +00:00
1.2 KiB
1.2 KiB
page_title | subcategory | description |
---|---|---|
woodpecker_repository_cron Data Source - terraform-provider-woodpecker | Use this data source to retrieve information about a cron job in a specific repository. |
woodpecker_repository_cron (Data Source)
Use this data source to retrieve information about a cron job 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
id = 1
}
Schema
Required
id
(Number) the id of the cron jobrepository_id
(Number) the ID of the repository
Read-Only
branch
(String) the name of the branch (uses default branch if empty)created_at
(Number) date the cron job was createdcreator_id
(Number) id of user who created the cron jobname
(String) the name of the cron jobschedule
(String) cron expression