aws-samples / amazon-security-lake-quicksight

MIT No Attribution
10 stars 5 forks source link

Update createqsobjects.py #54

Open zenttic-aws opened 1 year ago

zenttic-aws commented 1 year ago

Fixed the not found error when running deployment sh (qsdeploy.sh).

aws_account_id = parameters['context']['AWSAccountID']

However, in cdk.json, it tries to load

"SecurityLakeAccountID": 123456789012,

Making changes createpsobjects.py to make the deployment work aws_account_id = parameters['context']['SecurityLakeAccountID']

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.