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: Separate redis security group rules #13

Merged
merged 2 commits into from
Feb 14, 2022
Merged

Conversation

elainaRenee
Copy link
Contributor

@elainaRenee elainaRenee commented Feb 14, 2022

Copy link

@vanpelt vanpelt left a comment

Choose a reason for hiding this comment

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

Seems fine, but I don't understand why the old version would cause conflicts...

@jsbroks
Copy link
Member

jsbroks commented Feb 14, 2022

In the original, you are only using only inline rules? so it shouldn't cause a conflict?

from_port = "6379"
to_port = "6379"
cidr_blocks = var.vpc_subnets_cidr_blocks
security_group_id = aws_security_group.redis.id
Copy link
Member

Choose a reason for hiding this comment

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

make sure you run tf format

@elainaRenee
Copy link
Contributor Author

I updated the description with some info I found in the docs which lead me to this change. This appears to have fixed the confusion I was observing in the plan. I was using the aws_security_group resource with inline rules along with a standalone rule in the eks module (allowing eks to talk to redis)

@elainaRenee elainaRenee merged commit 71345d6 into main Feb 14, 2022
@elainaRenee elainaRenee deleted the fix/separate-redis-sg branch February 14, 2022 16:46
jsbroks pushed a commit that referenced this pull request Feb 14, 2022
### [1.0.4](v1.0.3...v1.0.4) (2022-02-14)

### Bug Fixes

* Separate redis security group rules ([#13](#13)) ([71345d6](71345d6))
@jsbroks
Copy link
Member

jsbroks commented Feb 14, 2022

This PR is included in version 1.0.4 🎉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants