Comments (2)
Hi @nunofernandes!
There have been a few bugs fixed in the underlying language parser over the last few months, so perhaps the parser dependency of this library is too old to have some fix for that, while Terraform CLI has been upgraded.
In your dev environment, could you try selecting the latest version of hashicorp/hcl2
in your project's go.mod
and see if the problem goes away?
go get github.com/hashicorp/hcl2@master
If that fixes it, then we could make it permanent by updating the go.mod
in this repository to refer to a newer version.
from terraform-config-inspect.
Yeap.. that fixes it!
$ cd $GOPATH/src/github.com/hashicorp/hcl2 && git pull && GO111MODULE=on go get github.com/hashicorp/terraform-config-inspect
$ cd <MODULEDIR/squid> && terraform-config-inspect
...
* `data.aws_vpc.selected` from `aws`
* `data.template_cloudinit_config.squid` from `template`
* `data.template_file.awscli` from `template`
* `data.template_file.clamav` from `template`
* `data.template_file.ecs_cloud_config` from `template`
* `data.template_file.icinga` from `template`
## Child Modules
* `ecr` from `../terraform-aws-ecr`
* `service` from `../terraform-aws-ecs-service`
from terraform-config-inspect.
Related Issues (20)
- Add endline position for all entities
- Add "profile" information on AWS provider
- unable to install HOT 3
- Disambiguate variable defaults with "empty" values from undefined
- Feature Request: Support sensitive attribute for outputs HOT 3
- Add Binary Releases HOT 9
- Panic when calling LoadModuleFromFile HOT 3
- Use finalized io/fs.FS interface definitions HOT 1
- Feature Request: Support sensitive attribute for variables HOT 1
- 'go get ...' install method fails on MacOS/homebrew HOT 2
- Module directory main.tf does not exist or cannot be read. HOT 1
- Incompatible types using embed.FS type in LoadModuleFromFilesystem HOT 2
- Unable to get locals block data HOT 1
- Variable validation block is not parsed HOT 11
- Json UNMarshal of tfconfig.Module fails due to ResourceMode not supporting UNmarshalJSON HOT 1
- Recursive child modules?
- Support rich provider configurations
- Fail to install under go version 1.17 HOT 1
- Add CLI Version flag
- Add output `type`
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from terraform-config-inspect.