aws-samples / aws-samples/appstream-serverless-image-creation-automation
Hardcoded path to AWS Secret prevents multiple deployments
- Dominant language
- Python
- Stars
- 14
- Forks
- 6
- PR merge metrics
- No merged PRs in 30d
Description
The secret path `as2/builder/pw` is hardcoded which prevents multiple images from being built in the same account.
See:
- https://github.com/aws-samples/appstream-serverless-image-creation-automation/blob/485cfa258da26c4e23db157969daffd1b10fdd64/WINDOWS/Lambda/FN02_AS2_Windows_Automation_Scripted_Install/lambda_function.py
- https://github.com/aws-samples/appstream-serverless-image-creation-automation/blob/485cfa258da26c4e23db157969daffd1b10fdd64/WINDOWS/PowerShell/AS2_Builder_startup.ps1
- https://github.com/aws-samples/appstream-serverless-image-creation-automation/blob/485cfa258da26c4e23db157969daffd1b10fdd64/WINDOWS/AS2-Automation-Windows-CloudFormation.yaml
-
Contributor guide
Research direction
Start by tracing the hardcoded `as2/builder/pw` path across `lambda_function.py`, `AS2_Builder_startup.ps1`, and `AS2-Automation-Windows-CloudFormation.yaml`. Determine how the path can vary per image deployment; done means multiple images can be built in the same AWS account without secret-path collisions.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- aws, powershell, python
- Domain
- cloud, devops
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100