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

First commit after repackage and removal of build/ which included AWS… #40

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

skellish-aws
Copy link

… 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.

Copy link
Contributor

@mrinaudo-aws mrinaudo-aws left a 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",
Copy link
Contributor

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",
Copy link
Contributor

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",
Copy link
Contributor

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",
Copy link
Contributor

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
Copy link
Contributor

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"
Copy link
Contributor

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
Copy link
Contributor

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
Copy link
Contributor

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.

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