Comments (4)
This is more a Terraform thing than a rover thing. Under the hood, rover runs a version of terraform show
to parse the plan file.
The changes I've implemented in the tfc-integration
branch kinda resolves this (c/p from #34 (comment)). This new feature allows you to reference a plan JSON file, which makes it more robust. Rover can parse it, regardless of the current Terraform version you're running locally and in the pipeline.
I'm planning on cutting a release for this feature next week, but if it's urgent, you can build the binary from the tfc-integration
branch.
Initial code on tfc-integration
branch can take Terraform plan as a JSON, just need to implement pull from the Terraform Cloud API.
I tested it locally using go run . -planJSONPath=plan.json -tfConfigExists=false
and verified it worked. To generate JSON configuration in local configuration, first, generate the planfile:
terraform plan -out=plan.out
then, write the planfile into a JSON:
terraform show -json plan.out > plan.json
from rover.
Oh interesting, did you download rover locally on your machine? it defaults to using the same terraform binary you're using to generate your plan 🤔
from rover.
Yeah I am using rover locally, but the plan file is from a pipeline, so a different terraform binary.
from rover.
Any word on this feature being released @im2nguyen ?
from rover.
Related Issues (20)
- Dependencies in configuration blocks are not shown HOT 1
- SVG image is not at all visible HOT 2
- SIGSEGV in map.go line 250 HOT 2
- Dependencies GCP
- Windows support HOT 2
- Can we have a new release from main? HOT 2
- [Feature Request] pass a plan file instead of generating inside rover HOT 9
- Issues with terraform versioning when using rover
- Brew Terraform dependency
- Plan fails due to missing variable, even when passing variable with -tfVar HOT 1
- CI/CD Integration ideas
- terraform target option
- UI Improvements
- unable to connect to azure az cli HOT 2
- Was Rover Development Dropped? HOT 4
- UI - pan/zoom enhancements HOT 6
- Support OpenTofu HOT 2
- Terraform Version is out dated HOT 1
- 'invalid memory address or nil pointer dereference' against local plan
- Explain "Continuing without loading module from filesystem"
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 rover.