(.venv) stoetzms@storm:~/unfurl-issue$ unfurl validate
INFO UNFURL Using home project at: "/home/stoetzms/.unfurl_home/unfurl.yaml"
INFO UNFURL Loaded project at /home/stoetzms/unfurl-issue/unfurl.yaml
INFO UNFURL Vault password found, configuring vault ids: ['unfurl-issueVM', '.unfurl_homeF0']
INFO UNFURL Validating TOSCA template at /home/stoetzms/unfurl-issue/ensemble/ensemble.yaml
Exiting with error: TOSCA validation failed for /home/stoetzms/unfurl-issue/ensemble/ensemble.yaml:
UnknownFieldError: Artifacttype "my_artifact_type" contains unknown field "metadata". Refer to the definition to verify valid values. in node template "my_app"
UnknownFieldError: Artifacttype "my_artifact_type" contains unknown field "metadata". Refer to the definition to verify valid values. in node template "my_app"
Does Unfurl support modeling metadata at artifact types?
From my understanding, an artifact type is an entity type and, hence, should support metadata. However, Unfurl seems not to support this.
Here is a simple example with a custom artifact type
my_artifact_type
, which has the metadatakey
assigned.However, validation fails.
I tried this on Unfurl v1.0.0 and v1.1.0.
Best regards Miles