Update Terraform cloudposse/s3-bucket/aws to v0.48.0 #67
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.47.0
->0.48.0
Release Notes
cloudposse/terraform-aws-s3-bucket
v0.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/23299Configuration
📅 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.