terraform-provider-vsphere icon indicating copy to clipboard operation
terraform-provider-vsphere copied to clipboard

Support passing management object type to data resource of custom_attribute

Open rdbartram opened this issue 4 years ago • 0 comments

Description

When trying to use the data resource for custom_attribute, if there are more than one of any name, then only the first is returned and this is obviously not good.

Potential Terraform Configuration

data "vsphere_custom_attribute" "attribute" {
  name                = "terraform-test-attribute"
  managed_object_type = "VirtualMachine"
}

Community Note

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
  • Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment

rdbartram avatar Feb 18 '21 11:02 rdbartram