terraform-cdk icon indicating copy to clipboard operation
terraform-cdk copied to clipboard

Display correct data format inside document

Open kination opened this issue 2 years ago • 0 comments

Expected Behavior

When generator creates code based on template, if parameter is array, guide in code should show parameter as array.

Actual Behavior

Array parameter in code is just showing raw value, without any square bracket.

Steps to Reproduce

It is related with following comment: https://github.com/hashicorp/terraform-cdk/pull/2964#issuecomment-1630767380

Versions

language: null cdktf-cli: 0.0.0 node: v16.14.2 terraform: 1.4.2 arch: arm64 os: darwin 22.5.0

Providers

No response

Gist

No response

Possible Solutions

No response

Workarounds

No response

Anything Else?

No response

References

No response

Help Wanted

  • [X] I'm interested in contributing a fix myself

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

kination avatar Aug 18 '23 03:08 kination