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 when awareness is disabled, always changing #123

Merged
merged 3 commits into from
Feb 15, 2022

Conversation

sanarena
Copy link
Contributor

what

When we disable zone awareness, Terraform want to put in availability_zone_count on every single run,
so resource is always marked as changed.
This pull request fix this issue.

why

Avoid unnecessary AWS calls and changes.

@sanarena sanarena requested review from a team as code owners December 27, 2021 10:21
main.tf Outdated Show resolved Hide resolved
main.tf Outdated Show resolved Hide resolved
@nitrocode nitrocode added the patch A minor, backward compatible change label Jan 17, 2022
Copy link

@bridgecrew bridgecrew bot left a comment

Choose a reason for hiding this comment

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

⚠️   Due to 582ff4b - Update main.tf - 2 errors were fixed.

Change details

Error ID Change Path Resource
BC_AWS_IAM_60 Fixed /main.tf aws_db_instance.default
BC_AWS_LOGGING_28 Fixed /main.tf aws_db_instance.default

@nitrocode
Copy link
Member

/test all

Copy link

@bridgecrew bridgecrew bot left a comment

Choose a reason for hiding this comment

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

⚠️   Due to e9d96fa - Auto Format - 2 errors were fixed.

Change details

Error ID Change Path Resource
BC_AWS_IAM_60 Fixed /main.tf aws_db_instance.default
BC_AWS_LOGGING_28 Fixed /main.tf aws_db_instance.default

@sanarena
Copy link
Contributor Author

@jhosteny @milldr can help with reviewing and merging please? thanks

@Gowiem Gowiem merged commit 9f3dd59 into cloudposse:master Feb 15, 2022
@Gowiem
Copy link
Member

Gowiem commented Feb 15, 2022

@sanarena Thanks for the contribution! Released as https://github.com/cloudposse/terraform-aws-elasticsearch/releases/tag/0.35.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
patch A minor, backward compatible change
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants