Update Terraform cloudposse/s3-bucket/aws to v0.49.0 #9
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
0.44.1
->0.49.0
Release Notes
cloudposse/terraform-aws-s3-bucket
v0.49.0
Compare Source
Manual intervention needed
See Upgrading to v0.48.0 and AWS provider version 4.x for details about actions you will need to take when updating to this version related to upgrading to AWS provider v4.x.
Breaking changes
In order to fix #102 (following Hashicorp's advice), this release changes the
privileged_principal_arns
input from amap(list(string))
to alist(map(list(string)))
. Where you previously input one map, likeyou now provide a list of maps, each one mapping a single ARN to a list of prefixes:
🚀 Enhancements
Full support for lifecycle configuration
The new
lifecycle_configuration_rules
input allows you to specify all the options the AWS provider supports. See the example for more details.Full support for lifecycle configuration @Nuru (#135)
##### what && why - Breaking change: convert `privileged_principal_arns` input to list. - Fixes #102 - Add `lifecycle_configuration_rules` input closely matching Terraform provider arguments to fully support features. - Resolves #87 - Resolves #130 - Remove `acl_grants` input added in #131, because the old `grants` input is more convenient and more powerful. ##### references - [Upgrade instructions](https://togithub.com/cloudposse/terraform-aws-s3-bucket/wiki/Upgrading-to-v0.48.0-and-AWS-provider-version-4.x) - https://github.com/hashicorp/terraform-provider-aws/issues/23375v0.48.0
Compare Source
This release is an early release in order to unblock people who are blocked because v0.47.0 does not work with AWS Provider v4. However, the newly introduced
lifecycle_configuration_rules
will be replaced in the next release with a more flexible (and completely incompatible) structure that supports the evolving variety of storage options AWS provides. For this reason, we recommend users continue to use the Deprecatedlifecycle_rules
input for now, and anticipate it will be supported for a considerable length of time going forward.See Upgrading to v0.48.0 and AWS provider version 4.x for details about actions you will need to take when updating to this version.
🚀 Enhancements
Upgrade to v4 aws provider @nitrocode (#131)
##### what * [x] Upgrade to v4 aws provider * Deprecated `policy` in favor of `source_policy_documents`, closes #124 * Deprecated `grants` in favor of `acl_grants` * Deprecated `lifecycle_rules` in favor of `lifecycle_configuration_rules` * [x] All tests pass * [x] Current tests pass * [ ] Tests do not check website inputs. The `website_inputs` is unavailable in the tests. * [ ] Tests do not check cors. The `cors_rule_inputs` is available but unused. * [x] Backwards compatible - Is it possible to make it backwards compatible ? * [x] Generate the lifecycle rule ids ? * [x] Translate the `grant.permissions` into separate `grant.permission` blocks ? * Migration document in [this repo's Wiki](https://togithub.com/cloudposse/terraform-aws-s3-bucket/wiki/Upgrading-to-v0.48.0-and-AWS-provider-version-4.x) ##### why * Current version incompatible with AWS provider v4.x>= 4.2.0
because of relevant bug fixes needed by this modulereferences
notes
grants
is now deprecated, but still supported. New input replacing it isacl_grants
. The only difference is thatgrants
takes a list ofpermissions
andacl_grants
takes a singlepermission
. The only reason we are makinggrants
deprecated is so that our inputs track the AWS resource inputs.lifecycle_rules
is now deprecated but still supported, replaced withlifecycle_configuration_rules
, which is identical except thatlifecycle_configuration_rules
has anid
for each rule, which is now required by the AWS resource (doc). This module supplies anid
forlifecycle_rules
.aws_s3_bucket_lifecycle_configuration
requires a staticrules.filter
element due to https://github.com/hashicorp/terraform-provider-aws/issues/23299v0.47.1
Compare Source
v0.47.0
Compare Source
🚀 Enhancements
Feat: Enable Replication Metrics @max-lobur (#116)
##### what * Enable replication metrics by default * Allow override via variablesAWS provider requirements update due to: https://github.com/hashicorp/terraform-provider-aws/pull/21901
why
references
https://docs.aws.amazon.com/AmazonS3/latest/userguide/replication-metrics.html
v0.46.0
Compare Source
🚀 Enhancements
Enable bucket key for reducing the cost of SSE-KMS with Amazon S3 @bkmnaidu (#115)
Signed-off-by: Krishna Mohan Bandi [email protected]
what
why
references
Fix: Change `s3_object_ownership` Description to Reflect All Possible Values @korenyoni (#127)
##### what - Fix `s3_object_ownership` description to reflect all possible values. ##### why - The `s3_object_ownership` variable description does not reflect all possible values. ##### references * N/ARemove unused variable `abort_incomplete_multipart_upload_days` @adamantike (#92)
##### What Remove variable `abort_incomplete_multipart_upload_days`. ##### Why The `abort_incomplete_multipart_upload_days` variable isn't being used since the introduction of `lifecycle_rules` in https://github.com/cloudposse/terraform-aws-s3-bucket/pull/85. ##### Notescloses #128
v0.45.0
Compare Source
feat: add delete_marker_replication_status in replication rules @DesmondH0 (#126)
##### what * There are no control ability for enable `Delete marker replication` in this module ##### why * The reason of this was because empty `filter` would always be generated in this [line](https://togithub.com/cloudposse/terraform-aws-s3-bucket/blob/816e61ab796a159e9f949350a1645576761dad8a/main.tf#L208) * And this will disable the `Delete marker replication` option in replication rule ##### references * https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/s3_bucket#delete_marker_replication_statusv0.44.2
Compare Source
🚀 Enhancements
Bump module versions and update GitHub workflows @aknysh (#125)
##### what * Bump module versions and update GitHub workflows ##### why * Keep up to dateConfiguration
📅 Schedule: At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Renovate will not automatically rebase this PR, because other commits have been found.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by WhiteSource Renovate. View repository job log here.