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
If there was a data source which I can query for an exist instance template I can refer to it in my instance group terraform resource. Then I can avoid having to recreate the instance template in one terraform run. I can separate it from that instance group.
I think this is a very important data source for Google cloud in general.
Expected result: a data source
data.google_compute_instance_template
Attempted Solutions
I've tried to get the instance template self_link by running it inside a local-provisioner of the instance groups resource. But, it's not working not as seamless as I expected it.
Proposal
Please create a data source to query existing data sources in GCP projects.
I've seen that there was some other who have asked for this in the past. hashicorp/terraform-provider-google#365
References
The text was updated successfully, but these errors were encountered:
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
Mar 30, 2020
This issue was closed.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Current Terraform Version
Use-cases
As a workaround for the following issues,
hashicorp/terraform-provider-google#1601
#11905
If there was a data source which I can query for an exist instance template I can refer to it in my instance group terraform resource. Then I can avoid having to recreate the instance template in one terraform run. I can separate it from that instance group.
I think this is a very important data source for Google cloud in general.
Expected result: a data source
Attempted Solutions
I've tried to get the instance template self_link by running it inside a local-provisioner of the instance groups resource. But, it's not working not as seamless as I expected it.
Proposal
Please create a data source to query existing data sources in GCP projects.
I've seen that there was some other who have asked for this in the past.
hashicorp/terraform-provider-google#365
References
The text was updated successfully, but these errors were encountered: