Closed Guria closed 2 years ago
Build output
Deploying to stage task4-3
api-gateway › waiting
fe-distribution › waiting
fixtures › waiting
products-api › waiting
shop-frontend-app › waiting
api-gateway › deploying
fe-distribution › deploying
fixtures › deploying
fe-distribution › Running "serverless deploy --stage task4-3 --param ResourcePrefix=ajp-task4-3"
fixtures › Running "serverless deploy --stage task4-3 --param ResourcePrefix=ajp-task4-3"
api-gateway › Running "serverless deploy --stage task4-3 --param ResourcePrefix=ajp-task4-3"
fixtures › Deploying ajp-fixtures to stage task4-3 (us-east-1)
api-gateway › Deploying ajp-api-gateway to stage task4-3 (us-east-1)
fe-distribution › Deploying ajp-fe-distribution to stage task4-3 (us-east-1)
fixtures › Change set did not include any changes to be deployed. (2s)
fixtures › Running "serverless info --verbose --stage task4-3 --param ResourcePrefix=ajp-task4-3"
api-gateway › Change set did not include any changes to be deployed. (2s)
api-gateway › Running "serverless info --verbose --stage task4-3 --param ResourcePrefix=ajp-task4-3"
fe-distribution › Change set did not include any changes to be deployed. (2s)
fe-distribution › Running "serverless info --verbose --stage task4-3 --param ResourcePrefix=ajp-task4-3"
fixtures › service: ajp-fixtures
fixtures › stage: task4-3
fixtures › region: us-east-1
fixtures › stack: ajp-fixtures-task4-3
fixtures › Stack Outputs:
fixtures › ServerlessDeploymentBucketName: ajp-fixtures-task4-3-serverlessdeploymentbucket-4waomzojfqls
fixtures › SeedS3BucketName: ajp-task4-3-fixtures
fixtures › deployed
api-gateway › service: ajp-api-gateway
api-gateway › stage: task4-3
api-gateway › region: us-east-1
api-gateway › stack: ajp-api-gateway-task4-3
api-gateway › Stack Outputs:
api-gateway › ApiGatewayRestApiId: g2b85t4xk1
api-gateway › ApiGatewayRestApiEndpoint: https://g2b85t4xk1.execute-api.us-east-1.amazonaws.com/task4-3
api-gateway › ApiGatewayRestApiRootResourceId: tldw5d2img
api-gateway › ServerlessDeploymentBucketName: ajp-api-gateway-task4-3-serverlessdeploymentbucke-xlke1b30o3yc
api-gateway › deployed
fe-distribution › service: ajp-fe-distribution
fe-distribution › stage: task4-3
fe-distribution › region: us-east-1
fe-distribution › stack: ajp-fe-distribution-task4-3
fe-distribution › Stack Outputs:
fe-distribution › WebAppCustomDomain: ajp-task4-3.guria.dev
fe-distribution › WebAppDistributionDomain: d2zt2rcaek90u2.cloudfront.net
fe-distribution › WebAppDistributionId: EJCJR873OHMX9
fe-distribution › WebAppS3BucketName: ajp-task4-3-s3
fe-distribution › ServerlessDeploymentBucketName: ajp-fe-distribution-task-serverlessdeploymentbuck-1wwxaaagdplmr
fe-distribution › deployed
products-api › deploying
products-api › Running "serverless deploy --stage task4-3 --param ResourcePrefix=ajp-task4-3 --param SeedS3BucketName=ajp-task4-3-fixtures --param ApiGatewayRestApiId=g2b85t4xk1 --param ApiGatewayRestApiRootResourceId=tldw5d2img --param WebAppDistributionDomain=d2zt2rcaek90u2.cloudfront.net --param WebAppCustomDomain=ajp-task4-3.guria.dev"
products-api › Deploying ajp-products-api to stage task4-3 (us-east-1)
products-api › ✔ Service deployed to stack ajp-products-api-task4-3 (43s)
products-api › endpoints:
products-api › GET - https://g2b85t4xk1.execute-api.us-east-1.amazonaws.com/task4-3/products
products-api › GET - https://g2b85t4xk1.execute-api.us-east-1.amazonaws.com/task4-3/products/{productId}
products-api › POST - https://g2b85t4xk1.execute-api.us-east-1.amazonaws.com/task4-3/products
products-api › functions:
products-api › getProductsList: ajp-products-api-task4-3-getProductsList (29 kB)
products-api › getProductById: ajp-products-api-task4-3-getProductById (29 kB)
products-api › createProduct: ajp-products-api-task4-3-createProduct (30 kB)
products-api › Running "serverless info --verbose --stage task4-3 --param ResourcePrefix=ajp-task4-3 --param SeedS3BucketName=ajp-task4-3-fixtures --param ApiGatewayRestApiId=g2b85t4xk1 --param ApiGatewayRestApiRootResourceId=tldw5d2img --param WebAppDistributionDomain=d2zt2rcaek90u2.cloudfront.net --param WebAppCustomDomain=ajp-task4-3.guria.dev"
products-api › service: ajp-products-api
products-api › stage: task4-3
products-api › region: us-east-1
products-api › stack: ajp-products-api-task4-3
products-api › endpoints:
products-api › GET - https://g2b85t4xk1.execute-api.us-east-1.amazonaws.com/task4-3/products
products-api › GET - https://g2b85t4xk1.execute-api.us-east-1.amazonaws.com/task4-3/products/{productId}
products-api › POST - https://g2b85t4xk1.execute-api.us-east-1.amazonaws.com/task4-3/products
products-api › functions:
products-api › getProductsList: ajp-products-api-task4-3-getProductsList
products-api › getProductById: ajp-products-api-task4-3-getProductById
products-api › createProduct: ajp-products-api-task4-3-createProduct
products-api › Stack Outputs:
products-api › GetProductByIdLambdaFunctionQualifiedArn: arn:aws:lambda:us-east-1:609136581632:function:ajp-products-api-task4-3-getProductById:6
products-api › GetProductsListLambdaFunctionQualifiedArn: arn:aws:lambda:us-east-1:609136581632:function:ajp-products-api-task4-3-getProductsList:4
products-api › CreateProductLambdaFunctionQualifiedArn: arn:aws:lambda:us-east-1:609136581632:function:ajp-products-api-task4-3-createProduct:6
products-api › ServiceEndpoint: https://g2b85t4xk1.execute-api.us-east-1.amazonaws.com/task4-3
products-api › ServerlessDeploymentBucketName: ajp-products-api-task4-3-serverlessdeploymentbuck-1aufuznncycfz
products-api › deployed
shop-frontend-app › deploying
shop-frontend-app › Running "serverless deploy --stage task4-3 --param ApiGatewayRestApiId=g2b85t4xk1 --param ProductsApiServiceEndpoint=https://g2b85t4xk1.execute-api.us-east-1.amazonaws.com/task4-3 --param WebAppS3BucketName=ajp-task4-3-s3 --param WebAppDistributionId=EJCJR873OHMX9 --param WebAppDistributionDomain=d2zt2rcaek90u2.cloudfront.net --param WebAppCustomDomain=ajp-task4-3.guria.dev"
shop-frontend-app › Deploying ajp-shop-frontend to stage task4-3 (us-east-1)
shop-frontend-app › Running command: aws --version
shop-frontend-app › aws apigateway get-export --parameters extensions='apigateway' --rest-api-id g2b85t4xk1 --stage-name task4-3 --export-type swagger public/swagger.json
shop-frontend-app › echo "CONFIG = {BASE_URL: \"https://g2b85t4xk1.execute-api.us-east-1.amazonaws.com/task4-3\"}" > 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-23T14:28:40Z.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: function is invoked by POST request to
/products
endpoint :heavy_check_mark: endpoint covered with unit tests :heavy_check_mark: endpoint return 400 on validation errors :heavy_check_mark: endpoint return 500 on other unhandled errors