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

fix: Remove deprecated attributes from ignore_changes #179

Merged
merged 2 commits into from
Aug 26, 2022

Conversation

phr3nzii
Copy link
Contributor

@phr3nzii phr3nzii commented Aug 22, 2022

Description

This PR removes deprecated attributes from the aws_s3_bucket resource. This required a change to the required AWS provider version, version 4.9.0 made the removed attributes optional - this module uses the standalone resources.

I also updated one of the examples as the hard-coded value caused errors when testing.

Fixes #174
Fixes #177
Fixes #176

Motivation and Context

Prior to this change, Terraform shows Warning: Deprecated attribute when running an apply. This no longer happens with these changes.

This fixes #174 and #177

Breaking Changes

There are no breaking changes

How Has This Been Tested?

  • I have updated at least one of the examples/* to demonstrate and validate my change(s)
    • A fix was applied to the complete example
  • I have tested and validated these changes using one or more of the provided examples/* projects
    • The complete example was used
  • I have executed pre-commit run -a on my pull request

As mentioned above, I use the complete example to show the behaviour before and after these changes. This example required removing a hardcoded canonical ID to get it to deploy before any changes had been made.

@antonbabenko antonbabenko changed the title fix: Remove deprecated attributes fix: Remove deprecated attributes from ignore_changes Aug 26, 2022
Copy link
Member

@antonbabenko antonbabenko left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thank you!

@antonbabenko antonbabenko merged commit 8366ccc into terraform-aws-modules:master Aug 26, 2022
antonbabenko pushed a commit that referenced this pull request Aug 26, 2022
### [3.3.1](v3.3.0...v3.3.1) (2022-08-26)

### Bug Fixes

* Remove deprecated attributes from ignore_changes ([#179](#179)) ([8366ccc](8366ccc))
@antonbabenko
Copy link
Member

This PR is included in version 3.3.1 🎉

@github-actions
Copy link

I'm going to lock this pull request because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems related to this change, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Oct 28, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Ability to apply examples without errors fix: Update deprecated parameter
2 participants