Closed Guria closed 2 years ago
Build output
Deploying to stage task4-additional
api-gateway › waiting
fe-distribution › waiting
fixtures › waiting
products-api › waiting
shop-frontend-app › waiting
api-gateway › deploying
fe-distribution › deploying
fixtures › deploying
api-gateway › Running "serverless deploy --stage task4-additional --param ResourcePrefix=ajp-task4-additional"
fe-distribution › Running "serverless deploy --stage task4-additional --param ResourcePrefix=ajp-task4-additional"
fixtures › Running "serverless deploy --stage task4-additional --param ResourcePrefix=ajp-task4-additional"
api-gateway › Deploying ajp-api-gateway to stage task4-additional (us-east-1)
fe-distribution › Deploying ajp-fe-distribution to stage task4-additional (us-east-1)
fixtures › Deploying ajp-fixtures to stage task4-additional (us-east-1)
api-gateway › ✔ Service deployed to stack ajp-api-gateway-task4-additional (63s)
api-gateway › Running "serverless info --verbose --stage task4-additional --param ResourcePrefix=ajp-task4-additional"
api-gateway › service: ajp-api-gateway
api-gateway › stage: task4-additional
api-gateway › region: us-east-1
api-gateway › stack: ajp-api-gateway-task4-additional
api-gateway ›
api-gateway › Stack Outputs:
api-gateway › ApiGatewayRestApiId: 9mkundiwv2
api-gateway › ApiGatewayRestApiEndpoint: https://9mkundiwv2.execute-api.us-east-1.amazonaws.com/task4-additional
api-gateway › ApiGatewayRestApiRootResourceId: s6ttwbadwe
api-gateway › ServerlessDeploymentBucketName: ajp-api-gateway-task4-ad-serverlessdeploymentbuck-nqmckow0a8w7
api-gateway › deployed
fixtures › ✔ Service deployed to stack ajp-fixtures-task4-additional (84s)
fixtures › Running "serverless info --verbose --stage task4-additional --param ResourcePrefix=ajp-task4-additional"
fixtures › service: ajp-fixtures
fixtures › stage: task4-additional
fixtures › region: us-east-1
fixtures › stack: ajp-fixtures-task4-additional
fixtures ›
fixtures › Stack Outputs:
fixtures › ServerlessDeploymentBucketName: ajp-fixtures-task4-addit-serverlessdeploymentbuck-1x1ofmxfloo7u
fixtures › SeedS3BucketName: ajp-task4-additional-fixtures
fixtures › deployed
fe-distribution › ✔ Service deployed to stack ajp-fe-distribution-task4-additional (354s)
fe-distribution › Running "serverless info --verbose --stage task4-additional --param ResourcePrefix=ajp-task4-additional"
fe-distribution › service: ajp-fe-distribution
fe-distribution › stage: task4-additional
fe-distribution › region: us-east-1
fe-distribution › stack: ajp-fe-distribution-task4-additional
fe-distribution ›
fe-distribution › Stack Outputs:
fe-distribution › WebAppCustomDomain: ajp-task4-additional.guria.dev
fe-distribution › WebAppDistributionDomain: d2rqor53qnihi1.cloudfront.net
fe-distribution › WebAppDistributionId: E2W8XE6EX19VJV
fe-distribution › WebAppS3BucketName: ajp-task4-additional-s3
fe-distribution › ServerlessDeploymentBucketName: ajp-fe-distribution-task-serverlessdeploymentbuck-g1e1z2n853rw
fe-distribution › deployed
products-api › deploying
products-api › Running "serverless deploy --stage task4-additional --param ResourcePrefix=ajp-task4-additional --param SeedS3BucketName=ajp-task4-additional-fixtures --param ApiGatewayRestApiId=9mkundiwv2 --param ApiGatewayRestApiRootResourceId=s6ttwbadwe --param WebAppDistributionDomain=d2rqor53qnihi1.cloudfront.net --param WebAppCustomDomain=ajp-task4-additional.guria.dev"
products-api › Deploying ajp-products-api to stage task4-additional (us-east-1)
products-api › ✔ Service deployed to stack ajp-products-api-task4-additional (299s)
products-api › endpoints:
products-api › GET - https://9mkundiwv2.execute-api.us-east-1.amazonaws.com/task4-additional/products
products-api › GET - https://9mkundiwv2.execute-api.us-east-1.amazonaws.com/task4-additional/products/{productId}
products-api › POST - https://9mkundiwv2.execute-api.us-east-1.amazonaws.com/task4-additional/products
products-api › functions:
products-api › getProductsList: ajp-products-api-task4-additional-getProductsList (197 kB)
products-api › getProductById: ajp-products-api-task4-additional-getProductById (198 kB)
products-api › createProduct: ajp-products-api-task4-additional-createProduct (198 kB)
products-api › Running "serverless info --verbose --stage task4-additional --param ResourcePrefix=ajp-task4-additional --param SeedS3BucketName=ajp-task4-additional-fixtures --param ApiGatewayRestApiId=9mkundiwv2 --param ApiGatewayRestApiRootResourceId=s6ttwbadwe --param WebAppDistributionDomain=d2rqor53qnihi1.cloudfront.net --param WebAppCustomDomain=ajp-task4-additional.guria.dev"
products-api › service: ajp-products-api
products-api › stage: task4-additional
products-api › region: us-east-1
products-api › stack: ajp-products-api-task4-additional
products-api › endpoints:
products-api › GET - https://9mkundiwv2.execute-api.us-east-1.amazonaws.com/task4-additional/products
products-api › GET - https://9mkundiwv2.execute-api.us-east-1.amazonaws.com/task4-additional/products/{productId}
products-api › POST - https://9mkundiwv2.execute-api.us-east-1.amazonaws.com/task4-additional/products
products-api › functions:
products-api › getProductsList: ajp-products-api-task4-additional-getProductsList
products-api › getProductById: ajp-products-api-task4-additional-getProductById
products-api › createProduct: ajp-products-api-task4-additional-createProduct
products-api ›
products-api › Stack Outputs:
products-api › GetProductByIdLambdaFunctionQualifiedArn: arn:aws:lambda:us-east-1:609136581632:function:ajp-products-api-task4-additional-getProductById:2
products-api › GetProductsListLambdaFunctionQualifiedArn: arn:aws:lambda:us-east-1:609136581632:function:ajp-products-api-task4-additional-getProductsList:1
products-api › CreateProductLambdaFunctionQualifiedArn: arn:aws:lambda:us-east-1:609136581632:function:ajp-products-api-task4-additional-createProduct:1
products-api › ServiceEndpoint: https://9mkundiwv2.execute-api.us-east-1.amazonaws.com/task4-additional
products-api › ServerlessDeploymentBucketName: ajp-products-api-task4-a-serverlessdeploymentbuck-gyw9ge0fpwpb
products-api › deployed
shop-frontend-app › deploying
shop-frontend-app › Running "serverless deploy --stage task4-additional --param ApiGatewayRestApiId=9mkundiwv2 --param ProductsApiServiceEndpoint=https://9mkundiwv2.execute-api.us-east-1.amazonaws.com/task4-additional --param WebAppS3BucketName=ajp-task4-additional-s3 --param WebAppDistributionId=E2W8XE6EX19VJV --param WebAppDistributionDomain=d2rqor53qnihi1.cloudfront.net --param WebAppCustomDomain=ajp-task4-additional.guria.dev"
shop-frontend-app › Deploying ajp-shop-frontend to stage task4-additional (us-east-1)
shop-frontend-app › Running command: aws --version
shop-frontend-app › aws apigateway get-export --parameters extensions='apigateway' --rest-api-id 9mkundiwv2 --stage-name task4-additional --export-type swagger public/swagger.json
shop-frontend-app › echo "CONFIG = {BASE_URL: \"https://9mkundiwv2.execute-api.us-east-1.amazonaws.com/task4-additional\"}" > public/config.js
shop-frontend-app › npm run build
shop-frontend-app › aws-cli/2.8.3 Python/3.9.11 Linux/5.15.0-1022-azure exe/x86_64.ubuntu.20 prompt/off
shop-frontend-app › {
shop-frontend-app › "contentType": "application/octet-stream",
shop-frontend-app › "contentDisposition": "attachment; filename=\"swagger_2022-10-23T20:30:43Z.json\""
shop-frontend-app › }
shop-frontend-app › > @guria.dev/aws-js-practitioner-shop-frontend@1.0.0 build
shop-frontend-app › > tsc && vite build
shop-frontend-app › vite v3.1.8 building for production...
shop-frontend-app › transforming...
shop-frontend-app › ✓ 3422 modules transformed.
shop-frontend-app › warnings when minifying css:
shop-frontend-app › ▲ [WARNING] Expected identifier but found "" [css-syntax-error]
shop-frontend-app ›
shop-frontend-app ›
Deployment removed
:heavy_check_mark: All lambdas do console.log for each incoming requests and their arguments :heavy_check_mark: Transaction based creation of product :heavy_check_mark: product list, product item page and product creation form in admin section are connected to BE :exclamation: Editing product is not implemented on BE side and will make product clone with new id