Commit Graph

38 Commits

Author SHA1 Message Date
The Magician
60cdb9401f Add with_state to storage bucket, deprecate is_live (#3317)
Signed-off-by: Modular Magician <magic-modules@google.com>
2019-03-26 14:26:16 -07:00
The Magician
cbf746197f Move storage update code to update (#3310)
Signed-off-by: Modular Magician <magic-modules@google.com>
2019-03-25 12:14:18 -07:00
The Magician
939412dadd [TF] Allow update of storage bucket storage_class (#3297)
Signed-off-by: Modular Magician <magic-modules@google.com>
2019-03-21 16:23:54 -07:00
The Magician
d9510464a3 Refactor storage bucket import logic (#3244)
<!-- This change is generated by MagicModules. -->
/cc @chrisst
2019-03-15 11:22:21 -07:00
The Magician
a9452a9a1d Allow empty string encryption key name in both 0.11 and 0.12. (#3148)
Signed-off-by: Modular Magician <magic-modules@google.com>
2019-02-28 16:41:40 -08:00
The Magician
6b0fceb3c9 Delete GCS objects in parallel (#2944)
<!-- This change is generated by MagicModules. -->
/cc @sethvargo
2019-01-28 11:26:13 -08:00
The Magician
c605b0bc4b [Terraform]: Apply gofmt -s to all files managed by MM (#2676)
<!-- This change is generated by MagicModules. -->
/cc @rileykarson
2018-12-20 17:22:22 -08:00
Nathan McKinley
1cb5ea1734 add support for requester_pays to google_storage_bucket 2018-12-20 17:22:22 -08:00
The Magician
210141a5b1 Add nil check to fix panic in storage bucket. (#2525) 2018-12-20 17:22:22 -08:00
Nathan McKinley
d77c0adbb2
Add support for bucket encryption (#1876)
* Support encryption in Storage bucket.
* Add self links to crypto keys and key ring ids
* Update ID documentation to talk about self link instead.
2018-08-17 14:33:27 -07:00
Vincent Roseberry
8c2f47ba69
Remove label from bucket (#1550)
* Remove label from bucket

* Remove debugging statement

* Fix typos
2018-05-29 14:23:37 -07:00
Matthew Jones
b80aad4bc6 fix: include object versions when deleting all objects in GCS bucket (#1285)
* fix: include object versions when deleting all objects in GCS bucket

* test: acceptance test for force destroy with versioning
2018-04-03 13:21:29 -07:00
Dana Hoffman
e9ab089260
set force_destroy on import (#1223) 2018-03-19 16:37:39 -07:00
Nathan McKinley
640e25931e
Move log statement for storage bucket (#1126) 2018-02-23 10:58:42 -08:00
Nathan McKinley
151e83aa26
Only check project if it's not present on the resource. (#1125) 2018-02-22 15:31:55 -08:00
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