Commit Graph

23 Commits

Author SHA1 Message Date
Patrick Pelletier
eaac260f36 Add support for setting bucket's logging config (#946)
* Add support for setting bucket's logging config

* Add log_object_prefix and fix nil Logging condition
2018-01-25 11:02:08 -08:00
Nathan McKinley
535fc64a14
condition.IsLive can come back nil - avoid crash if it does. (#997) 2018-01-22 14:14:02 -08:00
Nathan McKinley
7b54aa8540
Read project name from API instead of inferring from provider in case of import. (#985) 2018-01-19 15:32:57 -08:00
Vincent Roseberry
433fdcc49f
Storage bucket doesn't remove lifecycle rules properly (#850)
* Update storage client

* Read lifecycle from API and improve acceptance tests
2017-12-13 16:46:48 -08:00
Vincent Roseberry
6c5d6b72e0
Store project and region in state (#784)
* Store project and region in state

* Delete unused project in runtimeconfig_variable
2017-11-27 16:32:20 -08:00
Dana Hoffman
7b69c31f6a
Add labels to google_storage_bucket (#652)
* revendor storage

* revendor gensupport

* revendor bigquery

* add support for storage bucket labels

* bucket label docs
2017-10-30 15:48:26 -07:00
Dana Hoffman
2db85e8e75 Add new retry wrapper fn, retry sql database instance operations that commonly 503 (#417)
* Retry sql database instance operations that commonly 503

* use new retry wrapper fn in resource_storage_bucket.go
2017-10-03 12:41:04 -07:00
Paddy
5aca4468ac Update tests that use deprecated resources. 2017-09-28 17:08:55 -07:00
Paddy
f2f276ea0b Remove deprecated resources for 1.0.0.
In advance of 1.0.0, let's take the opportunity to remove the fields on
resources that have been deprecated for a while.
2017-09-28 14:38:38 -07:00
Christopher Stelma
43e749c213 Add versioning for google storage buckets (#381) 2017-09-15 08:36:01 -07:00
Vincent Roseberry
b082eb0b65 Remove duplicate []interface{} to []string method (#388) 2017-09-05 14:37:02 -07:00
Patrick Decat
a0ba61a5ce Add checks on actions and conditions lists lengths 2017-07-17 11:46:24 +02:00
Patrick Decat
c43b8b441e Action and condition blocks of a lifecycle_rule block are both required, use MinItems in schema to enforce 2017-07-17 11:46:24 +02:00
Patrick Decat
40fad4beb5 Implement limit on lifecycle_rules using MaxItems in schema 2017-07-17 11:46:24 +02:00
Patrick Decat
8bf132db0c Avoid shadowing lifecycle_rule variable, rename unconverted one to raw_lifecycle_rule 2017-07-17 11:46:24 +02:00
Patrick Decat
28219ef7d3 Simplify minimum condition elements assertion 2017-07-17 11:46:24 +02:00
Patrick Decat
ec145fe48f Print number of lifecycle rules passed if there are too many (> 100) 2017-07-17 11:46:24 +02:00
Patrick Decat
dfd3bde193 Remove useless update param 2017-07-17 11:46:24 +02:00
Patrick Decat
accb665914 Rename number_of_newer_versions as num_newer_versions 2017-07-17 11:46:24 +02:00
Patrick Decat
7dc4c9d5e0 [WIP] Add provider/google/google_storage_bucket lifecycle interface 2017-07-17 11:46:24 +02:00
Riley Karson
74196a6b4f Added test for uppercasing google_storage_bucket locations. 2017-06-16 09:47:26 -07:00
Riley Karson
1b14b27468 Represent all GCS Bucket locations as uppercase. 2017-06-13 14:51:04 -07:00
Jake Champlin
66029ac431
Transfer google provider 2017-06-06 11:58:51 -04:00