Comments (2)
Thanks for letting us know. I've updated the example in the README now so it works by default with Terraform 0.15.
The panic is due to the panic(err)
in the example code, not terraform-exec. The error message gives more information about why it failed:
-lock, -lock-timeout, -verify-plugins, and -get-plugins options are no longer available as of Terraform 0.15: unexpected version 0.15.0 (min: -, max: 0.15.0)
This means that tfexec.LockTimeout("60s")
is not compatible with Init()
in Terraform 0.15.
from terraform-exec.
Awesome, thank you.
from terraform-exec.
Related Issues (20)
- Pass through environment variables when `SetEnv()` is used
- TF_WORKSPACE not parsed for empty Cloud block HOT 2
- follow terraform apply HOT 7
- Add functions that run Terraform commands with `-json` flag HOT 1
- Init -migrate-state HOT 6
- stderr is empty HOT 5
- Support `state list` HOT 2
- Does this library provide a way to gracefully shutdown
- Use terraform-json StateOutput for Output method return value
- Consider supporting `terraform test` HOT 1
- Failure to unmarshall checks list with Terraform 1.6
- Init error return
- Support -generate-config-out option for terraform plan HOT 1
- Consider adding show option to configure JSON decoding
- Make UseJSONNumber the default
- Unable to set log level without writing to file HOT 1
- Passing In Variables At Runtime
- Terraform Apply Command Looking For AZ CLI
- Support `terraform init` JSON output (coming soon)
- tfexec `Terraform.Output` method returns error when command is successful HOT 1
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-exec.