Skip to content

Releases: BashtonLtd/terraform-gcebashtonsql

Terraform Compatability Update

10 Jan 23:28
Compare
Choose a tag to compare

New binary builds to introduce compatibility with 0.10 and 0.11 versions of Terraform. Versions from 0.7 - 0.11 are now included.

Add database instance import capability

15 May 14:43
Compare
Choose a tag to compare

An existing database can now be imported into the Terraform state file. For example:

terraform import gcebashtonsql_sql_database_instance local_name instance_name

where local_name is the name in the Terraform file and instance_name is the name of the database instance in Google.

Add maintenance window timing support

16 Feb 17:33
Compare
Choose a tag to compare

Hidden in the API is update_track which maps to the console "Maintenance timing". Valid values (found through experimentation and not documentation) are canary (console: Earlier) and stable (console: Later).

Update: Tarball now contains binaries compatible with v0.7 and v0.8 of Terraform

Add maintenance_window support

08 Feb 18:54
Compare
Choose a tag to compare

This version adds the ability to specify a maintenance window:

  settings {
    maintenance_window {
      day  = 7
      hour = 23
    }
  }

Fix "Invalid instance property" error

13 Jan 22:24
Compare
Choose a tag to compare

The error occurs when an update is specified that includes a disk size smaller than the current disk size. Unhelpfully Google returns the exceptionally vague: googleapi: Error 400: Invalid instance property

Prevent attempted downsize

07 Dec 14:28
Compare
Choose a tag to compare

Terraform wants to attempt to decrease the size of Cloud SQL disks if the disks have grown in the cloud, we ignore the returned read so that there is no change planned.

Support for disk specification

30 Nov 19:47
Compare
Choose a tag to compare

With this version you can now specify the following parameters:

  • disk_size - The size of the underlying disk in GB, minimum 10 (also the default)
  • disk_type - The type of the disk, default pd-ssd
  • disk_autoresize - Allows automatic growth of the underlying disk, default false

v0.1

24 Nov 15:41
Compare
Choose a tag to compare

Standalone Terraform provider plugin with the follow fixes for Cloud SQL:

  • Correct handling of master_instance_name so that slaves aren't rebuilt every run
  • authorized_networks specified as a list of strings (instead of maps) which allows use in modules