OpsLevel / opslevel-go

A Go client for interacting with OpsLevel
MIT License
5 stars 12 forks source link

add default visible bool query variable to listing repos #401

Closed davidbloss closed 2 months ago

davidbloss commented 2 months ago

Issues

Changelog

Listing repositories only worked when providing query variables (like we have in cli, but missing from terraform provider). This adds a default value so query variables become optional again.

Tophatting

task test - tests pass

Tested this downstream with Terraform provider

data "opslevel_repositories" "all" {}

output "all" {
  value = data.opslevel_repositories.all
}

Then ran terraform plan which listed all the repos.