PrefectHQ / terraform-provider-prefect

Terraform Provider for Prefect Cloud
https://registry.terraform.io/providers/PrefectHQ/prefect/latest/docs
Apache License 2.0
29 stars 13 forks source link

fix: separate singular/multiple work pool datsource attributes #105

Closed parkedwards closed 8 months ago

parkedwards commented 8 months ago

resolves https://github.com/PrefectHQ/terraform-provider-prefect/issues/98

Two issues:

  1. default_queue_id had an incorrect string type, as it should be a uuid
  2. the work_pool and work_pools (plural) datasources were sharing an attribute map, but there were some conflicting attributes; eg. account/workspace IDs don't belong in the plural version's work_pools list attribute. so, we separate them

also adds acceptance tests for work_pool datasources, per https://github.com/PrefectHQ/terraform-provider-prefect/issues/81