Commit Graph

13 Commits

Author SHA1 Message Date
Riley Karson
2ca5b657cd provider/google: Add CORS support for google_storage_bucket. (#14695) 2017-05-31 15:44:25 -04:00
emily
74fb8df60d Make google resource storage bucket importable (#14455) 2017-05-15 19:38:32 +03:00
Daniel Schierbeck
0b161db410 Add a url attribute to google_storage_bucket (#14393)
* Add a `url` attribute to `google_storage_bucket`

* Document the `url` attribute
2017-05-11 15:30:06 +03:00
Dana Hoffman
da2a1b5659 provider/google: Handle all 404 checks in read functions via the new function 2017-05-10 14:50:19 +03:00
Paddy
7238458619 provider/google: retry storage creation/deletion on rate limiting
Our GCP storage tests are really flaky right now due to rate limiting.
In theory, this could also impact Terraform users that are
deleting/creating large numbers of Google Cloud Storage buckets at once.

To fix, I'm detecting the specific error code that GCP returns when it's
a rate limit error, and using that with resource.Retry to try the
request again.
2017-03-02 16:42:28 -08:00
Matt Morrison
a554f15490 Add support for GCS StorageClass
Fixes: #7417
2016-09-22 07:46:35 +12:00
Seth Vargo
e2c5e9a1d5 Update documentation to include new "project" attribute
This commit also normalizes the format we display attributes.
2016-04-10 17:34:15 -04:00
Seth Vargo
9756d62378 Accept "project" as an attribute to GCP resources
This is the first step in removing the config dependency on "project".
This change is backwards-compatible because the value for this new
attribute defaults to the value from the provider.
2016-04-10 13:01:24 -04:00
Lars Wander
af69d1cd76 provider/google: Updated Read(..) behavior to handle deleted resources 2016-01-07 10:39:04 -05:00
Radek Simko
0c20852709 gofmt files from recently merged PRs 2015-10-07 13:35:06 -07:00
Lars Wander
0982e50b34 Implemented bucket & object ACLs, as well as documentation and tests 2015-10-06 14:46:47 -04:00
Lars Wander
1b2815f6d0 Address issue #2292 2015-09-15 15:06:52 -04:00
Dan Hilton
a4170297a3 provider/google: Add support for Google Compute Stogare buckets.
Configure Google Compute Storage buckets using:
* name (compulsory attribute)
* predefined_acl (optional, default: `projectPrivate`)
* location (optional, default: `US`)
* force_destroy (optional, default: `false`)

Currently supporting only `predefined_acl`s. Bucket attribute updates happen via re-creation. force_destroy will cause bucket objects to be purged, enabling bucket destruction.
2015-06-01 11:36:50 +01:00