Commit Graph

16 Commits (d-powershell-generated-docs)

Author SHA1 Message Date
Adrien Delorme 40947c2bf6
HCL2: generate hcl tags with go-cty tags too (#9306)
6 years ago
Adrien Delorme 840e67f775
HCL2: when we see a map generate an attribute spec instead of a block spec (#9035)
6 years ago
Adrien Delorme 094b837ed2 codegen: force line return in all `FlatMapstructure` code generation to avoid weird go-fmt discrepencies
6 years ago
Adrien Delorme ae4b158ca3 Update mapstructure-to-hcl2.go
6 years ago
Sylvia Moss ce674ff272
Add exclude mapstructure tag to exclude from hcl2spec struct (#8785)
6 years ago
Wilken Rivera a684fae28f mapstructure-to-hcl2: Update code formatter to use golang/x/tools/imports
6 years ago
Sylvia Moss bc11853ecf
Rename method writeSpecField to goFieldToCtyType (#8687)
6 years ago
Sylvia Moss 08b0bd1d2c
Fix HCL2 code generation for slices within another slice (#8669)
6 years ago
Adrien Delorme 13ea97a1df mapstructure-to-hcl2: make basic named types pointers ( optional )
6 years ago
Adrien Delorme dc5bde97d7 log& skip field if struct tag parse did not work
6 years ago
Adrien Delorme 731904d3d2 mapstructure-to-hcl2: use accessor for named types and not named type + go genrate + tests
6 years ago
Adrien Delorme 0785c2f6fc
build using HCL2 (#8423)
6 years ago
Megan Marsh da53ac99be when using a slice of an imported field type, the Underlying still returned the slice rather than the element type.
6 years ago
Adrien Delorme f6af5ecf07 Update mapstructure-to-hcl2.go
6 years ago
Adrien Delorme 9dac7908a5 Update mapstructure-to-hcl2.go
6 years ago
Adrien Delorme 0eb9090dcf Create mapstructure-to-hcl2.go
6 years ago