Error: Resource already managed by Terraform exiting
Closed this issue · 6 comments
marafa-sugarcrm commented
got this error and i am not even sure on what kind of resource this is
Instance is cloud9 skipping .....
breaking ...
Found Error: │ Error: Resource already managed by Terraform exiting ....
awsandy commented
Are you running with -d ? what does your ./aws2tf.sh ....... command look like ?
I'd expect an exit on that error only when using the debug (-d) flag
awsandy commented
committed change with extra output when exiting on this condition - will help confirm my theory
marafa-sugarcrm commented
this is what i got now
Instance is cloud9 skipping .....
breaking from ec2 ...
Found Error: │ Error: Resource already managed by Terraform
debug flag is on so exiting ....
and yes i do have -d yes
enabled
awsandy commented
If you remove the -d yes it will continue.
I'll look to ignore that particular error shortly as I guess you are using -c yes as well
awsandy commented
committed fix - so it ignores Resource already managed by Terraform - even with -d yes
marafa-sugarcrm commented
passed