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

Complete AWS SDK v2 Migration #855

Merged
merged 2 commits into from
Oct 4, 2021
Merged

Conversation

muvaf
Copy link
Member

@muvaf muvaf commented Oct 4, 2021

Description of your changes

There were a few things missing in #602 . This PR aims to fix those and updates the SDK to the latest version of v2 as of today along with crossplane-runtime.

I have:

  • Read and followed Crossplane's contribution process.
  • Run make reviewable test to ensure this PR is ready for review.

How has this code been tested

Compiles, make reviewable and unit tests.

@muvaf muvaf requested review from ulucinar and turkenh October 4, 2021 13:28
@@ -206,7 +206,7 @@ type EncryptionConfiguration struct {
// supports symmetric customer managed CMKs. For more information, see Using
// Symmetric and Asymmetric Keys (https://docs.aws.amazon.com/kms/latest/developerguide/symmetric-asymmetric.html)
// in the AWS Key Management Service Developer Guide.
ReplicaKmsKeyID string `json:"replicaKmsKeyId"`
ReplicaKmsKeyID *string `json:"replicaKmsKeyId"`
Copy link
Contributor

Choose a reason for hiding this comment

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

what is the reasoning behind these type changes. I see that some changed from pointer and some to a pointer.

Copy link
Member Author

Choose a reason for hiding this comment

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

It's just what the new version of the SDK expects

Copy link
Contributor

@turkenh turkenh left a comment

Choose a reason for hiding this comment

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

lgtm!

pkg/clients/aws_test.go Outdated Show resolved Hide resolved
pkg/clients/ec2/ec2_test.go Outdated Show resolved Hide resolved
pkg/clients/ec2/securitygroup_test.go Outdated Show resolved Hide resolved
@muvaf muvaf merged commit 4745181 into crossplane-contrib:master Oct 4, 2021
@muvaf muvaf deleted the fix-master branch October 4, 2021 13:57
@muvaf muvaf mentioned this pull request Oct 4, 2021
@chlunde chlunde mentioned this pull request Oct 5, 2021
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.

2 participants