hashicorp / terraform-provider-google

Terraform Provider for Google Cloud Platform
https://registry.terraform.io/providers/hashicorp/google/latest/docs
Mozilla Public License 2.0
2.34k stars 1.74k forks source link

Remove OR note the cost implications of the default scratch disk in the example. #12581

Open Obsecurus opened 2 years ago

Obsecurus commented 2 years ago

Community Note

Description

The example documentation includes a SCSI scratch disk configuration block.

Users may accidentally copy this portion without an understanding of the cost implications. It's sort of hidden that this is in fact adding a 375GB disk to the instance. It would be nice to make a note regarding the default disk size and cost implications OR remove the block altogether.

// Local SSD disk
  scratch_disk {
    interface = "SCSI"
  }

This will also cause users to hit resource limits within a region much more quickly.

New or Affected Resource(s)

Potential Terraform Configuration

N/A

References

b/321386627

karolgorc commented 1 month ago

UPDATE: The documentation now says

// Local SSD disk
  scratch_disk {
    interface = "NVME"
  }

I think this can be closed