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

Support Tag and Untag API for snapshot. #46

Merged
merged 1 commit into from
Dec 29, 2022

Conversation

kyriechen96
Copy link
Contributor

Issue #, if available:
Customer cannot update tags after snapshot creation.

Description of changes:
Add functions that support Tag and Untag APIs for snapshot.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@kyriechen96
Copy link
Contributor Author

/retest

@kyriechen96 kyriechen96 force-pushed the ssTagging branch 3 times, most recently from e275911 to 628d2b1 Compare December 27, 2022 16:56
@kyriechen96
Copy link
Contributor Author

/retest

1 similar comment
@kyriechen96
Copy link
Contributor Author

/retest

@kyriechen96
Copy link
Contributor Author

/retest

Copy link
Member

@a-hilaly a-hilaly left a comment

Choose a reason for hiding this comment

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

Good stuff! thank you @kyriechen96
/lgtm

)

func (rm *resourceManager) customDescribeSnapshotSetOutput(
resp *memorydb.DescribeSnapshotsOutput,
resp *svcsdk.DescribeSnapshotsOutput,
Copy link
Member

Choose a reason for hiding this comment

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

good catch removing the deplicate sdk imports!

Comment on lines +7 to +12
tags, err := rm.getTags(ctx, *resourceARN)
if err != nil {
return nil, err
}
ko.Spec.Tags = tags
Copy link
Member

Choose a reason for hiding this comment

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

nice!

@ack-bot ack-bot added the lgtm Indicates that a PR is ready to be merged. label Dec 29, 2022
@ack-bot
Copy link
Collaborator

ack-bot commented Dec 29, 2022

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: A-Hilaly, kyriechen96

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@ack-bot ack-bot merged commit 9df7dd6 into aws-controllers-k8s:main Dec 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved lgtm Indicates that a PR is ready to be merged.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants