ContainerSolutions / terraform-examples

Simple and idiomatic examples of various Terraform functions and features.
https://containersolutions.github.io/terraform-examples/
159 stars 51 forks source link

Error: Cycle: aws_instance.this[1], aws_instance.this[0] #1

Closed sebagomez closed 3 years ago

sebagomez commented 3 years ago

When tried to run the remote-exec/inline sample got the error from the subject. There were also a couple of issues using single resources with an index, like the aws_key_pair and the aws_security_group.