Skip to content

Add volume KMS key to transformer #368

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

Merged
merged 10 commits into from
Sep 27, 2018
Merged

Conversation

apacker
Copy link
Contributor

@apacker apacker commented Aug 29, 2018

This adds support for the optional VolumeKmsKeyId parameter of CreateTransformJob

Issue #, if available: N/A

Description of changes: This change adds support for specifying a volume KMS key, which is used to encrypt the volume attached to the ML compute instance for a transform job.

Merge Checklist

Put an x in the boxes that apply. You can also fill these out after creating the PR. If you're unsure about any of them, don't hesitate to ask. We're here to help! This is simply a reminder of what we are going to look for before merging your pull request.

  • I have read the CONTRIBUTING doc
  • I have added tests that prove my fix is effective or that my feature works (if appropriate)
  • I have updated the changelog with a description of my changes (if appropriate)
  • I have updated any necessary documentation (if appropriate)

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

This adds support for the optional VolumeKmsKeyId parameter of CreateTuningJob
@codecov-io
Copy link

codecov-io commented Aug 29, 2018

Codecov Report

Merging #368 into master will increase coverage by <.01%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #368      +/-   ##
==========================================
+ Coverage   93.24%   93.25%   +<.01%     
==========================================
  Files          52       52              
  Lines        3658     3663       +5     
==========================================
+ Hits         3411     3416       +5     
  Misses        247      247
Impacted Files Coverage Δ
src/sagemaker/estimator.py 89.06% <ø> (ø) ⬆️
src/sagemaker/transformer.py 100% <100%> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 3cd8628...ad99ada. Read the comment docs.

Copy link
Contributor

@nadiaya nadiaya left a comment

Choose a reason for hiding this comment

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

Should we add to an integ test?

CHANGELOG.rst Outdated
@@ -11,6 +11,7 @@ CHANGELOG
=====

* feature: add support for TensorFlow 1.9
* enhancement: Add support for volume KMS key to Transformer
Copy link
Contributor

@nadiaya nadiaya Aug 29, 2018

Choose a reason for hiding this comment

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

Can you move it to the next section (1.9.3dev I believe)? This one already was released

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Fixed, also updated transformer integ tests to include the volume KMS key

Andrew Packer added 2 commits August 29, 2018 13:44
This also adds volume KMS key to Estimator.transformer()
nadiaya
nadiaya previously approved these changes Aug 30, 2018
@nadiaya nadiaya merged commit 6a7b560 into aws:master Sep 27, 2018
pdasamzn pushed a commit to pdasamzn/sagemaker-python-sdk that referenced this pull request Nov 1, 2018
* Add volume KMS key to transformer

This adds support for the optional VolumeKmsKeyId parameter of CreateTuningJob

* Fix changelog and add integ test

This also adds volume KMS key to Estimator.transformer()

* Fixing flake errors

* Fix resource config preparation for volume kms key
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