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

Don't create conditional resources based on values that are unknown during planning #119

Open
hknutsen opened this issue Apr 2, 2024 · 4 comments
Labels
documentation Improvements or additions to documentation

Comments

@hknutsen
Copy link
Member

hknutsen commented Apr 2, 2024

Trying to create a conditional resource based on a value that is unknown during planning, for example resource IDs which are unknown until the resource is created, will cause Terraform to throw an error.

This is not true for dynamic blocks.

Examples:

@hknutsen
Copy link
Member Author

Example scenario: #135 (comment)

Copy link
Contributor

github-actions bot commented Jul 4, 2024

There has been no activity on this issue for 60 days. stale label will be added. If no additional activity occurs, the issue will be closed in 14 days.

@github-actions github-actions bot added the stale label Jul 4, 2024
@helenakallekleiv
Copy link
Contributor

This issue is still relevant.

@helenakallekleiv
Copy link
Contributor

Moved back to triage for reevaluation.

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

No branches or pull requests

3 participants