I would like to add resources to digitalocean_project via Terraform using tags (“project:helloworld-dev”, “project:xyz-prod”). I need to be able to filter certain Terraform resources ( particularly digitalocean_loadbalancer and digitalocean_spaces_bucket) by tags using a data source, as is currently possible for the following objects:
  • digitalocean_droplet
  • digitalocean_volume
  • digitalocean_kubernetes_cluster
  • digitalocean_database_cluster
However, this is currently not possible for the following:
  • digitalocean_loadbalancer # must have
  • digitalocean_spaces_bucket # must have
  • digitalocean_domain
  • digitalocean_reserved_ip
This would significantly simplify the Terraform code for adding resources to digitalocean_project.