Reputation: 193
Can someone please help me to understand the cyclic dependency in this terraform graph.
Thanks in Advance,
Upvotes: 0
Views: 443
Reputation: 193
I got the solution myself.
Actually I have set create_before_destroy life cycle parameter to true only in instance and not to an dependent user_data.
After setting that property in template_file user_data as well the problem got resolved.
Thanks everyone for trying to help me.
Upvotes: 1