Skip to content

SAM template changes, parameter store in DAG, simplified setup#8

Open
mrichman wants to merge 3 commits intoaws-samples:mainfrom
mrichman:main
Open

SAM template changes, parameter store in DAG, simplified setup#8
mrichman wants to merge 3 commits intoaws-samples:mainfrom
mrichman:main

Conversation

@mrichman
Copy link
Contributor

  • Creating Rekognition collection via custom resource
  • Lambda function and DynamoDB table names in DAG via Parameter Store
  • Simplified pre-deploy using setup.sh
  • Dynamic MWAA environment name to facilitate deploying multiple stacks in the same account

@umaragu
Copy link
Contributor

umaragu commented Sep 8, 2021

Running setup.sh in us-west-2 cause the following issue
An error occurred (IllegalLocationConstraintException) when calling the CreateBucket operation: The unspecified location constraint is incompatible for the region specific endpoint this request was sent to.
use aws s3api create-bucket --bucket $S3_BUCKET --create-bucket-configuration LocationConstraint=region

Creates a collection ID by name "image_processing". If a different name is given in the parameter, the template only use it for providing IAM permissions thus breaking the access to collection.

@mrichman
Copy link
Contributor Author

mrichman commented Sep 8, 2021

Fixed template.yaml to use RekognitionCollectionId param to dynamically set collection_id in Lambda function.

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