You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
That being said, it does seem possible that the self_link attribute being Optional and not Optional + Computed could affect how Terraform evaluates the expression (since data.google_compute_instance.iavm_node.self_link is Optional and not defined in configuration, the value really should always be null).
I can't transfer your issue directly, but if you open a new issue at https://github.com/hashicorp/terraform/issues , one of the Terraform core engineers may be to confirm what exactly is occurring with the output evaluation.
SDK version
Relevant provider source code
Terraform Configuration Files
Debug Output
Expected Behavior
terraform output instance_id
shows the value of self_linkActual Behavior
terraform output instance_id
╷
│ Warning: No outputs found
│
But self_link has the value with the command
terraform state show data.google_compute_instance.iavm_node
Steps to Reproduce
terraform apply
Question
How the output value is evaluated here and what is the reason that the output value doesn't have value?
self_link
is an optional field in the data source google_compute_instance. I am not sure if that is the reason.The text was updated successfully, but these errors were encountered: