aws-samples / aws-samples/lambdaedge-openidconnect-samples
Cloudfront distribution ID not known when creating secret
- Ngôn ngữ chính
- JavaScript
- Star
- 73
- Fork
- 22
- Merge trung bình
- 19 giờ 45 phút
- Pull request đã merge (30 ngày)
- 1
Mô tả
One of the initials steps is to create a secret with a placeholder value. However, the secret name is:
"cloudfront/DISTRIBUTION_ID"
with DISTRIBUTION_ID to be substituted with the actual cloudfront distribution ID
doc: https://github.com/aws-samples/lambdaedge-openidconnect-samples/blob/master/docs/baseconfiguration.md
Previously the secret name was to be placed in a sm-key.txt file. Looks like this has changed and the secret is simply
"cloudfront/DISTRIBUTION_ID"
The code has been updated to look for this value. https://github.com/aws-samples/lambdaedge-openidconnect-samples/blob/master/src/js/auth.js#L241
However, the distribution_ID is not know when the secret is created. And, the secret ARN must be provided to deploy the stack (circular dependency).
Am I missing something?
Hướng dẫn đóng góp
Hướng nghiên cứu
Bắt đầu với docs/baseconfiguration.md và phần tra cứu trong src/js/auth.js quanh dòng 241. Theo dõi thời điểm ID của CloudFront distribution và secret ARN khả dụng trong quá trình triển khai stack, sau đó xác nhận một workflow được ghi lại để tránh dependency vòng tròn.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- aws, javascript
- Lĩnh vực
- cloud, devops
- Loại issue
- Lỗi
- Độ khó
- 5/5
- Thời gian dự kiến
- Hơn một tuần
- Mức độ hoạt động
- Đình trệ
- Độ rõ ràng
- Cần làm rõ
- Mức phù hợp với người mới
- 28/100