diff --git a/docs/partner_editable/architecture.adoc b/docs/partner_editable/architecture.adoc index 2347538..361d224 100644 --- a/docs/partner_editable/architecture.adoc +++ b/docs/partner_editable/architecture.adoc @@ -1,6 +1,6 @@ Deploying this Quick Start builds the following environment in the AWS Cloud. -// Replace this example diagram with your own. Send us your source PowerPoint file. Be sure to follow our guidelines here : http://(we should include these points on our contributors giude) +// Replace this example diagram with your own. Send us your source PowerPoint file. Be sure to follow our guidelines here : http://(we should include these points on our contributors guide) :xrefstyle: short [#architecture_diagram] diff --git a/functions/source/CreateSSHKey/lambda_function.py b/functions/source/CreateSSHKey/lambda_function.py index 42fc73d..4003588 100644 --- a/functions/source/CreateSSHKey/lambda_function.py +++ b/functions/source/CreateSSHKey/lambda_function.py @@ -47,7 +47,7 @@ def lambda_handler(event,context): f = open('/tmp/enc_key', 'wb') f.write(enc_key) f.close() - # Upload priivate key to S3 + # Upload private key to S3 s3 = boto3.client('s3') s3.upload_file('/tmp/enc_key', event["ResourceProperties"]["KeyBucket"], 'enc_key') diff --git a/functions/source/GitPullS3/lambda_function.py b/functions/source/GitPullS3/lambda_function.py index d20806b..9e49e43 100644 --- a/functions/source/GitPullS3/lambda_function.py +++ b/functions/source/GitPullS3/lambda_function.py @@ -40,7 +40,7 @@ def lambda_handler(event, context): keybucket = event['context']['key-bucket'] outputbucket = event['context']['output-bucket'] pubkey = event['context']['public-key'] - # Source IP ranges to allow requests from, if the IP is in one of these the request will not be chacked for an api key + # Source IP ranges to allow requests from, if the IP is in one of these the request will not be checked for an api key ipranges = [] if event['context']['allowed-ips']: for i in event['context']['allowed-ips'].split(','):