Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(master): release 4.0.0 #29

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
49 changes: 49 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,55 @@ The format is based on
and this project adheres to
[Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [4.0.0](https://github.com/bharathkkb-org/terraform-google-cloud-storage/compare/v3.3.0...v4.0.0) (2022-09-18)


### ⚠ BREAKING CHANGES

* The default storage class has been changed from `MULTI_REGIONAL` to `STANDARD`. This new default is [recommended](https://cloud.google.com/storage/docs/storage-classes#standard) and can be used for multi-regional storage.
* add Terraform 0.13 constraint and module attribution (#105)
* The resource state locations have changed to use for_each, please see the upgrade guide for details.

### Features

* Add ability to append a randomized suffix to all bucket names ([#130](https://github.com/bharathkkb-org/terraform-google-cloud-storage/issues/130)) ([93ff75f](https://github.com/bharathkkb-org/terraform-google-cloud-storage/commit/93ff75fb291c998c7d495c55342aea3b461fcc1a))
* add additional lifecycle conditions: custom_time_before, days_since_noncurrent_time, noncurrent_time_before ([#135](https://github.com/bharathkkb-org/terraform-google-cloud-storage/issues/135)) ([bd1d1e7](https://github.com/bharathkkb-org/terraform-google-cloud-storage/commit/bd1d1e7bae83e9cc1d64019f06d2ca1b9d50a67f))
* Add is_live field to simple_bucket lifecycle ([#76](https://github.com/bharathkkb-org/terraform-google-cloud-storage/issues/76)) ([a16305d](https://github.com/bharathkkb-org/terraform-google-cloud-storage/commit/a16305dfad12ef06881a73a6c2a33fe7fe569bfb))
* Add missing lifecycle rules conditions simple_bucket ([#145](https://github.com/bharathkkb-org/terraform-google-cloud-storage/issues/145)) ([bbb681d](https://github.com/bharathkkb-org/terraform-google-cloud-storage/commit/bbb681d2335462c8e5a1234910d509782a06732b)), closes [#144](https://github.com/bharathkkb-org/terraform-google-cloud-storage/issues/144)
* add name and url outputs on simple_bucket module ([#175](https://github.com/bharathkkb-org/terraform-google-cloud-storage/issues/175)) ([d76ffa3](https://github.com/bharathkkb-org/terraform-google-cloud-storage/commit/d76ffa3f2f147042527d98333397355a387d6701))
* Add option to enable default_event_based_hold argument ([#178](https://github.com/bharathkkb-org/terraform-google-cloud-storage/issues/178)) ([2ab4888](https://github.com/bharathkkb-org/terraform-google-cloud-storage/commit/2ab4888d135014b4c74c296da7e2e381aa58f766))
* add outputs for simple bucket module ([#38](https://github.com/bharathkkb-org/terraform-google-cloud-storage/issues/38)) ([f93bf5d](https://github.com/bharathkkb-org/terraform-google-cloud-storage/commit/f93bf5d88842018f8421be61af5a0f4afd947487))
* Add simple bucket submodule ([#35](https://github.com/bharathkkb-org/terraform-google-cloud-storage/issues/35)) ([e75114a](https://github.com/bharathkkb-org/terraform-google-cloud-storage/commit/e75114a5770d8aab65764d4c04a36c52bde4f073))
* Add support for cors and website config in variables ([#63](https://github.com/bharathkkb-org/terraform-google-cloud-storage/issues/63)) ([69dafb3](https://github.com/bharathkkb-org/terraform-google-cloud-storage/commit/69dafb3b3c532013919f4da416fa72aa009621a3))
* Add support for creating folders in buckets with folders variable ([#59](https://github.com/bharathkkb-org/terraform-google-cloud-storage/issues/59)) ([0fa0689](https://github.com/bharathkkb-org/terraform-google-cloud-storage/commit/0fa068980e4d01b66f5f0f2d923f6fae730b1151))
* Add support for customer encryption keys ([#34](https://github.com/bharathkkb-org/terraform-google-cloud-storage/issues/34)) ([32eff9b](https://github.com/bharathkkb-org/terraform-google-cloud-storage/commit/32eff9b9330e6c9bb683cfd75d0baf9d9798b7eb))
* add support for days_since_custom_time ([#120](https://github.com/bharathkkb-org/terraform-google-cloud-storage/issues/120)) ([0247454](https://github.com/bharathkkb-org/terraform-google-cloud-storage/commit/02474541f50146ae8dff3aa146ff6f8f278e041c))
* add support for lifecycle rules in simple bucket ([#49](https://github.com/bharathkkb-org/terraform-google-cloud-storage/issues/49)) ([b39e2cd](https://github.com/bharathkkb-org/terraform-google-cloud-storage/commit/b39e2cdf0848b59d00dd7fe65c917a5bf4a1176a))
* Add support for log bucket configuration ([#117](https://github.com/bharathkkb-org/terraform-google-cloud-storage/issues/117)) ([eca9c57](https://github.com/bharathkkb-org/terraform-google-cloud-storage/commit/eca9c57551e48e4fff635df8c59d2797b78c6652))
* Add support for retention policy ([#127](https://github.com/bharathkkb-org/terraform-google-cloud-storage/issues/127)) ([a0982c9](https://github.com/bharathkkb-org/terraform-google-cloud-storage/commit/a0982c94f92df37d903af0a85e7ee5fe1e655d1e))
* add support for website configuration to simple_bucket submodule ([#150](https://github.com/bharathkkb-org/terraform-google-cloud-storage/issues/150)) ([839a18c](https://github.com/bharathkkb-org/terraform-google-cloud-storage/commit/839a18c4de5d7c00c74a54dfde51280862f4e8b5))
* add Terraform 0.13 constraint and module attribution ([#105](https://github.com/bharathkkb-org/terraform-google-cloud-storage/issues/105)) ([b33d674](https://github.com/bharathkkb-org/terraform-google-cloud-storage/commit/b33d67417d2e4309e9774811e0e14c612c300f6c))
* Add var to define different lifecycle rules for each bucket ([#169](https://github.com/bharathkkb-org/terraform-google-cloud-storage/issues/169)) ([4793dd2](https://github.com/bharathkkb-org/terraform-google-cloud-storage/commit/4793dd22f0fa75ff5f27221971ee2af7317d805e))
* Allow setting storage.admin and storage.hmacKeyAdmin roles ([#95](https://github.com/bharathkkb-org/terraform-google-cloud-storage/issues/95)) ([9f6085e](https://github.com/bharathkkb-org/terraform-google-cloud-storage/commit/9f6085e671eea558585f4c5027bd94f1bcdd4a11))
* new feat ([64ffab1](https://github.com/bharathkkb-org/terraform-google-cloud-storage/commit/64ffab104055e529b26bcdd4cc59c9934bff1093))
* replace dot on a dash in label value ([#31](https://github.com/bharathkkb-org/terraform-google-cloud-storage/issues/31)) ([8875ebb](https://github.com/bharathkkb-org/terraform-google-cloud-storage/commit/8875ebbc645e1a6196c61a9f4d0cfaf3fa0f6569))
* Support for CORS in simple bucket ([#128](https://github.com/bharathkkb-org/terraform-google-cloud-storage/issues/128)) ([e6559e9](https://github.com/bharathkkb-org/terraform-google-cloud-storage/commit/e6559e9f4721d5b67eec1644ebbefac852cf55e8))
* update TPG version constraints to allow 4.0 ([#143](https://github.com/bharathkkb-org/terraform-google-cloud-storage/issues/143)) ([2e4c375](https://github.com/bharathkkb-org/terraform-google-cloud-storage/commit/2e4c375bd2ea05ef9a4ff8fc44055ccf4bb1420a))
* Use for_each instead of count to create resource ([#86](https://github.com/bharathkkb-org/terraform-google-cloud-storage/issues/86)) ([af73533](https://github.com/bharathkkb-org/terraform-google-cloud-storage/commit/af735332c091c6fe5de082562c8d59f979421611))


### Bug Fixes

* Adding type constraints to variables ([#43](https://github.com/bharathkkb-org/terraform-google-cloud-storage/issues/43)) ([45d42a1](https://github.com/bharathkkb-org/terraform-google-cloud-storage/commit/45d42a1d7f73f8c4ad77d1455de77ce88ab0e8ad))
* Change default storage class to `STANDARD` ([#137](https://github.com/bharathkkb-org/terraform-google-cloud-storage/issues/137)) ([af10280](https://github.com/bharathkkb-org/terraform-google-cloud-storage/commit/af10280a5055dcf8823a4fe09052e94a97eb0688))
* Constrain minimum Google provider version to 3.38 ([#84](https://github.com/bharathkkb-org/terraform-google-cloud-storage/issues/84)) ([ebc1916](https://github.com/bharathkkb-org/terraform-google-cloud-storage/commit/ebc19161e2b9c24ef41c2c5898b2d65eae81ee1e))
* convert lifecycle action object to map ([#52](https://github.com/bharathkkb-org/terraform-google-cloud-storage/issues/52)) ([f2e6ea3](https://github.com/bharathkkb-org/terraform-google-cloud-storage/commit/f2e6ea3e1954c8311ff326d7c512756db1dd5ae9))
* Correct behavior of website and cors variables. ([#132](https://github.com/bharathkkb-org/terraform-google-cloud-storage/issues/132)) ([3e6e7f4](https://github.com/bharathkkb-org/terraform-google-cloud-storage/commit/3e6e7f405dc4d3698f1dabfd23440d67908f2e2f))
* Fix deprecation of is_live lifecycle rule ([#91](https://github.com/bharathkkb-org/terraform-google-cloud-storage/issues/91)) ([f73041b](https://github.com/bharathkkb-org/terraform-google-cloud-storage/commit/f73041b904d8f5c7020efb84737d54869e394738))
* Remove deprecated list() function usage ([#107](https://github.com/bharathkkb-org/terraform-google-cloud-storage/issues/107)) ([1fe315a](https://github.com/bharathkkb-org/terraform-google-cloud-storage/commit/1fe315a8ab722d7f91b60e1c209bf938724eb371))
* Use correct IAM view role in example ([#115](https://github.com/bharathkkb-org/terraform-google-cloud-storage/issues/115)) ([4a9931d](https://github.com/bharathkkb-org/terraform-google-cloud-storage/commit/4a9931dc339216fc5edb815c681168fd7063424c))
* Use uniform_bucket_level_access flag instead due to deprecation ([#80](https://github.com/bharathkkb-org/terraform-google-cloud-storage/issues/80)) ([f287581](https://github.com/bharathkkb-org/terraform-google-cloud-storage/commit/f287581701bdcb0af996a26a8b922788cf686f57))

## [3.3.0](https://github.com/terraform-google-modules/terraform-google-cloud-storage/compare/v3.2.0...v3.3.0) (2022-07-15)


Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ Basic usage of this module is as follows:
```hcl
module "gcs_buckets" {
source = "terraform-google-modules/cloud-storage/google"
version = "~> 2.2"
version = "~> 4.0"
project_id = "<PROJECT ID>"
names = ["first", "second"]
prefix = "my-unique-prefix"
Expand Down
2 changes: 1 addition & 1 deletion modules/simple_bucket/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ Basic usage of this module is as follows:
```hcl
module "bucket" {
source = "terraform-google-modules/cloud-storage/google//modules/simple_bucket"
version = "~> 1.3"
version = "~> 4.0"

name = "example-bucket"
project_id = "example-project"
Expand Down
2 changes: 1 addition & 1 deletion modules/simple_bucket/versions.tf
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ terraform {
}

provider_meta "google" {
module_name = "blueprints/terraform/terraform-google-cloud-storage:simple_bucket/v3.3.0"
module_name = "blueprints/terraform/terraform-google-cloud-storage:simple_bucket/v4.0.0"
}

}
2 changes: 1 addition & 1 deletion versions.tf
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ terraform {
}

provider_meta "google" {
module_name = "blueprints/terraform/terraform-google-cloud-storage/v3.3.0"
module_name = "blueprints/terraform/terraform-google-cloud-storage/v4.0.0"
}

}