Skip to content
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

New data source: google_compute_instance_template #19663

Closed
universalvishwa opened this issue Dec 14, 2018 · 2 comments
Closed

New data source: google_compute_instance_template #19663

universalvishwa opened this issue Dec 14, 2018 · 2 comments

Comments

@universalvishwa
Copy link

universalvishwa commented Dec 14, 2018

Current Terraform Version

Terraform v0.11.10

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

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

@ghost
Copy link

ghost commented Dec 15, 2018

This issue has been automatically migrated to hashicorp/terraform-provider-google#2684 because it looks like an issue with that provider. If you believe this is not an issue with the provider, please reply to hashicorp/terraform-provider-google#2684.

@ghost ghost closed this as completed Dec 15, 2018
@ghost
Copy link

ghost commented Mar 30, 2020

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 ghost locked and limited conversation to collaborators Mar 30, 2020
This issue was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants