victor
victor

Reputation: 193

Not able to understand terraform cyclic dependency

Can someone please help me to understand the cyclic dependency in this terraform graph.

enter image description here

Thanks in Advance,

Upvotes: 0

Views: 443

Answers (1)

victor
victor

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

Related Questions