-
Notifications
You must be signed in to change notification settings - Fork 48
adding snapshot support #316
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
adding snapshot support #316
Conversation
aygold92
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is there a way to test this end to end before we submit it?
| .logicalResourceIdentifier(request.getRequestData().getLogicalResourceId()) | ||
| .nextToken(request.getNextToken()) | ||
| .region(request.getRegion()) | ||
| .snapshotRequested(request.getSnapshotRequested()) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should not add change in the generated code here. This will cause build break if only upgrade the PyPi java plugin.
The better place like this https://github.com/aws-cloudformation/cloudformation-cli-java-plugin/blob/master/src/main/java/software/amazon/cloudformation/LambdaWrapper.java#L275
We won't even need tool release.
| private String region; | ||
| private String resourceType; | ||
| private String resourceTypeVersion; | ||
| private RequestData<ResourceT> requestData; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: should this be in request data instead? seems relatedto the actual request and not cloudformation metadata related info
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good point, but TBH I don't really understand the distinction here anyways. Like, why are providerCredentials, providerLogGroupName, and logicalResourceId part of requestData while callbackContext, accountId, bearerToken, and action are not?
Issue #, if available:
Description of changes:
adding support for snapshot metadata
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.