Skip to content

Conversation

@brtrvn
Copy link
Contributor

@brtrvn brtrvn commented Aug 11, 2022

Update the onboarding service CodePipeline listener to be more precise by fetching the tenant id from the pipeline tags instead of heuristics based on the pipeline name. Also, quote the table name (which includes the SaaS Boost environment label) in the Athena SQL queries for the Metrics service.

This resolves issue #231 when the SaaS Boost environment contains a hyphen/dash character.


By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license

fetching the tenant id from the pipeline tags instead of heuristics
based on the pipeline name. This resolves issue awslabs#231 when the SaaS Boost environment contains
a hyphen/dash character.
Copy link
Contributor Author

@brtrvn brtrvn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note that tagging the CodePipeline resource has been silently failing without the IAM permissions to codepipeline:TagResource

Single quoting the table name for the Athena query did not work.

@brtrvn brtrvn merged commit 0ae8346 into awslabs:main Aug 12, 2022
@brtrvn brtrvn deleted the env-with-dash branch August 23, 2022 16:32
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.

error shows up in cloudwatch when onboard tenants: Can't find onboarding record for tenant tenant

1 participant