Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

hcl.Struct with array fields? #412

Open
jcasas00 opened this issue Sep 1, 2021 · 2 comments
Open

hcl.Struct with array fields? #412

jcasas00 opened this issue Sep 1, 2021 · 2 comments

Comments

@jcasas00
Copy link

jcasas00 commented Sep 1, 2021

Is there a notion of array fields in an hcl.Struct? For example, the equivalent to:

struct {
uint16 a;
uint16 b[32];
...
}

I can imagine writing a separate class to handle the aggregation myself but it would be nice if this was supported directly with hcl.Struct instead, if possible.

@seanlatias
Copy link
Collaborator

Currently we don't have this support. Basically, we don't have tensor type. We can add that in the future.

@seanlatias seanlatias reopened this Sep 1, 2021
@seanlatias
Copy link
Collaborator

Mistakenly closed the issue, Reopen it.

@hecmay hecmay added this to Other APIs in Issues/bugs Tracking Sep 18, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Development

No branches or pull requests

2 participants