File tree Expand file tree Collapse file tree 3 files changed +13
-3
lines changed
modules/cloudfront-cognito Expand file tree Collapse file tree 3 files changed +13
-3
lines changed Original file line number Diff line number Diff line change @@ -117,19 +117,21 @@ jobs:
117117 id : step-03
118118 uses : nwtgck/actions-netlify@v2.0
119119 with :
120- publish-dir : ${{ github.workspace }}/docs
121120 production-branch : main
121+ publish-dir : ${{ github.workspace }}/docs
122122 github-token : ${{ secrets.GITHUB_TOKEN }}
123123 deploy-message : " Deploy from GitHub Actions"
124124 enable-pull-request-comment : true
125125 enable-commit-comment : false
126126 overwrites-pull-request-comment : true
127+ github-deployment-environment : prd
127128 env :
128129 NETLIFY_AUTH_TOKEN : ${{ secrets.NETLIFY_AUTH_TOKEN }}
129130 NETLIFY_SITE_ID : ${{ secrets.NETLIFY_SITE_ID }}
130131 timeout-minutes : 1
132+ - run : " echo 'outputs.deploy-url: ${{ steps.step-03.outputs.deploy-url }}'"
131133
132- # Deploy to Netlify
134+ # Deploy to S3
133135 deploy-to-s3 :
134136 # Add a dependency to the build job
135137 needs : build
Original file line number Diff line number Diff line change 11output "cloudfront_distribution__domain_name" {
22 value = module. cloudfront_cognito . cloudfront_distribution__domain_name
3+ }
4+
5+ output "aws_s3_bucket__arn" {
6+ value = module. cloudfront_cognito . aws_s3_bucket__arn
37}
Original file line number Diff line number Diff line change @@ -21,4 +21,8 @@ output "cloudfront_distribution__id" {
2121// Output the domain name of the CloudFront distribution for the app distribution
2222output "cloudfront_distribution__domain_name" {
2323 value = aws_cloudfront_distribution. app . domain_name
24- }
24+ }
25+
26+ output "aws_s3_bucket__arn" {
27+ value = aws_s3_bucket. app . arn
28+ }
You can’t perform that action at this time.
0 commit comments