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
The instance "db" should be created before the data source template_file so the variable openstack_compute_instance_v2.db.network.0.fixed_ip_v4 could be used.
Actual Behavior
A terraform plan produces this error:
Error asking for user input: 1 error(s) occurred:
* Cycle: data.template_file.user_data_web, openstack_compute_instance_v2.web, openstack_compute_instance_v2.db
The data source seems to be created before the openstack_compute_instance_v2.db and the variable openstack_compute_instance_v2.db.network.0.fixed_ip_v4 is not yet created.
Steps to Reproduce
Please list the steps required to reproduce the issue, for example:
terraform plan
Important Factoids
No
References
Are there any other GitHub issues (open or closed) or Pull Requests that should be linked here? For example:
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.
ghost
locked and limited conversation to collaborators
Apr 7, 2020
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Terraform Version
v0.10.2
Terraform Configuration Files
Expected Behavior
The instance "db" should be created before the data source template_file so the variable openstack_compute_instance_v2.db.network.0.fixed_ip_v4 could be used.
Actual Behavior
A terraform plan produces this error:
The data source seems to be created before the openstack_compute_instance_v2.db and the variable openstack_compute_instance_v2.db.network.0.fixed_ip_v4 is not yet created.
Steps to Reproduce
Please list the steps required to reproduce the issue, for example:
terraform plan
Important Factoids
No
References
Are there any other GitHub issues (open or closed) or Pull Requests that should be linked here? For example:
The text was updated successfully, but these errors were encountered: