-
Notifications
You must be signed in to change notification settings - Fork 9.5k
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
terraform_remote_state is not interpolated in aws_iam_instance_profile #2765
Comments
Can you post the full debug log for this? |
Reproduced locally with your example. I think this might be a generalized problem with computed / interpolated mappings that expresses itself in a myriad of ways. |
is there any update on this? i'm seeing |
I just tried to do the following using my original example: terraform apply -target=terraform_remote_state.shared
terraform apply and it worked aok (no errors). I think this comes from the fact that we're comparing diff coming from It appears the diff is changing during the lifecycle of |
I believe I'm running into something similar. Interpolation doesn't seem to work.
With an error like:
I have the core Is this the same issue with interpolation? Is there a workaround or an ETA on a fix? |
I think I am seeing a similar issue trying to use a terraform_remote_state resource in a lookup:
Plan results in the error:
Any suggestions on a workaround would be appreciated. |
Just tested with this exact config that @phinze could repro earlier and it now works! :) So this was fixed at some point. |
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further. |
This may be related to #2751 but I cannot confirm that yet.
shared/main.tf
sample.tf
Here's the expanded and colored diff:
The text was updated successfully, but these errors were encountered: