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
$ tf apply
...
An execution plan has been generated and is shown below.
Resource actions are indicated with the following symbols:
<= read (data resources)
Terraform will perform the following actions:
<= data.google_dns_managed_zone.my_zone
id: <computed>
description: <computed>
dns_name: <computed>
name: "my-zone"
name_servers.#: <computed>
project: "root-project"
Expected Behavior
We shouldn't be prompted once the data is read and no changes were detected subsequently. The behavior should be in-line with other data objects.
Actual Behavior
tf apply always prompts to read from data.google_dns_managed_zone.my_zone. Thus as a side-effect any dependency on attributes from this data object will be asked to update/recreate.
The text was updated successfully, but these errors were encountered:
@ramyala Thanks for submitting this issue! I believe this is a side effect of how depends_on works for data sources in Terraform core. See hashicorp/terraform#11806. Unfortunately, that means I don't have an easy answer other than to remove the dependency on the project service object. If you have any other questions, please let me know!
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 feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. If you feel I made an error 🤖 🙉 , please reach out to my human friends 👉 hashibot-feedback@hashicorp.com. Thanks!
ghost
locked and limited conversation to collaborators
Nov 17, 2018
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Terraform Version
Terraform v0.11.8
Affected Resource(s)
Terraform Configuration Files
Debug Output
Expected Behavior
We shouldn't be prompted once the data is read and no changes were detected subsequently. The behavior should be in-line with other data objects.
Actual Behavior
tf apply
always prompts to read fromdata.google_dns_managed_zone.my_zone
. Thus as a side-effect any dependency on attributes from this data object will be asked to update/recreate.The text was updated successfully, but these errors were encountered: