Skip to content
This repository has been archived by the owner on Mar 20, 2024. It is now read-only.

Read hcl optional attribute #23

Open
jmcshane opened this issue Jan 21, 2021 · 2 comments · May be fixed by #24
Open

Read hcl optional attribute #23

jmcshane opened this issue Jan 21, 2021 · 2 comments · May be fixed by #24

Comments

@jmcshane
Copy link

I know that this library is reading its own omitempty tag, but the hcl tag now supports an optional attribute. Could this library be updated to read that tag as well?

@rodaine
Copy link
Owner

rodaine commented Feb 3, 2021

Can you point me to this optionality? I can't seem to find it in the HCL docs. Is this a HCLv2 only feature?

@jmcshane
Copy link
Author

jmcshane commented Feb 3, 2021

yeah, ive realized that this library is specifically focused on hclv1. I'm looking at possibly writing out a version of this for v2 using this structure as a model. you can feel free to close this issue if you don't want to support this attribute

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants