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

google_dataproc_cluster accelerator support request #1985

Closed
ghost opened this issue Sep 4, 2018 · 1 comment
Closed

google_dataproc_cluster accelerator support request #1985

ghost opened this issue Sep 4, 2018 · 1 comment
Assignees

Comments

@ghost
Copy link

ghost commented Sep 4, 2018

This issue was originally opened by @steven-edgar as hashicorp/terraform#18786. 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.7

Use-cases

In order to provision a Dataproc cluster on GCP with GPU accelerators we need support in Terraform for those accelerators. Using the "gcloud beta dataproc clusters create" these are options "--master-accelerator" and "--worker-accelerator".

Attempted Solutions

No support listed in documentation, or apparent from looking in the source code.

Proposal

Please note that multiple instances of the "accelerator" blocks should be supported.

resource "google_dataproc_cluster" "mycluster" {
name = "mycluster"
region = "us-central1"
labels {
foo = "bar"
}

cluster_config {
    staging_bucket        = "dataproc-staging-bucket"

    master_config {
        num_instances     = 1
        machine_type      = "n1-standard-1"
        accelerator {
              type = "nvidia-tesla-k80"
              count = "2"
        }
   }
  worker_config {
      accelerator {
              type = "nvidia-tesla-k80"
              count = "2"
        }
   }

......

References

@ghost
Copy link
Author

ghost commented Mar 29, 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 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 Mar 29, 2020
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