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

Add Support for the source_image field on additional_disks #249

Closed
agosto-lorinronken opened this issue Jun 8, 2022 · 1 comment
Closed
Labels
enhancement New feature or request Stale

Comments

@agosto-lorinronken
Copy link

TL;DR

Please add support for specifying the souce_image field when configuring additional_disks in your machine image template. This can be accomplished by adding the source_image field in the variables.tf file like so:

variable "additional_disks" {
  description = "List of maps of additional disks. See https://www.terraform.io/docs/providers/google/r/compute_instance_template.html#disk_name"
  type = list(object({
    disk_name    = string
    device_name  = string
    auto_delete  = bool
    boot         = bool
    disk_size_gb = number
    disk_type    = string
    disk_labels  = map(string)
    source_image = string
  }))
  default = []
}

Terraform Resources

No response

Detailed design

No response

Additional information

This should be a relatively simple change. I have found that there are occasions when we need to specify a source_image for specific additional disks that we are adding to our machine image template. Terraform supports this as seen in the documentation here.

@agosto-lorinronken agosto-lorinronken added the enhancement New feature or request label Jun 8, 2022
@agosto-lorinronken agosto-lorinronken changed the title Add Support for Add Support for the source_image field on additional_disks Jun 8, 2022
@github-actions
Copy link

github-actions bot commented Aug 7, 2022

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request Stale
Projects
None yet
Development

No branches or pull requests

1 participant