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

feat: Allow override of the default tags override #261

Merged

Conversation

kbcz1989
Copy link
Contributor

Description

Added support for ignoring default_tags set on provider level.

Motivation and Context

This change was required as it was not possible to deploy s3 bucket object if there are more than 10 tags set on provider level.
More info here.

Breaking Changes

This is not a breaking change but it does require bumping the provider version for 2 major versions, as option was only recently added to provider.

How Has This Been Tested?

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

@kbcz1989 kbcz1989 changed the title Default tags override feat - Default tags override Nov 21, 2023
@kbcz1989 kbcz1989 changed the title feat - Default tags override feat: Default tags override Nov 21, 2023
Copy link

This PR has been automatically marked as stale because it has been open 30 days
with no activity. Remove stale label or comment or this PR will be closed in 10 days

@github-actions github-actions bot added the stale label Dec 22, 2023
@kbcz1989
Copy link
Contributor Author

Let's try to keep it open for a bit more.

@github-actions github-actions bot removed the stale label Dec 23, 2023
Copy link

This PR has been automatically marked as stale because it has been open 30 days
with no activity. Remove stale label or comment or this PR will be closed in 10 days

@github-actions github-actions bot added the stale label Jan 22, 2024
@kbcz1989
Copy link
Contributor Author

bump once more

@@ -36,4 +36,13 @@ resource "aws_s3_object" "this" {
lifecycle {
ignore_changes = [object_lock_retain_until_date]
}

override_provider {
Copy link
Member

Choose a reason for hiding this comment

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

Please change it so that the override_provider block is used only if necessary (override_default_tags should be true).

Also, please keep lifecycle block as the last one.

@antonbabenko antonbabenko changed the title feat: Default tags override feat: Allow override of the default tags override Jan 23, 2024
@github-actions github-actions bot removed the stale label Jan 24, 2024
@antonbabenko antonbabenko merged commit f9e1740 into terraform-aws-modules:master Jan 26, 2024
15 checks passed
antonbabenko pushed a commit that referenced this pull request Jan 26, 2024
## [4.1.0](v4.0.1...v4.1.0) (2024-01-26)

### Features

* Allow override of the default tags override ([#261](#261)) ([f9e1740](f9e1740))
@antonbabenko
Copy link
Member

This PR is included in version 4.1.0 🎉

@kbcz1989
Copy link
Contributor Author

Hello @antonbabenko. Sorry for the delay and thank you for fixing and merging this!

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 Feb 29, 2024
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.

None yet

2 participants