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

Implement meta data support for available resources

Open vbauzys opened this issue 5 years ago • 13 comments

A several resource already support meta data. Most of existing resources have also metadata ability. Aim is add metadata ability to all possible resource.

Catalog CatalogItem - implemented Disk Media - implemented Network(Nsxv) Organization vApp - implemented vAppTemplate VDC - implemented vdcStorageProfle edge gtw(NSXV) providerVDC pvdcStorageProfle - VM - implemented

vbauzys avatar Oct 30 '19 10:10 vbauzys

Please provide an exact list of resources where metadata is still missing and should be added.

lvirbalas avatar Oct 31 '19 13:10 lvirbalas

Hi,

I've found that the vcd_org object is lacking metadata properties, and would be greatful to get support for this since we're using it for integration with billing systems :)

So far, I've found these other resources capable of metadata, but either lacks metadata properties or is lacking resourcetypes:

  • Provider VDC (no object here, not sure it's needed either)
  • Organizations
  • Catalogs (tho there is support for both catalog items and media items)
  • Storage Policies

There might be more, but this is what I've found so far.

acederlund avatar Apr 07 '20 08:04 acederlund

Hi @acederlund, Currently we don't have plans to add provider VDC and storage policy resources or data sources.

Regarding metadata, we want to add metadata handling to Orgs, catalogs, networks, but it won't happen in the present release.

Instead, we're working on a system that uses metadata for filtering data sources, even for resources that can't modify metadata. A prototype will soon be available.

dataclouder avatar Apr 08 '20 04:04 dataclouder

Currently we don't have plans to add provider VDC

To be more specific: we have PVDC in the pipeline, but not in the near term plans.

lvirbalas avatar Apr 09 '20 06:04 lvirbalas

Any news on that? I'm interested in setting vcd_org metadata

carmine73 avatar Oct 07 '21 14:10 carmine73

@vbauzysvmware catalog implemented as per #780

mikeletux avatar Feb 28 '22 11:02 mikeletux

Any step forward for vcd_org metadata?

carmine73 avatar Mar 01 '22 08:03 carmine73

@carmine73 Yes, currently we're preparing a PR to add this feature.

adambarreiro avatar Mar 01 '22 13:03 adambarreiro

Are different User Access Levels ("Read/Write","Read only","Hidden") also in scope for the metadata fields? We would like to use hidden Attributes as an msp for our internal automations and processes, but also enable our customers to set read/write attributes for processes that they should be able to influence.

bogi0704 avatar Mar 16 '22 11:03 bogi0704

@carmine73 Yes, currently we're preparing a PR to add this feature.

@adambarreiro could you link all metadata PR to this Issue? :)

vbauzys avatar Mar 17 '22 09:03 vbauzys

Current metadata support additions:

  • VDC networks #804 #816
  • Organizations #797
  • Disks #797
  • Catalogs #780
  • Storage profiles #811

Will update this message once we get more going :)

adambarreiro avatar Mar 17 '22 11:03 adambarreiro

Are different User Access Levels ("Read/Write","Read only","Hidden") also in scope for the metadata fields? We would like to use hidden Attributes as an msp for our internal automations and processes, but also enable our customers to set read/write attributes for processes that they should be able to influence.

anything planned on that? thanks

carmine73 avatar Aug 02 '22 14:08 carmine73

Hi @carmine73, sorry for the late response! We're planning to add the user access levels in the next release (v3.8.0)

adambarreiro avatar Sep 27 '22 10:09 adambarreiro

Hi folks! We have the new metadata_entry attribute in all previous resources and data sources implemented in v3.8.0 that was just released. For example this one. It supports all the types, user access levels and domain.

Hence I'm closing this issue.

adambarreiro avatar Nov 28 '22 12:11 adambarreiro