$ gem list | grep terraforming
terraforming (0.18.0)
executed command:
$ terraforming ecc
(erb):12:in `block in apply_template': undefined method `endpoint' for nil:NilClass (NoMethodError)
from (erb):1:in `each'
from (erb):1:in `apply_template'
from /usr/lib/ruby/2.3.0/erb.rb:864:in `eval'
from /usr/lib/ruby/2.3.0/erb.rb:864:in `result'
from /var/lib/gems/2.3.0/gems/terraforming-0.18.0/lib/terraforming/util.rb:4:in `apply_template'
from /var/lib/gems/2.3.0/gems/terraforming-0.18.0/lib/terraforming/resource/elasti_cache_cluster.rb:19:in `tf'
from /var/lib/gems/2.3.0/gems/terraforming-0.18.0/lib/terraforming/resource/elasti_cache_cluster.rb:7:in `tf'
from /var/lib/gems/2.3.0/gems/terraforming-0.18.0/lib/terraforming/cli.rb:263:in `tf'
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:55:in `ecc'
from /var/lib/gems/2.3.0/gems/thor-0.20.3/lib/thor/command.rb:27:in `run'
from /var/lib/gems/2.3.0/gems/thor-0.20.3/lib/thor/invocation.rb:126:in `invoke_command'
from /var/lib/gems/2.3.0/gems/thor-0.20.3/lib/thor.rb:387:in `dispatch'
from /var/lib/gems/2.3.0/gems/thor-0.20.3/lib/thor/base.rb:466: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 `<main>'
I believe this issue is caused by running terraforming ecc while an ElastiCache cluster is being created. I was able to run terraforming ecc before creating a new ElastiCache instance and then the command produced the above error until the cluster was finished creating.
platform:
ruby version:
terraforming version:
executed command:
I believe this issue is caused by running
terraforming ecc
while an ElastiCache cluster is being created. I was able to runterraforming ecc
before creating a new ElastiCache instance and then the command produced the above error until the cluster was finished creating.