-
Notifications
You must be signed in to change notification settings - Fork 9.7k
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
Resource still contains unknown values during apply #25117
Comments
Hi! Thanks for reporting this. Based on the error message you're showing I think this is probably a valid issue, and I'd like to reproduce it locally. To do that, I have to be able to run this and run it on my workstation without inventing any details in order to be confident we're seeing the same behavior. As-is, this is an incomplete reproduction case, and so I'm stuck. I put the example you provided in https://github.com/danieldreier/terraform-issue-reproductions/blob/master/25117/25117.tf as a starting point. I do have a GCP account I can test from, so if you can make a PR to get this to where I can run it I'd be happy to try and reproduce on my end. |
Hi Daniel,
Thanks for getting back to me. Our terraform is pretty complicated, so I
will see if I can reproduce it by narrowing it down to the most basic
terraform code.
It has worked in the past properly.
Thanks
Baroukh Ovadia
…On Mon, Jun 15, 2020 at 4:08 PM Daniel Dreier ***@***.***> wrote:
Hi! Thanks for reporting this. Based on the error message you're showing I
think this is probably a valid issue, and I'd like to reproduce it locally.
To do that, I have to be able to run this and run it on my workstation
without inventing any details in order to be confident we're seeing the
same behavior. As-is, this is an incomplete reproduction case, and so I'm
stuck.
I put the example you provided in
https://github.com/danieldreier/terraform-issue-reproductions/blob/master/25117/25117.tf
as a starting point. I do have a GCP account I can test from, so if you can
make a PR to get this to where I can run it I'd be happy to try and
reproduce on my end.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#25117 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AALAVUFSGY6PL3BHNC2IDEDRW2SVJANCNFSM4NRZDJGA>
.
|
Thank you @ovadbar! I appreciate that. I know that simplifying these sort of issue reproduction cases can be difficult, but it's also the only way we can reproduce it on our end. If you think it's hard to simplify to a good reproduction case on your end, imagine how tough it is on our side without even having the starting point of your codebase! I appreciate your help in reporting it and trying to simplify the reproduction case! |
Hey Daniel,
I think I got it to be as small as possible. Hope this helps.
Thanks for being responsive.
Baroukh Ovadia
…On Mon, Jun 15, 2020 at 4:32 PM Daniel Dreier ***@***.***> wrote:
Thank you @ovadbar <https://github.com/ovadbar>! I appreciate that. I
know that simplifying these sort of issue reproduction cases can be
difficult, but it's also the only way we can reproduce it on our end. If
you think it's hard to simplify to a good reproduction case on your end,
imagine how tough it is on our side without even having the starting point
of your codebase! I appreciate your help in reporting it and trying to
simplify the reproduction case!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#25117 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AALAVUD5WMHXKO2REGRPNKTRW2VRLANCNFSM4NRZDJGA>
.
|
Also I noticed that it validates if I use any index for the outputs as
well.
…On Mon, Jun 15, 2020 at 9:14 PM Baroukh Ovadia ***@***.***> wrote:
Hey Daniel,
I think I got it to be as small as possible. Hope this helps.
Thanks for being responsive.
Baroukh Ovadia
On Mon, Jun 15, 2020 at 4:32 PM Daniel Dreier ***@***.***>
wrote:
> Thank you @ovadbar <https://github.com/ovadbar>! I appreciate that. I
> know that simplifying these sort of issue reproduction cases can be
> difficult, but it's also the only way we can reproduce it on our end. If
> you think it's hard to simplify to a good reproduction case on your end,
> imagine how tough it is on our side without even having the starting point
> of your codebase! I appreciate your help in reporting it and trying to
> simplify the reproduction case!
>
> —
> You are receiving this because you were mentioned.
> Reply to this email directly, view it on GitHub
> <#25117 (comment)>,
> or unsubscribe
> <https://github.com/notifications/unsubscribe-auth/AALAVUD5WMHXKO2REGRPNKTRW2VRLANCNFSM4NRZDJGA>
> .
>
|
I'm getting this errors if I deploy resources, and then roll them back (like disabling a vpc), but still keeping some null resources |
Terraform Version
12.16? Terraform docker latest as of now
Debug Output
Too much output to paste
Crash Output
Error: configuration for module.iac_gcp.google_dns_record_set.zones still contains unknown values during apply (this is a bug in Terraform; please report it!)
Expected Behavior
Resource. created
Actual Behavior
Error: configuration for module.iac_gcp.google_dns_record_set.zones still contains unknown values during apply (this is a bug in Terraform; please report it!)
Steps to Reproduce
terraform init
terraform apply
Additional Context
terraform running in a a gitlab pipeline
References
The text was updated successfully, but these errors were encountered: