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

Replication Group missing cross-resource referencers #96

Merged
merged 2 commits into from
Mar 12, 2020

Conversation

muvaf
Copy link
Member

@muvaf muvaf commented Jan 2, 2020

Description of your changes

Adds security group name referencer for CacheSecurityGroupName and security group ID referencer for SecurityGroupIDs fields. The reason that there are two different fields is that CacheSecurityGroupName is used in EC2-Classic mode and SecurityGroupIDs is used in EC2-VPC mode.

Fixes #83

Checklist

I have:

  • Run make reviewable to ensure this PR is ready for review.
  • Ensured this PR contains a neat, self documenting set of commits.
  • Updated any relevant documentation, examples, or release notes.
  • Updated the dependencies in app.yaml to include any new role permissions.

@muvaf muvaf requested review from negz and hasheddan January 2, 2020 12:18
@upbound-bot
Copy link
Collaborator

60% (-0.28%) vs master 60%

Copy link
Member

@hasheddan hasheddan left a comment

Choose a reason for hiding this comment

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

Looking pretty good to me! Have you done any manual testing thus far?

apis/cache/v1beta1/replication_group_types.go Outdated Show resolved Hide resolved
Copy link
Member

@hasheddan hasheddan left a comment

Choose a reason for hiding this comment

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

@muvaf I think this needs rebase but then I imagine we can go ahead get this merged before #126 so that you don't have to do any additional clean-up 👍

… and security group name fields

Signed-off-by: Muvaffak Onus <onus.muvaffak@gmail.com>
Signed-off-by: Muvaffak Onus <onus.muvaffak@gmail.com>
@muvaf
Copy link
Member Author

muvaf commented Mar 12, 2020

Looking pretty good to me! Have you done any manual testing thus far?

@hasheddan I've tested this manually and it resolves the correct name from the reference. Though for the VPC mode to work, we need to implement a managed resource CacheSubnetGroup which is basically a logical group of subnets.

@negz I think that's ready to merge.

Copy link
Member

@hasheddan hasheddan left a comment

Choose a reason for hiding this comment

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

@muvaf gotcha, thanks! LGTM

@negz
Copy link
Member

negz commented Mar 12, 2020

Thanks @muvaf, and @hasheddan for reviewing!

@negz negz merged commit 54428ce into crossplane-contrib:master Mar 12, 2020
wolffbe pushed a commit to wolffbe/provider-aws that referenced this pull request Feb 12, 2021
…nces

Replication Group missing cross-resource referencers
namku pushed a commit to namku/provider-aws that referenced this pull request Mar 9, 2021
…nces

Replication Group missing cross-resource referencers
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.

ReplicationGroup does not have any reference cross-resource references implemented
4 participants