-
Notifications
You must be signed in to change notification settings - Fork 659
bug on merging with exisitn terraform.tfstate file #491
Comments
Also, I installed using gem install terraforming, here's the list of installed gems *** LOCAL GEMS *** aws-eventstream (1.0.3) |
Running into something similar here. Did you ever find a solution?
|
Same error here too
|
I am getting parse error in Multi-json thrign to merge anything. |
If there's no property tfstate["modules"][0]["resources"] = tfstate["modules"][0]["resources"].merge(klass.tfstate) UPDATE |
Here's the error I get when I try to merge into an existing terraform.tfstate
'terraforming cwa --tfstate --merge=terraform.tfstate --profile xxxxxxx
/var/lib/gems/2.3.0/gems/terraforming-0.18.0/lib/terraforming/cli.rb:269:in
tfstate': undefined method
[]' for nil:NilClass (NoMethodError)from /var/lib/gems/2.3.0/gems/terraforming-0.18.0/lib/terraforming/cli.rb:250:in
execute' from /var/lib/gems/2.3.0/gems/terraforming-0.18.0/lib/terraforming/cli.rb:25:in
cwa'from /var/lib/gems/2.3.0/gems/thor-1.0.1/lib/thor/command.rb:27:in
run' from /var/lib/gems/2.3.0/gems/thor-1.0.1/lib/thor/invocation.rb:127:in
invoke_command'from /var/lib/gems/2.3.0/gems/thor-1.0.1/lib/thor.rb:392:in
dispatch' from /var/lib/gems/2.3.0/gems/thor-1.0.1/lib/thor/base.rb:485:in
start'from /var/lib/gems/2.3.0/gems/terraforming-0.18.0/bin/terraforming:5:in
<top (required)>' from /usr/local/bin/terraforming:23:in
load'from /usr/local/bin/terraforming:23:in `
The text was updated successfully, but these errors were encountered: