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: Default to null when state argument is not set #122

Merged
merged 1 commit into from
Apr 24, 2024

Conversation

marcnyholm
Copy link
Contributor

Description

Changes the default value of aws_cloudwatch_event_rule to be ENABLED if neither the attributes enabled or state is set.

Motivation and Context

Fixes the issue introduces in v.3.3.0 #121 where missing attributes defaults to the opposite value of the vanilla Terraform resource.

Breaking Changes

The change reestablished compatibility with Terraform defaults.

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

@marcnyholm marcnyholm changed the title default to null when attributes are not set fix: default to null when attributes are not set Apr 24, 2024
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.

👍

@antonbabenko antonbabenko changed the title fix: default to null when attributes are not set fix: Default to null when state argument is not set Apr 24, 2024
@antonbabenko antonbabenko merged commit ed4b013 into terraform-aws-modules:master Apr 24, 2024
15 of 17 checks passed
antonbabenko pushed a commit that referenced this pull request Apr 24, 2024
## [3.3.1](v3.3.0...v3.3.1) (2024-04-24)

### Bug Fixes

* Default to null when state argument is not set ([#122](#122)) ([ed4b013](ed4b013))
@antonbabenko
Copy link
Member

This PR is included in version 3.3.1 🎉

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 May 25, 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.

2 participants