Yes, if the foreach is empty, then no resources will be created dynamically and any existing resources created with that foreach will be destroyed. Therefore, any dynamic resources associated with that for_each should also be disregarded.
Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss
Asked: 2021-05-30 11:00:00 +0000
Seen: 12 times
Last updated: Oct 30 '21
What is the meaning of "version list argument cannot be empty"?
What is causing the GitLab Runner pipeline to continuously be in a pending state?
How can I create a monitor in Datadog that includes multiple resources' metrics in one monitor?
What is the most efficient service for storing and loading resources in C#?
How can I view the Resources window in Microsoft Blend 2019 for a .Net Core WPF project?
What are some resources or courses to become proficient in reactive programming with Spring Boot?
How can authorized API resources be utilized with a public client in Keycloak?
How can I integrate Looker resources into my own application using the Looker Studio API?