Fix listing services, show empty list when no services exist.
[X] List your changes here
[X] Make a changie entry
Tophatting
Using this config:
data "opslevel_services" "all" {}
output "all_services" {
value = data.opslevel_services.all.services
}
Run task plan against account with no services
data.opslevel_services.all: Reading...
data.opslevel_services.all: Read complete after 1s
Changes to Outputs:
+ all_services = []
You can apply this plan to save these new output values to the Terraform state, without changing any real infrastructure.
Issues
nil pointer deference on plural service datasource
Changelog
Fix listing services, show empty list when no services exist.
changie
entryTophatting
Using this config:
Run
task plan
against account with no services