-
Notifications
You must be signed in to change notification settings - Fork 932
Open
Labels
Status: StaleUsed by stalebot to clean houseUsed by stalebot to clean houseStatus: TriageThis is being looked at and prioritizedThis is being looked at and prioritizedType: BugSomething isn't working as documentedSomething isn't working as documented
Description
Expected Behavior
The doc for data source github_labels is inconsistent.
I have checked github_issue_labels is working while github_labels is not.
Actual Behavior
github_labels is not valid data resource,
github_issue_labels is valid data resource.
since github label can be applied to both issue and pr,
github_labels might be more fitting as name.
Terraform Version
Terraform v1.11.0
on darwin_arm64
- provider registry.terraform.io/integrations/github v6.5.0
Affected Resource(s)
- github_issue_labels
Terraform Configuration Files
terraform {
required_providers {
github = {
source = "integrations/github"
version = "~> 6.0"
}
}
}
provider "github" {
token = var.github_token
}
data "github_repository" "repository" {
full_name = var.repository_name
}
data github_issue_labels labels {
repository = data.github_repository.repository.name
}
output github_labels {
value = data.github_issue_labels.labels
}Steps to Reproduce
after providing proper token and repo name, run
terraform plan
Debug Output
Panic Output
Code of Conduct
- I agree to follow this project's Code of Conduct
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Status: StaleUsed by stalebot to clean houseUsed by stalebot to clean houseStatus: TriageThis is being looked at and prioritizedThis is being looked at and prioritizedType: BugSomething isn't working as documentedSomething isn't working as documented
Type
Projects
Status
🔥 Backlog
Status
Backlog