Commit Graph

15 Commits

Author SHA1 Message Date
Dana Hoffman
7bee5507f6
add timeouts support for sql database instance (#1288)
* add timeouts support for sql database instance

* rm a tag
2018-04-03 14:44:18 -07:00
Alexandru Topliceanu
7e64b3f1c1 make it clear that the attribute represents the project id (#672) 2018-03-12 13:59:47 -07:00
Genevieve
e57eef944c Add docs for first_ip_address on sql db instance. (#1143)
* Add docs for first_ip_address on sql db instance.

* Clarify the usecase for this attribute.
2018-03-01 19:47:47 -08:00
Vincent Roseberry
b789d7c2a0
Support multiple users with the same name for different host for 1st gen. (#1066)
* Support multiple users with the same name for different host for 1st gen.

* Fix typo and rename user
2018-02-09 13:43:49 -08:00
Lawrence Jones
9f42aeb652 PostgreSQL high availability (#1001)
* Update sqladmin api

Pull in updates to the generated sqladmin api and update callers for
the change in the StorageAutoResize setting

* Add support for availability_type setting

Allow specifying ZONAL or REGIONAL to allow for PostgreSQL HA
setup.

* vendor: update sqladmin/v1beta4

* Test setting AvailabilityType for PostgreSQL

Add tests that cover the creation of a Postgres database with
AvailabilityType set to REGIONAL, and correct some small issues that
were preventing compilation.

* Fix breaking change w/ disk_autoresize in cloudsql

95e5582766

The cloudsql admin client changed the way it handles StorageAutoResize
as a parameter, in order to be more explicit about when the server has
ommitted the field. This changed the type from being bool to *bool, and
we need to modify provider code so that we supply the right value to the
api client.
2018-01-24 09:23:48 -08:00
Brandon Kurtz
126750598e Docs update: Example SQL Database with database_version (#959)
Explicit use of database_version in the example to specify postgres.
2018-01-17 12:40:37 -08:00
Daniel Compton
b798c7b81f Explain that sql_database_instance maintenance windows are specified in UTC 2017-10-21 22:55:02 +13:00
Dana Hoffman
4ec0920ef3 Update region in sql db docs (#521)
* update region in sql db docs

* Update phrasing
2017-10-05 11:17:05 -07:00
Marcus Barczak
f3ecd1ea1c note ipv4 addresses can't be disabled on 2nd gen (#446)
Adds a note that IPv4 addresses can't be disabled on 2nd generation cloudsql instances to save end user confusion.
2017-09-22 12:12:28 -05:00
Joe Selman
7dea4e86c1 Export connection_name on sql instance resource (#406) 2017-09-12 08:04:13 -07:00
Riley Karson
7625ad3375 Document Beta Features in index.html (#280)
* First pass of Beta docs.

* Updated new docs to link as well.

* Updated new Beta resources with Beta link.
2017-08-10 13:28:52 -07:00
Jake Champlin
88140df221 docs: fix typos in sql-database-instance (#279) 2017-08-08 10:07:23 -05:00
Mike Fowler
58a6b3f80e Add import for google_sql_database_instance (#11)
* Add import for `google_sql_database_instance`

* Alterations suggested by review

* Move declaration of array for clarification
2017-06-22 10:25:26 -07:00
Christoph Tavan
25c6a00ca4 Improve google documentation (#124)
* Mention PostgreSQL in sql_database_instance docs

As mentioned in hashicorp/terraform#12617 the
google_sql_database_instance resource already supports `POSTGRES_9_6` as
`database_version`, it is just undocumented so far.

* Make naming of google_sql_database consistent

Looks like this is a relict from some copy & paste from
`google_storage_*` while writing the docs for `google_sql_database`.

* Note that Postgres support is still BETA
2017-06-14 16:11:31 -05:00
Jake Champlin
b105f39423
Transfer google provider website 2017-06-09 10:58:02 -04:00