-
Notifications
You must be signed in to change notification settings - Fork 55
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
First commit after repackage and removal of build/ which included AWS… #40
base: main
Are you sure you want to change the base?
Conversation
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.
Thank you, @skellish-aws - I left initial feedback for my first review. Can you please implement contract test inputs, and make sure contract tests pass? Please also address the initial feedback I shared. Thank you!
{ | ||
"artifact_type": "HOOK", | ||
"typeName": "AWSSamples::Ec2SsmSmOnly::Hook", | ||
"language": "python36", |
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.
This should be python37
at least.
"artifact_type": "HOOK", | ||
"typeName": "AWSSamples::Ec2SsmSmOnly::Hook", | ||
"language": "python36", | ||
"runtime": "python3.6", |
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.
This should be python3.7
at least.
{ | ||
"typeName": "AWSSamples::Ec2SsmSmOnly::Hook", | ||
"description": "Checks that EC2 instances being deployed are configured to only allow use of SSM Session Manager to access the instance", | ||
"sourceUrl": "https://github.com/aws-cloudformation/example-sse-hook", |
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.
Please update the URL accordingly.
"typeName": "AWSSamples::Ec2SsmSmOnly::Hook", | ||
"description": "Checks that EC2 instances being deployed are configured to only allow use of SSM Session Manager to access the instance", | ||
"sourceUrl": "https://github.com/aws-cloudformation/example-sse-hook", | ||
"documentationUrl": "https://github.com/aws-cloudformation/example-sse-hook/blob/master/README.md", |
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.
Please update the URL accordingly.
@@ -0,0 +1 @@ | |||
cloudformation-cli-python-lib==2.2.hooks |
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.
This should be cloudformation-cli-python-lib>=2.1.9
at least.
@@ -0,0 +1,32 @@ | |||
AWSTemplateFormatVersion: "2010-09-09" |
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.
This file does not seem to be needed - please remove it, or clarify.
Type: AWS::Serverless::Function | ||
Properties: | ||
Handler: awssamples_ec2ssmsmonly_hook.handlers.hook | ||
Runtime: python3.6 |
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.
Please update the runtime version here as well.
Type: AWS::Serverless::Function | ||
Properties: | ||
Handler: awssamples_ec2ssmsmonly_hook.handlers.test_entrypoint | ||
Runtime: python3.6 |
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.
Please update the runtime version here as well.
… account number
Issue #, if available:
Description of changes:
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.