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 #2684

Closed
ghost opened this issue Dec 15, 2018 · 3 comments
Closed

New data source: google_compute_instance_template #2684

ghost opened this issue Dec 15, 2018 · 3 comments

Comments

@ghost
Copy link

ghost commented Dec 15, 2018

This issue was originally opened by @universalvishwa as hashicorp/terraform#19663. It was migrated here as a result of the provider split. The original body of the issue is below.


Current Terraform Version

Terraform v0.11.10

Use-cases

As a workaround for the following issues,
#1601
hashicorp/terraform#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.
#365

References

@universalvishwa
Copy link

Please add the label [new-data-source] to this issue.

@danawillow
Copy link
Contributor

Duplicate of #365

@danawillow danawillow marked this as a duplicate of #365 May 14, 2019
@ghost
Copy link
Author

ghost commented Jun 14, 2019

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 ghost locked and limited conversation to collaborators Jun 14, 2019
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

3 participants