Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

iam_instance_profile and its dependencies should have lifecycle{ create_before_destroy = true} #16

Open
agalazis opened this issue Oct 14, 2017 · 1 comment

Comments

@agalazis
Copy link

agalazis commented Oct 14, 2017

iam_instance_profile = "${var.iam_instance_profile_id}"

aws_launch_configuration has a dependedcy on iam_instance_profile. Since aws_launch_configuration has lifecycle{ create_before_destroy = true}, all its dependencies and their dependencies should have lifecycle{ create_before_destroy = true} this includes iam_instance_profile and its dependencies.
I would also like to thank you for the example it helped me a lot to get started, sharing is caring <3
(this also implies the chnage of some names to name prefixes)

@arminc
Copy link
Owner

arminc commented Oct 23, 2017

You are right, I will try to fix that asap.

Thank you and sorry for a late reaction.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants