Comments (1)
Just ran into this too. The referenced code helped me understand what I should do differently.
Seems like if either lifecycle_commands
or interpreter
change, then any of environment
, sensitive_environment
, or working_directory
can't also change in the same plan. You have to break up your changes across two plans. I'm not quite sure why this is a requirement, but that's the workaround.
In my case, I had to change the script defining my lifecycle command first, and run its plan and apply. Then I changed my environment, and ran its plan and applied again.
from terraform-provider-shell.
Related Issues (20)
- Apple Silicon (M1) darwin_arm64 Support HOT 4
- Question: How to force current value (not from state) for DELETE command? HOT 2
- Objects have changed outside of Terraform after first apply HOT 3
- JSON lists are not parsed as valid output HOT 1
- Facing issues when I use this provider to test locally in my MacBook Air HOT 1
- Error: changes to `lifecycle_commands` and/or `interpreter` should not be follwed by changes to other arguments HOT 4
- It might not even be from this module, I'm trying to follow odd variable behavior.
- Question: What's the best way to force terraform plan to fail on read error?
- Support list/map type for environment argument HOT 2
- Cannot `terraform import` resources HOT 2
- Action should be ActionUpdate in update
- read_error value initializes to null and becomes "" after read causing state change on apply HOT 2
- In windows not working properly
- Permission denied. Error occured during shell execution HOT 1
- There's no option for marking output as sensitive HOT 4
- Provider doesn't perform "update" when i'm changing the update script.
- Update semantics - is there a way to to replay replacement details?
- Not supporting cygwin or mingw-w64 HOT 1
- Pass previous state as input HOT 1
- What exactly is `enable_parallelism`?
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-provider-shell.