aws-samples / aws-serverless-airline-booking

Airline Booking is a sample web application that provides Flight Search, Flight Payment, Flight Booking and Loyalty points including end-to-end testing, GraphQL and CI/CD. This web application was the theme of Build on Serverless Season 2 on AWS Twitch running from April 24th until end of August in 2019.
MIT No Attribution
2.18k stars 1.28k forks source link

Error in building on Amplify Console #128

Closed hieuphanthanh closed 3 years ago

hieuphanthanh commented 4 years ago

Hello there, I just tried to use 1-click deployment button with my Amplify Console account and rand into a build error. Looks like it's related of sam deploy. image Build logs image

Thanks,

heitorlessa commented 4 years ago

Hey - Thank you for raising this.

I'll have to try setting up a new one to reproduce - I've made a new deployment for an existing Serverless Airline and worked.

That "line2 command not found" is suspicious

am29d commented 4 years ago

Should be working now :)

hieuphanthanh commented 4 years ago

Hello Am29d and Heitorlessa, Thanks for your help.

It is passed the sam packaging and deploying but another error occurred Error: Failed to create/update the stack: amplify-awsserverlessairline-devn-10745-shared-layers-develop, Waiter StackCreateComplete failed: Waiter encountered a terminal failure state

image

Build logs image

am29d commented 4 years ago

Hi @hieuphanthanh , sorry for the trouble you are experiencing. I see that it fails to rerun the pipeline because the SSM params already exist. You would need to run a clean build, try to remove the CFN stack, alternatively remove the app and do a fresh 1-click deployment.

hieuphanthanh commented 4 years ago

Hello @am29d, I created a new AWS account, and I got another error : 2020-09-16T15:42:56.298Z [INFO]: devv-153238-loyalty- create: [IngestFuncLis develop tenerPermission, LoyaltyApiProdStage, A ppsyncLoyaltyRestApiIa mRole, GetFuncApiPermi ssionProd]. . Rollback requested by user.

image

Thanks

am29d commented 4 years ago

This is odd, i have rerun the build on two fresh accounts and it worked without any issues 🤔

hieuphanthanh commented 4 years ago

Hello @am29d , After enabled CloudWatch Logs API Gateway REST as https://aws.amazon.com/premiumsupport/knowledge-center/api-gateway-cloudwatch-logs/ I deployed it successfully.

Thanks @am29d and @heitorlessa

heitorlessa commented 3 years ago

That's great to hear - Sadly, though, this shouldn't have been necessary.

There's a PR to fix what I was nearly sure was already in place - I'll leave this open until this is properly fixed

n10000k commented 3 years ago

I've managed to replicate this issue today.

2020-11-01T00:26:09.509Z [INFO]: Git SSH Key acquired
2020-11-01T00:26:09.577Z [INFO]: # Cloning repository: git@github.com:uncodable/aws-serverless-airline-booking.git
2020-11-01T00:26:09.585Z [INFO]: Agent pid 123
2020-11-01T00:26:09.607Z [INFO]: Identity added: /root/.ssh/git_rsa (/root/.ssh/git_rsa)
2020-11-01T00:26:09.715Z [INFO]: Cloning into 'aws-serverless-airline-booking'...
2020-11-01T00:26:10.335Z [INFO]: Warning: Permanently added the RSA host key for IP address '140.82.121.4' to the list of known hosts.
2020-11-01T00:26:12.237Z [INFO]: # Checking for Git submodules at: /codebuild/output/src220864713/src/aws-serverless-airline-booking/.gitmodules
2020-11-01T00:26:12.267Z [INFO]: # Retrieving cache...
2020-11-01T00:26:12.304Z [INFO]: # Extracting cache...
2020-11-01T00:26:12.315Z [INFO]: # Extraction completed
2020-11-01T00:26:12.315Z [INFO]: # Retrieving environment cache...
2020-11-01T00:26:12.351Z [INFO]: # Retrieved environment cache
2020-11-01T00:26:12.352Z [INFO]: # Ensuring NPM package '@aws-amplify/cli' is version: 'canary'
2020-11-01T00:26:18.955Z [INFO]: # Patching NPM package '@aws-amplify/cli' from 1.12.0 to canary...
2020-11-01T00:27:02.958Z [INFO]: # Done patching NPM package '@aws-amplify/cli'
2020-11-01T00:27:06.806Z [INFO]: ## Starting Backend Build
                                 # Starting phase: preBuild
                                 # Executing command: npm install -g @aws-amplify/cli@4.13.1
2020-11-01T00:27:13.153Z [WARNING]: npm WARN deprecated merge-graphql-schemas@1.7.8: Merge GraphQL Schemas has been deprecated and merged into GraphQL Tools, so it will no longer get updates. Use GraphQL Tools instead to stay up-to-date! Check out https://www.graphql-tools.com/docs/migration-from-merge-graphql-schemas for migration and https://the-guild.dev/blog/graphql-tools-v6 for new changes.
2020-11-01T00:27:15.698Z [WARNING]: npm WARN deprecated @graphql-toolkit/common@0.10.4: GraphQL Toolkit is deprecated and merged into GraphQL Tools, so it will no longer get updates. Use GraphQL Tools instead to stay up-to-date! Check out https://www.graphql-tools.com/docs/migration-from-toolkit for migration and https://the-guild.dev/blog/graphql-tools-v6 for new changes.
2020-11-01T00:27:20.713Z [WARNING]: npm
2020-11-01T00:27:20.715Z [WARNING]: WARN deprecated graphql-toolkit@0.7.5: Use @graphql-toolkit/* monorepo packages instead. Check https://github.com/ardatan/graphql-toolkit for more details
2020-11-01T00:27:20.719Z [WARNING]: npm
2020-11-01T00:27:20.719Z [WARNING]: WARN deprecated @graphql-toolkit/common@0.6.6: GraphQL Toolkit is deprecated and merged into GraphQL Tools, so it will no longer get updates. Use GraphQL Tools instead to stay up-to-date! Check out https://www.graphql-tools.com/docs/migration-from-toolkit for migration and https://the-guild.dev/blog/graphql-tools-v6 for new changes.
2020-11-01T00:27:22.466Z [WARNING]: npm WARN deprecated core-js@2.6.11: core-js@<3 is no longer maintained and not recommended for usage due to the number of issues. Please, upgrade your dependencies to the actual version of core-js@3.
2020-11-01T00:27:23.190Z [WARNING]: npm WARN
2020-11-01T00:27:23.190Z [WARNING]: deprecated @graphql-toolkit/common@0.7.5: GraphQL Toolkit is deprecated and merged into GraphQL Tools, so it will no longer get updates. Use GraphQL Tools instead to stay up-to-date! Check out https://www.graphql-tools.com/docs/migration-from-toolkit for migration and https://the-guild.dev/blog/graphql-tools-v6 for new changes.
2020-11-01T00:27:28.352Z [WARNING]: npm WARN
2020-11-01T00:27:28.353Z [WARNING]: deprecated mdn-browser-compat-data@1.1.2: mdn-browser-compat-data is deprecated. Upgrade to @mdn/browser-compat-data. Learn more: https://github.com/mdn/browser-compat-data/blob/v1.1.2/UPGRADE-2.0.x.md
2020-11-01T00:27:35.619Z [INFO]: /root/.nvm/versions/node/v10.16.0/bin/amplify -> /root/.nvm/versions/node/v10.16.0/lib/node_modules/@aws-amplify/cli/bin/amplify
2020-11-01T00:27:35.648Z [INFO]: > core-js@3.6.5 postinstall /root/.nvm/versions/node/v10.16.0/lib/node_modules/@aws-amplify/cli/node_modules/eslint-plugin-compat/node_modules/core-js
                                 > node -e "try{require('./postinstall')}catch(e){}"
2020-11-01T00:27:35.729Z [INFO]: > @aws-amplify/cli@4.13.1 postinstall /root/.nvm/versions/node/v10.16.0/lib/node_modules/@aws-amplify/cli
                                 > node scripts/post-install.js
2020-11-01T00:27:35.897Z [INFO]: Ignore installation errors for optional dependencies: gyp, fs-ext
                                 ----------------------------------------
                                 Successfully installed the Amplify CLI
                                 ----------------------------------------
                                 Javascript Getting Started - https://aws-amplify.github.io/docs/js/start
                                 Android Getting Started - https://aws-amplify.github.io/docs/android/start
                                 iOS Getting Started - https://aws-amplify.github.io/docs/ios/start
2020-11-01T00:27:35.908Z [WARNING]: npm
2020-11-01T00:27:35.908Z [WARNING]: WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@~2.1.2 (node_modules/@aws-amplify/cli/node_modules/chokidar/node_modules/fsevents):
                                    npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.1.3: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
                                    npm WARN auto-bind@3.0.0 requires a peer of @types/react@>=16.8.0 but none is installed. You must install peer dependencies yourself.
                                    npm WARN eslint-plugin-compat@3.8.0 requires a peer of eslint@^4.0.0 || ^5.0.0 || ^6.0.0 || ^7.0.0 but none is installed. You must install peer dependencies yourself.
2020-11-01T00:27:35.909Z [INFO]: + @aws-amplify/cli@4.13.1
                                 added 181 packages from 92 contributors, removed 182 packages, updated 108 packages and moved 12 packages in 28.753s
2020-11-01T00:27:35.931Z [INFO]: # Executing command: make init
2020-11-01T00:27:35.934Z [INFO]: [*] Bootstrapping CI system...
2020-11-01T00:27:35.935Z [INFO]: [*] Installing jq...
                                 [*] Upgrading Python SAM CLI and CloudFormation linter to the latest version...
2020-11-01T00:27:35.935Z [INFO]: make[1]: Entering directory `/codebuild/output/src220864713/src/aws-serverless-airline-booking'
                                 yum install jq -y
2020-11-01T00:27:39.529Z [INFO]: Loaded plugins: ovl, priorities
2020-11-01T00:27:47.356Z [INFO]: Resolving Dependencies
2020-11-01T00:27:47.358Z [INFO]: --> Running transaction check
                                 ---> Package jq.x86_64 0:1.5-1.amzn2.0.2 will be installed
2020-11-01T00:27:47.453Z [INFO]: --> Processing Dependency: libonig.so.2()(64bit) for package: jq-1.5-1.amzn2.0.2.x86_64
2020-11-01T00:27:47.568Z [INFO]: --> Running transaction check
2020-11-01T00:27:47.568Z [INFO]: ---> Package oniguruma.x86_64 0:5.9.6-1.amzn2.0.3 will be installed
2020-11-01T00:27:48.829Z [INFO]: --> Finished Dependency Resolution
2020-11-01T00:27:49.176Z [INFO]: Dependencies Resolved
2020-11-01T00:27:49.176Z [INFO]: ================================================================================
                                 Package         Arch         Version                    Repository        Size
                                 ================================================================================
                                 Installing:
                                 jq              x86_64       1.5-1.amzn2.0.2            amzn2-core       154 k
                                 Installing for dependencies:
                                 oniguruma       x86_64       5.9.6-1.amzn2.0.3          amzn2-core       127 k
                                 Transaction Summary
                                 ================================================================================
                                 Install  1 Package (+1 Dependent package)
2020-11-01T00:27:49.177Z [INFO]: Total download size: 281 k
                                 Installed size: 890 k
2020-11-01T00:27:49.177Z [INFO]: Downloading packages:
2020-11-01T00:27:49.237Z [INFO]: --------------------------------------------------------------------------------
2020-11-01T00:27:49.238Z [INFO]: Total                                              4.6 MB/s | 281 kB  00:00
2020-11-01T00:27:49.241Z [INFO]: Running transaction check
2020-11-01T00:27:49.244Z [INFO]: Running transaction test
2020-11-01T00:27:49.765Z [INFO]: Transaction test succeeded
2020-11-01T00:27:49.765Z [INFO]: Running transaction
2020-11-01T00:27:49.884Z [INFO]: Installing : oniguruma-5.9.6-1.amzn2.0.3.x86_64                           1/2
2020-11-01T00:27:53.291Z [INFO]: 
                                 Installing : jq-1.5-1.amzn2.0.2.x86_64                                    2/2
2020-11-01T00:27:53.696Z [INFO]: 
                                 Verifying  : oniguruma-5.9.6-1.amzn2.0.3.x86_64                           1/2
2020-11-01T00:27:53.807Z [INFO]: 
                                 Verifying  : jq-1.5-1.amzn2.0.2.x86_64                                    2/2
2020-11-01T00:27:53.903Z [INFO]: 
                                 Installed:
                                 jq.x86_64 0:1.5-1.amzn2.0.2
                                 Dependency Installed:
                                 oniguruma.x86_64 0:5.9.6-1.amzn2.0.3
2020-11-01T00:27:53.903Z [INFO]: Complete!
2020-11-01T00:27:54.005Z [INFO]: python3 -m pip install --upgrade --user cfn-lint aws-sam-cli
2020-11-01T00:27:57.890Z [WARNING]: WARNING: Running pip install with root privileges is generally not a good idea. Try `__main__.py install --user` instead.
2020-11-01T00:27:57.914Z [INFO]: Collecting cfn-lint
2020-11-01T00:27:58.257Z [INFO]: Downloading https://files.pythonhosted.org/packages/0c/8b/d4b99ab4d8c5f6f54ba44a25eb8e54c87557a48baa1f613135d14eb9b54c/cfn_lint-0.39.0-py3-none-any.whl (4.5MB)
2020-11-01T00:27:59.224Z [INFO]: Collecting aws-sam-cli
2020-11-01T00:27:59.280Z [INFO]: Downloading https://files.pythonhosted.org/packages/ad/88/ed2fcf78048f701507283e9b990e0b396116cb88ab7a6618c921d681f19c/aws_sam_cli-1.7.0-py3-none-any.whl (12.0MB)
2020-11-01T00:28:00.390Z [INFO]: Collecting jsonpatch; python_version != "3.4" (from cfn-lint)
2020-11-01T00:28:00.435Z [INFO]: Downloading https://files.pythonhosted.org/packages/4f/d0/34b0f59ac08de9c1e07876cfecd80aec650600177b4bd445124c755499a7/jsonpatch-1.26-py2.py3-none-any.whl
2020-11-01T00:28:00.466Z [INFO]: Collecting junit-xml~=1.9 (from cfn-lint)
2020-11-01T00:28:00.523Z [INFO]: Downloading https://files.pythonhosted.org/packages/2a/93/2d896b5fd3d79b4cadd8882c06650e66d003f465c9d12c488d92853dff78/junit_xml-1.9-py2.py3-none-any.whl
2020-11-01T00:28:00.554Z [INFO]: Collecting networkx~=2.4; python_version >= "3.5" (from cfn-lint)
2020-11-01T00:28:00.612Z [INFO]: Downloading https://files.pythonhosted.org/packages/9b/cd/dc52755d30ba41c60243235460961fc28022e5b6731f16c268667625baea/networkx-2.5-py3-none-any.whl (1.6MB)
2020-11-01T00:28:00.971Z [INFO]: Collecting pyyaml; python_version != "3.4" (from cfn-lint)
2020-11-01T00:28:01.003Z [INFO]: Downloading https://files.pythonhosted.org/packages/64/c2/b80047c7ac2478f9501676c988a5411ed5572f35d1beff9cae07d321512c/PyYAML-5.3.1.tar.gz (269kB)
2020-11-01T00:28:01.939Z [INFO]: Collecting aws-sam-translator>=1.25.0 (from cfn-lint)
2020-11-01T00:28:02.059Z [INFO]: Downloading https://files.pythonhosted.org/packages/88/32/8df76a3b85d65debbf240b36f97bd1ddd12e303ce94a3d54f3efadbfa947/aws_sam_translator-1.28.1-py3-none-any.whl (183kB)
2020-11-01T00:28:02.101Z [INFO]: Collecting jsonschema~=3.0 (from cfn-lint)
2020-11-01T00:28:02.192Z [INFO]: Downloading https://files.pythonhosted.org/packages/c5/8f/51e89ce52a085483359217bc72cdbf6e75ee595d5b1d4b5ade40c7e018b8/jsonschema-3.2.0-py2.py3-none-any.whl (56kB)
2020-11-01T00:28:02.241Z [INFO]: Collecting six~=1.11 (from cfn-lint)
2020-11-01T00:28:02.257Z [INFO]: Downloading https://files.pythonhosted.org/packages/ee/ff/48bde5c0f013094d729fe4b0316ba2a24774b3ff1c52d924a8a4cb04078a/six-1.15.0-py2.py3-none-any.whl
2020-11-01T00:28:02.355Z [INFO]: Requirement already up-to-date: Flask~=1.0.2 in /usr/local/lib/python3.7/site-packages (from aws-sam-cli)
2020-11-01T00:28:02.368Z [INFO]: Collecting jmespath~=0.9.5 (from aws-sam-cli)
2020-11-01T00:28:02.418Z [INFO]: Downloading https://files.pythonhosted.org/packages/a3/43/1e939e1fcd87b827fe192d0c9fc25b48c5b3368902bfb913de7754b0dc03/jmespath-0.9.5-py2.py3-none-any.whl
2020-11-01T00:28:02.710Z [INFO]: Requirement already up-to-date: chevron~=0.12 in /usr/local/lib/python3.7/site-packages (from aws-sam-cli)
2020-11-01T00:28:02.755Z [INFO]: Collecting boto3>=1.14.23,~=1.14.0 (from aws-sam-cli)
2020-11-01T00:28:03.105Z [INFO]: Downloading https://files.pythonhosted.org/packages/80/66/78f52d92024af5c4bc777f0a3e0617442185481d82c9990533e2984f22f1/boto3-1.14.63-py2.py3-none-any.whl (129kB)
2020-11-01T00:28:03.128Z [INFO]: Collecting serverlessrepo==0.1.9 (from aws-sam-cli)
2020-11-01T00:28:03.414Z [INFO]: Downloading https://files.pythonhosted.org/packages/69/a8/3500d8ecd5e14a94b771e5f78a35313f94232cbde41b37888ce88fd9e07c/serverlessrepo-0.1.9-py2.py3-none-any.whl
2020-11-01T00:28:03.436Z [INFO]: Collecting tomlkit==0.5.8 (from aws-sam-cli)
2020-11-01T00:28:03.583Z [INFO]: Downloading https://files.pythonhosted.org/packages/3e/30/7c2693fc50bd466285ec22bf02ee344be1bde3e2e8267e302fdc82d11f2d/tomlkit-0.5.8-py2.py3-none-any.whl
2020-11-01T00:28:03.610Z [INFO]: Collecting aws-lambda-builders==1.1.0 (from aws-sam-cli)
2020-11-01T00:28:03.776Z [INFO]: Downloading https://files.pythonhosted.org/packages/fd/7d/a5a0c86718e9c137a2fb55d2f3c0e3a971e1261fa06b5ea461c5f9b30af4/aws_lambda_builders-1.1.0-py3-none-any.whl (94kB)
2020-11-01T00:28:03.841Z [INFO]: Requirement already up-to-date: cookiecutter~=1.6.0 in /usr/local/lib/python3.7/site-packages (from aws-sam-cli)
2020-11-01T00:28:03.849Z [INFO]: Collecting click~=7.0 (from aws-sam-cli)
2020-11-01T00:28:04.162Z [INFO]: Downloading https://files.pythonhosted.org/packages/d2/3d/fa76db83bf75c4f8d338c2fd15c8d33fdd7ad23a9b5e57eb6c5de26b430e/click-7.1.2-py2.py3-none-any.whl (82kB)
2020-11-01T00:28:04.176Z [INFO]: Collecting docker~=4.2.0 (from aws-sam-cli)
2020-11-01T00:28:04.218Z [INFO]: Downloading https://files.pythonhosted.org/packages/3c/15/7a2f095a3b8b0fff9a0a5f56bd941e05fa958d4ca31105541001a5f7d3eb/docker-4.2.2-py2.py3-none-any.whl (144kB)
2020-11-01T00:28:04.250Z [INFO]: Collecting requests==2.23.0 (from aws-sam-cli)
2020-11-01T00:28:04.391Z [INFO]: Downloading https://files.pythonhosted.org/packages/1a/70/1935c770cb3be6e3a8b78ced23d7e0f3b187f5cbfab4749523ed65d7c9b1/requests-2.23.0-py2.py3-none-any.whl (58kB)
2020-11-01T00:28:04.459Z [INFO]: Collecting dateparser~=0.7 (from aws-sam-cli)
2020-11-01T00:28:04.481Z [INFO]: Downloading https://files.pythonhosted.org/packages/c1/d5/5a2e51bc0058f66b54669735f739d27afc3eb453ab00520623c7ab168e22/dateparser-0.7.6-py2.py3-none-any.whl (362kB)
2020-11-01T00:28:04.613Z [INFO]: Requirement already up-to-date: python-dateutil<2.8.1,~=2.6 in /usr/local/lib/python3.7/site-packages (from aws-sam-cli)
2020-11-01T00:28:04.654Z [INFO]: Collecting jsonpointer>=1.9 (from jsonpatch; python_version != "3.4"->cfn-lint)
2020-11-01T00:28:04.692Z [INFO]: Downloading https://files.pythonhosted.org/packages/18/b0/a80d29577c08eea401659254dfaed87f1af45272899e1812d7e01b679bc5/jsonpointer-2.0-py2.py3-none-any.whl
2020-11-01T00:28:04.723Z [INFO]: Collecting decorator>=4.3.0 (from networkx~=2.4; python_version >= "3.5"->cfn-lint)
2020-11-01T00:28:04.762Z [INFO]: Downloading https://files.pythonhosted.org/packages/ed/1b/72a1821152d07cf1d8b6fce298aeb06a7eb90f4d6d41acec9861e7cc6df0/decorator-4.4.2-py2.py3-none-any.whl
2020-11-01T00:28:04.793Z [INFO]: Collecting attrs>=17.4.0 (from jsonschema~=3.0->cfn-lint)
2020-11-01T00:28:04.834Z [INFO]: Downloading https://files.pythonhosted.org/packages/14/df/479736ae1ef59842f512548bacefad1abed705e400212acba43f9b0fa556/attrs-20.2.0-py2.py3-none-any.whl (48kB)
2020-11-01T00:28:04.887Z [INFO]: Collecting pyrsistent>=0.14.0 (from jsonschema~=3.0->cfn-lint)
2020-11-01T00:28:04.932Z [INFO]: Downloading https://files.pythonhosted.org/packages/4d/70/fd441df751ba8b620e03fd2d2d9ca902103119616f0f6cc42e6405035062/pyrsistent-0.17.3.tar.gz (106kB)
2020-11-01T00:28:05.461Z [INFO]: Collecting setuptools (from jsonschema~=3.0->cfn-lint)
2020-11-01T00:28:05.691Z [INFO]: Downloading https://files.pythonhosted.org/packages/6d/38/c21ef5034684ffc0412deefbb07d66678332290c14bb5269c85145fbd55e/setuptools-50.3.2-py3-none-any.whl (785kB)
2020-11-01T00:28:05.807Z [INFO]: Collecting importlib-metadata; python_version < "3.8" (from jsonschema~=3.0->cfn-lint)
2020-11-01T00:28:05.869Z [INFO]: Downloading https://files.pythonhosted.org/packages/6d/6d/f4bb28424bc677bce1210bc19f69a43efe823e294325606ead595211f93e/importlib_metadata-2.0.0-py2.py3-none-any.whl
2020-11-01T00:28:05.919Z [INFO]: Requirement already up-to-date: itsdangerous>=0.24 in /usr/local/lib/python3.7/site-packages (from Flask~=1.0.2->aws-sam-cli)
2020-11-01T00:28:06.051Z [INFO]: Collecting Jinja2>=2.10 (from Flask~=1.0.2->aws-sam-cli)
2020-11-01T00:28:06.071Z [INFO]: Downloading https://files.pythonhosted.org/packages/30/9e/f663a2aa66a09d838042ae1a2c5659828bb9b41ea3a6efa20a20fd92b121/Jinja2-2.11.2-py2.py3-none-any.whl (125kB)
2020-11-01T00:28:06.131Z [INFO]: Collecting Werkzeug>=0.14 (from Flask~=1.0.2->aws-sam-cli)
2020-11-01T00:28:06.161Z [INFO]: Downloading https://files.pythonhosted.org/packages/cc/94/5f7079a0e00bd6863ef8f1da638721e9da21e5bacee597595b318f71d62e/Werkzeug-1.0.1-py2.py3-none-any.whl (298kB)
2020-11-01T00:28:06.202Z [INFO]: Collecting s3transfer<0.4.0,>=0.3.0 (from boto3>=1.14.23,~=1.14.0->aws-sam-cli)
2020-11-01T00:28:06.265Z [INFO]: Downloading https://files.pythonhosted.org/packages/69/79/e6afb3d8b0b4e96cefbdc690f741d7dd24547ff1f94240c997a26fa908d3/s3transfer-0.3.3-py2.py3-none-any.whl (69kB)
2020-11-01T00:28:06.279Z [INFO]: Collecting botocore<1.18.0,>=1.17.63 (from boto3>=1.14.23,~=1.14.0->aws-sam-cli)
2020-11-01T00:28:06.685Z [INFO]: Downloading https://files.pythonhosted.org/packages/d1/96/5f11cca11d08703a5149bf668b2d455d5e633e12ae8e58a860f442b02112/botocore-1.17.63-py2.py3-none-any.whl (6.6MB)
2020-11-01T00:28:07.471Z [INFO]: Collecting wheel (from aws-lambda-builders==1.1.0->aws-sam-cli)
2020-11-01T00:28:07.503Z [INFO]: Downloading https://files.pythonhosted.org/packages/a7/00/3df031b3ecd5444d572141321537080b40c1c25e1caa3d86cdd12e5e919c/wheel-0.35.1-py2.py3-none-any.whl
2020-11-01T00:28:07.541Z [INFO]: Collecting future>=0.15.2 (from cookiecutter~=1.6.0->aws-sam-cli)
2020-11-01T00:28:07.558Z [INFO]: Downloading https://files.pythonhosted.org/packages/45/0b/38b06fd9b92dc2b68d58b75f900e97884c45bedd2ff83203d933cf5851c9/future-0.18.2.tar.gz (829kB)
2020-11-01T00:28:07.911Z [INFO]: Collecting whichcraft>=0.4.0 (from cookiecutter~=1.6.0->aws-sam-cli)
2020-11-01T00:28:07.923Z [INFO]: Downloading https://files.pythonhosted.org/packages/b5/a2/81887a0dae2e4d2adc70d9a3557fdda969f863ced51cd3c47b587d25bce5/whichcraft-0.6.1-py2.py3-none-any.whl
2020-11-01T00:28:07.965Z [INFO]: Requirement already up-to-date: jinja2-time>=0.1.0 in /usr/local/lib/python3.7/site-packages (from cookiecutter~=1.6.0->aws-sam-cli)
2020-11-01T00:28:08.037Z [INFO]: Requirement already up-to-date: binaryornot>=0.2.0 in /usr/local/lib/python3.7/site-packages (from cookiecutter~=1.6.0->aws-sam-cli)
2020-11-01T00:28:08.158Z [INFO]: Requirement already up-to-date: poyo>=0.1.0 in /usr/local/lib/python3.7/site-packages (from cookiecutter~=1.6.0->aws-sam-cli)
2020-11-01T00:28:08.247Z [INFO]: Collecting websocket-client>=0.32.0 (from docker~=4.2.0->aws-sam-cli)
2020-11-01T00:28:08.268Z [INFO]: Downloading https://files.pythonhosted.org/packages/4c/5f/f61b420143ed1c8dc69f9eaec5ff1ac36109d52c80de49d66e0c36c3dfdf/websocket_client-0.57.0-py2.py3-none-any.whl (200kB)
2020-11-01T00:28:08.362Z [INFO]: Collecting certifi>=2017.4.17 (from requests==2.23.0->aws-sam-cli)
2020-11-01T00:28:08.383Z [INFO]: Downloading https://files.pythonhosted.org/packages/5e/c4/6c4fe722df5343c33226f0b4e0bb042e4dc13483228b4718baf286f86d87/certifi-2020.6.20-py2.py3-none-any.whl (156kB)
2020-11-01T00:28:08.487Z [INFO]: Collecting urllib3!=1.25.0,!=1.25.1,<1.26,>=1.21.1 (from requests==2.23.0->aws-sam-cli)
2020-11-01T00:28:08.521Z [INFO]: Downloading https://files.pythonhosted.org/packages/56/aa/4ef5aa67a9a62505db124a5cb5262332d1d4153462eb8fd89c9fa41e5d92/urllib3-1.25.11-py2.py3-none-any.whl (127kB)
2020-11-01T00:28:08.573Z [INFO]: Collecting idna<3,>=2.5 (from requests==2.23.0->aws-sam-cli)
2020-11-01T00:28:08.587Z [INFO]: Downloading https://files.pythonhosted.org/packages/a2/38/928ddce2273eaa564f6f50de919327bf3a00f091b5baba8dfa9460f3a8a8/idna-2.10-py2.py3-none-any.whl (58kB)
2020-11-01T00:28:08.618Z [INFO]: Requirement already up-to-date: chardet<4,>=3.0.2 in /usr/local/lib/python3.7/site-packages (from requests==2.23.0->aws-sam-cli)
2020-11-01T00:28:08.731Z [INFO]: Collecting pytz (from dateparser~=0.7->aws-sam-cli)
2020-11-01T00:28:08.826Z [INFO]: Downloading https://files.pythonhosted.org/packages/4f/a4/879454d49688e2fad93e59d7d4efda580b783c745fd2ec2a3adf87b0808d/pytz-2020.1-py2.py3-none-any.whl (510kB)
2020-11-01T00:28:08.939Z [INFO]: Collecting tzlocal (from dateparser~=0.7->aws-sam-cli)
2020-11-01T00:28:08.951Z [INFO]: Downloading https://files.pythonhosted.org/packages/5d/94/d47b0fd5988e6b7059de05720a646a2930920fff247a826f61674d436ba4/tzlocal-2.1-py2.py3-none-any.whl
2020-11-01T00:28:09.446Z [INFO]: Collecting regex!=2019.02.19 (from dateparser~=0.7->aws-sam-cli)
2020-11-01T00:28:09.811Z [INFO]: Downloading https://files.pythonhosted.org/packages/6b/7f/4170bd5a4129ef0fedd3b930a52341698bb07d44cdfe35498002fe4507f1/regex-2020.10.28-cp37-cp37m-manylinux1_x86_64.whl (666kB)
2020-11-01T00:28:09.889Z [INFO]: Collecting zipp>=0.5 (from importlib-metadata; python_version < "3.8"->jsonschema~=3.0->cfn-lint)
2020-11-01T00:28:09.967Z [INFO]: Downloading https://files.pythonhosted.org/packages/41/ad/6a4f1a124b325618a7fb758b885b68ff7b058eec47d9220a12ab38d90b1f/zipp-3.4.0-py3-none-any.whl
2020-11-01T00:28:10.029Z [INFO]: Requirement already up-to-date: MarkupSafe>=0.23 in /usr/local/lib64/python3.7/site-packages (from Jinja2>=2.10->Flask~=1.0.2->aws-sam-cli)
2020-11-01T00:28:10.056Z [INFO]: Requirement already up-to-date: docutils<0.16,>=0.10 in /usr/local/lib/python3.7/site-packages (from botocore<1.18.0,>=1.17.63->boto3>=1.14.23,~=1.14.0->aws-sam-cli)
2020-11-01T00:28:10.095Z [INFO]: Collecting arrow (from jinja2-time>=0.1.0->cookiecutter~=1.6.0->aws-sam-cli)
2020-11-01T00:28:10.123Z [INFO]: Downloading https://files.pythonhosted.org/packages/ca/bc/ebc1afb3c54377e128a01024c006f983d03ee124bc52392b78ba98c421b8/arrow-0.17.0-py2.py3-none-any.whl (50kB)
2020-11-01T00:28:10.133Z [INFO]: Building wheels for collected packages: pyyaml, pyrsistent, future
2020-11-01T00:28:10.133Z [INFO]: Running setup.py bdist_wheel for pyyaml: started
2020-11-01T00:28:17.875Z [INFO]: Running setup.py bdist_wheel for pyyaml: finished with status 'done'
2020-11-01T00:28:17.876Z [INFO]: Stored in directory: /root/.cache/pip/wheels/a7/c1/ea/cf5bd31012e735dc1dfea3131a2d5eae7978b251083d6247bd
2020-11-01T00:28:17.895Z [INFO]: Running setup.py bdist_wheel for pyrsistent: started
2020-11-01T00:28:18.449Z [INFO]: Running setup.py bdist_wheel for pyrsistent: finished with status 'done'
2020-11-01T00:28:18.449Z [INFO]: Stored in directory: /root/.cache/pip/wheels/f0/b8/de/b593ad311be4eb458499d100db081e453576032272398b7ddc
2020-11-01T00:28:18.455Z [INFO]: Running setup.py bdist_wheel for future: started
2020-11-01T00:28:18.855Z [INFO]: Running setup.py bdist_wheel for future: finished with status 'done'
2020-11-01T00:28:18.855Z [INFO]: Stored in directory: /root/.cache/pip/wheels/8b/99/a0/81daf51dcd359a9377b110a8a886b3895921802d2fc1b2397e
2020-11-01T00:28:18.890Z [INFO]: Successfully built pyyaml pyrsistent future
2020-11-01T00:28:18.890Z [INFO]: Installing collected packages: jsonpointer, jsonpatch, six, junit-xml, decorator, networkx, pyyaml, attrs, pyrsistent, setuptools, zipp, importlib-metadata, jsonschema, jmespath, urllib3, botocore, s3transfer, boto3, aws-sam-translator, cfn-lint, serverlessrepo, tomlkit, wheel, aws-lambda-builders, click, certifi, idna, requests, websocket-client, docker, pytz, tzlocal, regex, dateparser, aws-sam-cli, Jinja2, Werkzeug, future, whichcraft, arrow
2020-11-01T00:28:22.269Z [INFO]: Successfully installed Jinja2-2.11.2 Werkzeug-1.0.1 arrow-0.17.0 attrs-20.2.0 aws-lambda-builders-1.1.0 aws-sam-cli-1.7.0 aws-sam-translator-1.28.1 boto3-1.14.63 botocore-1.17.63 certifi-2020.6.20 cfn-lint-0.39.0 click-7.1.2 dateparser-0.7.6 decorator-4.4.2 docker-4.2.2 future-0.18.2 idna-2.10 importlib-metadata-2.0.0 jmespath-0.9.5 jsonpatch-1.26 jsonpointer-2.0 jsonschema-3.2.0 junit-xml-1.9 networkx-2.5 pyrsistent-0.17.3 pytz-2020.1 pyyaml-5.3.1 regex-2020.10.28 requests-2.23.0 s3transfer-0.3.3 serverlessrepo-0.1.9 setuptools-50.3.2 six-1.15.0 tomlkit-0.5.8 tzlocal-2.1 urllib3-1.25.11 websocket-client-0.57.0 wheel-0.35.1 whichcraft-0.6.1 zipp-3.4.0
2020-11-01T00:28:22.463Z [INFO]: npm -g install aws-cdk
2020-11-01T00:28:36.985Z [INFO]: /root/.nvm/versions/node/v10.16.0/bin/cdk -> /root/.nvm/versions/node/v10.16.0/lib/node_modules/aws-cdk/bin/cdk
2020-11-01T00:28:37.006Z [INFO]: + aws-cdk@1.71.0
                                 added 188 packages from 186 contributors in 14.197s
2020-11-01T00:28:37.014Z [INFO]: make[1]: Leaving directory `/codebuild/output/src220864713/src/aws-serverless-airline-booking'
2020-11-01T00:28:37.014Z [INFO]: # Executing command: aws configure set cli_follow_urlparam false
2020-11-01T00:28:38.144Z [INFO]: # Completed phase: preBuild
                                 # Starting phase: build
                                 # Executing command: amplifyPush --simple
2020-11-01T00:28:38.149Z [INFO]: # Getting Amplify CLI Cloud-Formation stack info from environment cache
2020-11-01T00:28:38.154Z [INFO]: # Start initializing Amplify environment: devk
2020-11-01T00:28:38.154Z [INFO]: # Initializing new Amplify environment: devk (amplify init)
2020-11-01T00:28:38.719Z [INFO]: Scanning for plugins...
2020-11-01T00:28:44.644Z [INFO]: Plugin scan successful
2020-11-01T00:28:44.661Z [INFO]: Note: It is recommended to run this command from the root of your app directory
2020-11-01T00:28:44.664Z [INFO]: 
2020-11-01T00:28:44.664Z [INFO]: For more information on AWS Profiles, see:
                                 https://docs.aws.amazon.com/cli/latest/userguide/cli-multiple-profiles.html
2020-11-01T00:28:45.026Z [INFO]: Amplify AppID found: d28rfplmcddkgt. Amplify App name is: aws-serverless-airline-booking
2020-11-01T00:28:45.143Z [INFO]: Adding backend environment devk to AWS Amplify Console app: d28rfplmcddkgt
2020-11-01T00:28:45.224Z [WARNING]: - Initializing project in the cloud...
2020-11-01T00:28:50.504Z [INFO]: 
2020-11-01T00:28:50.509Z [INFO]: CREATE_IN_PROGRESS amplify-awsserverlessairline-devk-02844 AWS::CloudFormation::Stack Sun Nov 01 2020 00:28:45 GMT+0000 (Coordinated Universal Time) User Initiated
                                 CREATE_IN_PROGRESS UnauthRole                              AWS::IAM::Role             Sun Nov 01 2020 00:28:48 GMT+0000 (Coordinated Universal Time)
                                 CREATE_IN_PROGRESS AuthRole                                AWS::IAM::Role             Sun Nov 01 2020 00:28:48 GMT+0000 (Coordinated Universal Time)
                                 CREATE_IN_PROGRESS DeploymentBucket                        AWS::S3::Bucket            Sun Nov 01 2020 00:28:48 GMT+0000 (Coordinated Universal Time)
                                 CREATE_IN_PROGRESS UnauthRole                              AWS::IAM::Role             Sun Nov 01 2020 00:28:49 GMT+0000 (Coordinated Universal Time) Resource creation Initiated
                                 CREATE_IN_PROGRESS AuthRole                                AWS::IAM::Role             Sun Nov 01 2020 00:28:49 GMT+0000 (Coordinated Universal Time) Resource creation Initiated
                                 CREATE_IN_PROGRESS DeploymentBucket                        AWS::S3::Bucket            Sun Nov 01 2020 00:28:49 GMT+0000 (Coordinated Universal Time) Resource creation Initiated
2020-11-01T00:29:05.502Z [INFO]: 
2020-11-01T00:29:05.504Z [INFO]: CREATE_COMPLETE AuthRole   AWS::IAM::Role Sun Nov 01 2020 00:29:03 GMT+0000 (Coordinated Universal Time)
                                 CREATE_COMPLETE UnauthRole AWS::IAM::Role Sun Nov 01 2020 00:29:03 GMT+0000 (Coordinated Universal Time)
2020-11-01T00:29:10.505Z [INFO]: 
2020-11-01T00:29:10.506Z [INFO]: CREATE_COMPLETE DeploymentBucket AWS::S3::Bucket Sun Nov 01 2020 00:29:10 GMT+0000 (Coordinated Universal Time)
2020-11-01T00:29:15.520Z [INFO]: 
2020-11-01T00:29:15.521Z [INFO]: CREATE_COMPLETE amplify-awsserverlessairline-devk-02844 AWS::CloudFormation::Stack Sun Nov 01 2020 00:29:12 GMT+0000 (Coordinated Universal Time)
2020-11-01T00:29:15.547Z [WARNING]: ✔ Successfully created initial AWS cloud resources for deployments.
2020-11-01T00:29:15.738Z [WARNING]: - Initializing your environment: devk
2020-11-01T00:29:15.738Z [WARNING]: ✔ Initialized provider successfully.
2020-11-01T00:29:15.807Z [INFO]: The following types do not have '@auth' enabled. Consider using @auth with @model
2020-11-01T00:29:15.807Z [INFO]: - Flight
                                 Learn more about @auth here: https://aws-amplify.github.io/docs/cli-toolchain/graphql#auth
2020-11-01T00:29:15.914Z [INFO]: GraphQL schema compiled successfully.
                                 Edit your schema at /codebuild/output/src220864713/src/aws-serverless-airline-booking/amplify/backend/api/awsserverlessairline/schema.graphql or place .graphql files in a directory at /codebuild/output/src220864713/src/aws-serverless-airline-booking/amplify/backend/api/awsserverlessairline/schema
2020-11-01T00:29:17.362Z [WARNING]: - Updating resources in the cloud. This may take a few minutes...
2020-11-01T00:29:23.167Z [INFO]: 
2020-11-01T00:29:23.168Z [INFO]: UPDATE_IN_PROGRESS amplify-awsserverlessairline-devk-02844 AWS::CloudFormation::Stack Sun Nov 01 2020 00:29:18 GMT+0000 (Coordinated Universal Time) User Initiated
2020-11-01T00:29:23.262Z [INFO]: 
2020-11-01T00:29:23.263Z [INFO]: CREATE_IN_PROGRESS UpdateRolesWithIDPFunctionRole AWS::IAM::Role Sun Nov 01 2020 00:29:23 GMT+0000 (Coordinated Universal Time)
2020-11-01T00:29:28.189Z [INFO]: 
2020-11-01T00:29:28.190Z [INFO]: CREATE_IN_PROGRESS authawsserverlessairline44ea6421 AWS::CloudFormation::Stack Sun Nov 01 2020 00:29:23 GMT+0000 (Coordinated Universal Time)
                                 CREATE_IN_PROGRESS UpdateRolesWithIDPFunctionRole   AWS::IAM::Role             Sun Nov 01 2020 00:29:24 GMT+0000 (Coordinated Universal Time) Resource creation Initiated
                                 CREATE_IN_PROGRESS authawsserverlessairline44ea6421 AWS::CloudFormation::Stack Sun Nov 01 2020 00:29:24 GMT+0000 (Coordinated Universal Time) Resource creation Initiated
2020-11-01T00:29:28.256Z [INFO]: 
2020-11-01T00:29:28.256Z [INFO]: CREATE_IN_PROGRESS amplify-awsserverlessairline-devk-02844-authawsserverlessairline44ea6421-123OEFRKYEM43 AWS::CloudFormation::Stack Sun Nov 01 2020 00:29:24 GMT+0000 (Coordinated Universal Time) User Initiated
2020-11-01T00:29:33.258Z [INFO]: 
2020-11-01T00:29:33.260Z [INFO]: CREATE_IN_PROGRESS SNSRole AWS::IAM::Role Sun Nov 01 2020 00:29:29 GMT+0000 (Coordinated Universal Time)
                                 CREATE_IN_PROGRESS SNSRole AWS::IAM::Role Sun Nov 01 2020 00:29:30 GMT+0000 (Coordinated Universal Time) Resource creation Initiated
2020-11-01T00:29:43.184Z [INFO]: 
2020-11-01T00:29:43.186Z [INFO]: CREATE_COMPLETE UpdateRolesWithIDPFunctionRole AWS::IAM::Role Sun Nov 01 2020 00:29:39 GMT+0000 (Coordinated Universal Time)
2020-11-01T00:29:48.265Z [INFO]: 
2020-11-01T00:29:48.267Z [INFO]: CREATE_COMPLETE    SNSRole  AWS::IAM::Role         Sun Nov 01 2020 00:29:45 GMT+0000 (Coordinated Universal Time)
                                 CREATE_IN_PROGRESS UserPool AWS::Cognito::UserPool Sun Nov 01 2020 00:29:48 GMT+0000 (Coordinated Universal Time)
2020-11-01T00:29:53.271Z [INFO]: 
2020-11-01T00:29:53.272Z [INFO]: CREATE_IN_PROGRESS UserPool AWS::Cognito::UserPool Sun Nov 01 2020 00:29:50 GMT+0000 (Coordinated Universal Time) Resource creation Initiated
                                 CREATE_COMPLETE    UserPool AWS::Cognito::UserPool Sun Nov 01 2020 00:29:50 GMT+0000 (Coordinated Universal Time)
2020-11-01T00:29:53.467Z [INFO]: 
2020-11-01T00:29:53.467Z [INFO]: CREATE_IN_PROGRESS UserPoolClient AWS::Cognito::UserPoolClient Sun Nov 01 2020 00:29:53 GMT+0000 (Coordinated Universal Time)
2020-11-01T00:29:58.278Z [INFO]: 
2020-11-01T00:29:58.279Z [INFO]: CREATE_IN_PROGRESS UserPoolClientWeb  AWS::Cognito::UserPoolClient Sun Nov 01 2020 00:29:53 GMT+0000 (Coordinated Universal Time)
                                 CREATE_IN_PROGRESS UserPoolClient     AWS::Cognito::UserPoolClient Sun Nov 01 2020 00:29:54 GMT+0000 (Coordinated Universal Time) Resource creation Initiated
                                 CREATE_IN_PROGRESS UserPoolClientWeb  AWS::Cognito::UserPoolClient Sun Nov 01 2020 00:29:55 GMT+0000 (Coordinated Universal Time) Resource creation Initiated
                                 CREATE_COMPLETE    UserPoolClient     AWS::Cognito::UserPoolClient Sun Nov 01 2020 00:29:55 GMT+0000 (Coordinated Universal Time)
                                 CREATE_COMPLETE    UserPoolClientWeb  AWS::Cognito::UserPoolClient Sun Nov 01 2020 00:29:55 GMT+0000 (Coordinated Universal Time)
                                 CREATE_IN_PROGRESS UserPoolClientRole AWS::IAM::Role               Sun Nov 01 2020 00:29:57 GMT+0000 (Coordinated Universal Time)
2020-11-01T00:30:03.298Z [INFO]: 
2020-11-01T00:30:03.300Z [INFO]: CREATE_IN_PROGRESS UserPoolClientRole AWS::IAM::Role Sun Nov 01 2020 00:29:58 GMT+0000 (Coordinated Universal Time) Resource creation Initiated
2020-11-01T00:30:13.286Z [INFO]: 
2020-11-01T00:30:13.288Z [INFO]: CREATE_COMPLETE UserPoolClientRole AWS::IAM::Role Sun Nov 01 2020 00:30:12 GMT+0000 (Coordinated Universal Time)
2020-11-01T00:30:18.302Z [INFO]: 
2020-11-01T00:30:18.304Z [INFO]: CREATE_IN_PROGRESS UserPoolClientLambda AWS::Lambda::Function Sun Nov 01 2020 00:30:15 GMT+0000 (Coordinated Universal Time)
                                 CREATE_IN_PROGRESS UserPoolClientLambda AWS::Lambda::Function Sun Nov 01 2020 00:30:16 GMT+0000 (Coordinated Universal Time) Resource creation Initiated
                                 CREATE_COMPLETE    UserPoolClientLambda AWS::Lambda::Function Sun Nov 01 2020 00:30:16 GMT+0000 (Coordinated Universal Time)
2020-11-01T00:30:23.300Z [INFO]: 
2020-11-01T00:30:23.302Z [INFO]: CREATE_IN_PROGRESS UserPoolClientLambdaPolicy AWS::IAM::Policy Sun Nov 01 2020 00:30:19 GMT+0000 (Coordinated Universal Time)
                                 CREATE_IN_PROGRESS UserPoolClientLambdaPolicy AWS::IAM::Policy Sun Nov 01 2020 00:30:20 GMT+0000 (Coordinated Universal Time) Resource creation Initiated
2020-11-01T00:30:38.314Z [INFO]: 
2020-11-01T00:30:38.316Z [INFO]: CREATE_COMPLETE    UserPoolClientLambdaPolicy AWS::IAM::Policy Sun Nov 01 2020 00:30:33 GMT+0000 (Coordinated Universal Time)
                                 CREATE_IN_PROGRESS UserPoolClientLogPolicy    AWS::IAM::Policy Sun Nov 01 2020 00:30:36 GMT+0000 (Coordinated Universal Time)
                                 CREATE_IN_PROGRESS UserPoolClientLogPolicy    AWS::IAM::Policy Sun Nov 01 2020 00:30:37 GMT+0000 (Coordinated Universal Time) Resource creation Initiated
2020-11-01T00:30:53.324Z [INFO]: 
2020-11-01T00:30:53.325Z [INFO]: CREATE_COMPLETE UserPoolClientLogPolicy AWS::IAM::Policy Sun Nov 01 2020 00:30:50 GMT+0000 (Coordinated Universal Time)
2020-11-01T00:30:58.332Z [INFO]: 
2020-11-01T00:30:58.333Z [INFO]: CREATE_IN_PROGRESS UserPoolClientInputs Custom::LambdaCallout Sun Nov 01 2020 00:30:53 GMT+0000 (Coordinated Universal Time)
                                 CREATE_IN_PROGRESS UserPoolClientInputs Custom::LambdaCallout Sun Nov 01 2020 00:30:57 GMT+0000 (Coordinated Universal Time) Resource creation Initiated
                                 CREATE_COMPLETE    UserPoolClientInputs Custom::LambdaCallout Sun Nov 01 2020 00:30:57 GMT+0000 (Coordinated Universal Time)
2020-11-01T00:31:03.332Z [INFO]: 
2020-11-01T00:31:03.334Z [INFO]: CREATE_IN_PROGRESS IdentityPool AWS::Cognito::IdentityPool Sun Nov 01 2020 00:31:00 GMT+0000 (Coordinated Universal Time)
                                 CREATE_IN_PROGRESS IdentityPool AWS::Cognito::IdentityPool Sun Nov 01 2020 00:31:01 GMT+0000 (Coordinated Universal Time) Resource creation Initiated
                                 CREATE_COMPLETE    IdentityPool AWS::Cognito::IdentityPool Sun Nov 01 2020 00:31:02 GMT+0000 (Coordinated Universal Time)
2020-11-01T00:31:08.333Z [INFO]: 
2020-11-01T00:31:08.336Z [INFO]: CREATE_IN_PROGRESS IdentityPoolRoleMap AWS::Cognito::IdentityPoolRoleAttachment Sun Nov 01 2020 00:31:05 GMT+0000 (Coordinated Universal Time)
2020-11-01T00:31:13.339Z [INFO]: 
2020-11-01T00:31:13.340Z [INFO]: CREATE_IN_PROGRESS IdentityPoolRoleMap                                                                    AWS::Cognito::IdentityPoolRoleAttachment Sun Nov 01 2020 00:31:08 GMT+0000 (Coordinated Universal Time) Resource creation Initiated
                                 CREATE_COMPLETE    IdentityPoolRoleMap                                                                    AWS::Cognito::IdentityPoolRoleAttachment Sun Nov 01 2020 00:31:08 GMT+0000 (Coordinated Universal Time)
                                 CREATE_COMPLETE    amplify-awsserverlessairline-devk-02844-authawsserverlessairline44ea6421-123OEFRKYEM43 AWS::CloudFormation::Stack               Sun Nov 01 2020 00:31:11 GMT+0000 (Coordinated Universal Time)
2020-11-01T00:31:23.259Z [INFO]: 
2020-11-01T00:31:23.261Z [INFO]: CREATE_COMPLETE    authawsserverlessairline44ea6421 AWS::CloudFormation::Stack Sun Nov 01 2020 00:31:18 GMT+0000 (Coordinated Universal Time)
                                 CREATE_IN_PROGRESS apiawsserverlessairline          AWS::CloudFormation::Stack Sun Nov 01 2020 00:31:20 GMT+0000 (Coordinated Universal Time)
                                 CREATE_IN_PROGRESS UpdateRolesWithIDPFunction       AWS::Lambda::Function      Sun Nov 01 2020 00:31:20 GMT+0000 (Coordinated Universal Time)
                                 CREATE_IN_PROGRESS UpdateRolesWithIDPFunction       AWS::Lambda::Function      Sun Nov 01 2020 00:31:20 GMT+0000 (Coordinated Universal Time) Resource creation Initiated
                                 CREATE_IN_PROGRESS apiawsserverlessairline          AWS::CloudFormation::Stack Sun Nov 01 2020 00:31:21 GMT+0000 (Coordinated Universal Time) Resource creation Initiated
                                 CREATE_COMPLETE    UpdateRolesWithIDPFunction       AWS::Lambda::Function      Sun Nov 01 2020 00:31:21 GMT+0000 (Coordinated Universal Time)
2020-11-01T00:31:23.429Z [INFO]: 
2020-11-01T00:31:23.430Z [INFO]: CREATE_IN_PROGRESS amplify-awsserverlessairline-devk-02844-apiawsserverlessairline-1S7QGE1WNF6V7 AWS::CloudFormation::Stack Sun Nov 01 2020 00:31:21 GMT+0000 (Coordinated Universal Time) User Initiated
2020-11-01T00:31:28.265Z [INFO]: 
2020-11-01T00:31:28.267Z [INFO]: CREATE_IN_PROGRESS UpdateRolesWithIDPFunctionOutputs Custom::LambdaCallout Sun Nov 01 2020 00:31:23 GMT+0000 (Coordinated Universal Time)
                                 CREATE_IN_PROGRESS UpdateRolesWithIDPFunctionOutputs Custom::LambdaCallout Sun Nov 01 2020 00:31:27 GMT+0000 (Coordinated Universal Time) Resource creation Initiated
                                 CREATE_COMPLETE    UpdateRolesWithIDPFunctionOutputs Custom::LambdaCallout Sun Nov 01 2020 00:31:27 GMT+0000 (Coordinated Universal Time)
2020-11-01T00:31:28.435Z [INFO]: 
2020-11-01T00:31:28.435Z [INFO]: CREATE_IN_PROGRESS GraphQLAPI AWS::AppSync::GraphQLApi Sun Nov 01 2020 00:31:25 GMT+0000 (Coordinated Universal Time)
                                 CREATE_IN_PROGRESS GraphQLAPI AWS::AppSync::GraphQLApi Sun Nov 01 2020 00:31:27 GMT+0000 (Coordinated Universal Time) Resource creation Initiated
                                 CREATE_COMPLETE    GraphQLAPI AWS::AppSync::GraphQLApi Sun Nov 01 2020 00:31:27 GMT+0000 (Coordinated Universal Time)
2020-11-01T00:31:33.443Z [INFO]: 
2020-11-01T00:31:33.445Z [INFO]: CREATE_IN_PROGRESS GraphQLSchema AWS::AppSync::GraphQLSchema Sun Nov 01 2020 00:31:29 GMT+0000 (Coordinated Universal Time)
                                 CREATE_IN_PROGRESS GraphQLSchema AWS::AppSync::GraphQLSchema Sun Nov 01 2020 00:31:32 GMT+0000 (Coordinated Universal Time) Resource creation Initiated
2020-11-01T00:32:38.494Z [INFO]: 
2020-11-01T00:32:38.496Z [INFO]: CREATE_COMPLETE    GraphQLSchema AWS::AppSync::GraphQLSchema Sun Nov 01 2020 00:32:33 GMT+0000 (Coordinated Universal Time)
                                 CREATE_IN_PROGRESS Flight        AWS::CloudFormation::Stack  Sun Nov 01 2020 00:32:35 GMT+0000 (Coordinated Universal Time)
                                 CREATE_IN_PROGRESS Booking       AWS::CloudFormation::Stack  Sun Nov 01 2020 00:32:35 GMT+0000 (Coordinated Universal Time)
                                 CREATE_IN_PROGRESS Flight        AWS::CloudFormation::Stack  Sun Nov 01 2020 00:32:36 GMT+0000 (Coordinated Universal Time) Resource creation Initiated
                                 CREATE_IN_PROGRESS Booking       AWS::CloudFormation::Stack  Sun Nov 01 2020 00:32:36 GMT+0000 (Coordinated Universal Time) Resource creation Initiated
2020-11-01T00:32:38.590Z [INFO]: 
2020-11-01T00:32:38.590Z [INFO]: CREATE_IN_PROGRESS amplify-awsserverlessairline-devk-02844-apiawsserverlessairline-1S7QGE1WNF6V7-Booking-6OH34T6I1SIW AWS::CloudFormation::Stack Sun Nov 01 2020 00:32:36 GMT+0000 (Coordinated Universal Time) User Initiated
2020-11-01T00:32:38.692Z [INFO]: 
2020-11-01T00:32:38.692Z [INFO]: CREATE_IN_PROGRESS amplify-awsserverlessairline-devk-02844-apiawsserverlessairline-1S7QGE1WNF6V7-Flight-1KG9SGEZJ45SS AWS::CloudFormation::Stack Sun Nov 01 2020 00:32:36 GMT+0000 (Coordinated Universal Time) User Initiated
2020-11-01T00:32:43.598Z [INFO]: 
2020-11-01T00:32:43.600Z [INFO]: CREATE_IN_PROGRESS BookingTable   AWS::DynamoDB::Table Sun Nov 01 2020 00:32:42 GMT+0000 (Coordinated Universal Time)
                                 CREATE_IN_PROGRESS BookingIAMRole AWS::IAM::Role       Sun Nov 01 2020 00:32:42 GMT+0000 (Coordinated Universal Time)
                                 CREATE_IN_PROGRESS BookingTable   AWS::DynamoDB::Table Sun Nov 01 2020 00:32:42 GMT+0000 (Coordinated Universal Time) Resource creation Initiated
                                 CREATE_IN_PROGRESS BookingIAMRole AWS::IAM::Role       Sun Nov 01 2020 00:32:43 GMT+0000 (Coordinated Universal Time) Resource creation Initiated
2020-11-01T00:32:43.693Z [INFO]: 
2020-11-01T00:32:43.694Z [INFO]: CREATE_IN_PROGRESS FlightTable   AWS::DynamoDB::Table Sun Nov 01 2020 00:32:42 GMT+0000 (Coordinated Universal Time)
                                 CREATE_IN_PROGRESS FlightIAMRole AWS::IAM::Role       Sun Nov 01 2020 00:32:42 GMT+0000 (Coordinated Universal Time)
                                 CREATE_IN_PROGRESS FlightTable   AWS::DynamoDB::Table Sun Nov 01 2020 00:32:43 GMT+0000 (Coordinated Universal Time) Resource creation Initiated
                                 CREATE_IN_PROGRESS FlightIAMRole AWS::IAM::Role       Sun Nov 01 2020 00:32:43 GMT+0000 (Coordinated Universal Time) Resource creation Initiated
2020-11-01T00:33:03.601Z [INFO]: 
2020-11-01T00:33:03.603Z [INFO]: CREATE_COMPLETE    BookingIAMRole    AWS::IAM::Role           Sun Nov 01 2020 00:32:59 GMT+0000 (Coordinated Universal Time)
                                 CREATE_IN_PROGRESS BookingDataSource AWS::AppSync::DataSource Sun Nov 01 2020 00:33:01 GMT+0000 (Coordinated Universal Time)
2020-11-01T00:33:03.707Z [INFO]: 
2020-11-01T00:33:03.708Z [INFO]: CREATE_COMPLETE    FlightIAMRole    AWS::IAM::Role           Sun Nov 01 2020 00:33:00 GMT+0000 (Coordinated Universal Time)
                                 CREATE_IN_PROGRESS FlightDataSource AWS::AppSync::DataSource Sun Nov 01 2020 00:33:03 GMT+0000 (Coordinated Universal Time)
2020-11-01T00:33:08.611Z [INFO]: 
2020-11-01T00:33:08.614Z [INFO]: CREATE_IN_PROGRESS GetBookingResolver              AWS::AppSync::Resolver   Sun Nov 01 2020 00:33:06 GMT+0000 (Coordinated Universal Time)
                                 CREATE_IN_PROGRESS BookingDataSource               AWS::AppSync::DataSource Sun Nov 01 2020 00:33:04 GMT+0000 (Coordinated Universal Time) Resource creation Initiated
                                 CREATE_COMPLETE    BookingDataSource               AWS::AppSync::DataSource Sun Nov 01 2020 00:33:04 GMT+0000 (Coordinated Universal Time)
                                 CREATE_IN_PROGRESS ListBookingResolver             AWS::AppSync::Resolver   Sun Nov 01 2020 00:33:06 GMT+0000 (Coordinated Universal Time)
                                 CREATE_IN_PROGRESS UpdateBookingResolver           AWS::AppSync::Resolver   Sun Nov 01 2020 00:33:06 GMT+0000 (Coordinated Universal Time)
                                 CREATE_IN_PROGRESS DeleteBookingResolver           AWS::AppSync::Resolver   Sun Nov 01 2020 00:33:06 GMT+0000 (Coordinated Universal Time)
                                 CREATE_IN_PROGRESS QuerygetBookingByStatusResolver AWS::AppSync::Resolver   Sun Nov 01 2020 00:33:06 GMT+0000 (Coordinated Universal Time)
                                 CREATE_IN_PROGRESS CreateBookingResolver           AWS::AppSync::Resolver   Sun Nov 01 2020 00:33:06 GMT+0000 (Coordinated Universal Time)
                                 CREATE_IN_PROGRESS GetBookingResolver              AWS::AppSync::Resolver   Sun Nov 01 2020 00:33:08 GMT+0000 (Coordinated Universal Time) Resource creation Initiated
                                 CREATE_IN_PROGRESS ListBookingResolver             AWS::AppSync::Resolver   Sun Nov 01 2020 00:33:08 GMT+0000 (Coordinated Universal Time) Resource creation Initiated
                                 CREATE_COMPLETE    GetBookingResolver              AWS::AppSync::Resolver   Sun Nov 01 2020 00:33:08 GMT+0000 (Coordinated Universal Time)
                                 CREATE_COMPLETE    ListBookingResolver             AWS::AppSync::Resolver   Sun Nov 01 2020 00:33:08 GMT+0000 (Coordinated Universal Time)
2020-11-01T00:33:08.710Z [INFO]: 
2020-11-01T00:33:08.711Z [INFO]: CREATE_IN_PROGRESS FlightDataSource     AWS::AppSync::DataSource Sun Nov 01 2020 00:33:05 GMT+0000 (Coordinated Universal Time) Resource creation Initiated
                                 CREATE_COMPLETE    FlightDataSource     AWS::AppSync::DataSource Sun Nov 01 2020 00:33:05 GMT+0000 (Coordinated Universal Time)
                                 CREATE_IN_PROGRESS DeleteFlightResolver AWS::AppSync::Resolver   Sun Nov 01 2020 00:33:07 GMT+0000 (Coordinated Universal Time)
                                 CREATE_IN_PROGRESS GetFlightResolver    AWS::AppSync::Resolver   Sun Nov 01 2020 00:33:07 GMT+0000 (Coordinated Universal Time)
                                 CREATE_IN_PROGRESS CreateFlightResolver AWS::AppSync::Resolver   Sun Nov 01 2020 00:33:07 GMT+0000 (Coordinated Universal Time)
2020-11-01T00:33:13.625Z [INFO]: 
2020-11-01T00:33:13.627Z [INFO]: CREATE_IN_PROGRESS DeleteBookingResolver AWS::AppSync::Resolver Sun Nov 01 2020 00:33:09 GMT+0000 (Coordinated Universal Time) Resource creation Initiated
                                 CREATE_COMPLETE    DeleteBookingResolver AWS::AppSync::Resolver Sun Nov 01 2020 00:33:09 GMT+0000 (Coordinated Universal Time)
                                 CREATE_COMPLETE    BookingTable          AWS::DynamoDB::Table   Sun Nov 01 2020 00:33:13 GMT+0000 (Coordinated Universal Time)
2020-11-01T00:33:13.714Z [INFO]: 
2020-11-01T00:33:13.715Z [INFO]: CREATE_IN_PROGRESS DeleteFlightResolver AWS::AppSync::Resolver Sun Nov 01 2020 00:33:08 GMT+0000 (Coordinated Universal Time) Resource creation Initiated
                                 CREATE_IN_PROGRESS GetFlightResolver    AWS::AppSync::Resolver Sun Nov 01 2020 00:33:09 GMT+0000 (Coordinated Universal Time) Resource creation Initiated
                                 CREATE_COMPLETE    DeleteFlightResolver AWS::AppSync::Resolver Sun Nov 01 2020 00:33:09 GMT+0000 (Coordinated Universal Time)
                                 CREATE_COMPLETE    GetFlightResolver    AWS::AppSync::Resolver Sun Nov 01 2020 00:33:09 GMT+0000 (Coordinated Universal Time)
                                 CREATE_IN_PROGRESS ListFlightResolver   AWS::AppSync::Resolver Sun Nov 01 2020 00:33:13 GMT+0000 (Coordinated Universal Time)
2020-11-01T00:33:18.634Z [INFO]: 
2020-11-01T00:33:18.635Z [INFO]: CREATE_IN_PROGRESS UpdateBookingResolver AWS::AppSync::Resolver Sun Nov 01 2020 00:33:18 GMT+0000 (Coordinated Universal Time) Resource creation Initiated
                                 CREATE_COMPLETE    UpdateBookingResolver AWS::AppSync::Resolver Sun Nov 01 2020 00:33:18 GMT+0000 (Coordinated Universal Time)
2020-11-01T00:33:18.727Z [INFO]: 
2020-11-01T00:33:18.727Z [INFO]: CREATE_IN_PROGRESS QuerygetFlightByScheduleResolver AWS::AppSync::Resolver Sun Nov 01 2020 00:33:13 GMT+0000 (Coordinated Universal Time)
                                 CREATE_IN_PROGRESS UpdateFlightResolver             AWS::AppSync::Resolver Sun Nov 01 2020 00:33:13 GMT+0000 (Coordinated Universal Time)
                                 CREATE_COMPLETE    FlightTable                      AWS::DynamoDB::Table   Sun Nov 01 2020 00:33:13 GMT+0000 (Coordinated Universal Time)
2020-11-01T00:33:23.636Z [INFO]: 
2020-11-01T00:33:23.638Z [INFO]: CREATE_IN_PROGRESS QuerygetBookingByStatusResolver                                                                    AWS::AppSync::Resolver     Sun Nov 01 2020 00:33:18 GMT+0000 (Coordinated Universal Time) Resource creation Initiated
                                 CREATE_COMPLETE    QuerygetBookingByStatusResolver                                                                    AWS::AppSync::Resolver     Sun Nov 01 2020 00:33:18 GMT+0000 (Coordinated Universal Time)
                                 CREATE_IN_PROGRESS CreateBookingResolver                                                                              AWS::AppSync::Resolver     Sun Nov 01 2020 00:33:19 GMT+0000 (Coordinated Universal Time) Resource creation Initiated
                                 CREATE_COMPLETE    CreateBookingResolver                                                                              AWS::AppSync::Resolver     Sun Nov 01 2020 00:33:19 GMT+0000 (Coordinated Universal Time)
                                 CREATE_COMPLETE    amplify-awsserverlessairline-devk-02844-apiawsserverlessairline-1S7QGE1WNF6V7-Booking-6OH34T6I1SIW AWS::CloudFormation::Stack Sun Nov 01 2020 00:33:22 GMT+0000 (Coordinated Universal Time)
2020-11-01T00:33:23.738Z [INFO]: 
2020-11-01T00:33:23.739Z [INFO]: CREATE_IN_PROGRESS ListFlightResolver                                                                                 AWS::AppSync::Resolver     Sun Nov 01 2020 00:33:19 GMT+0000 (Coordinated Universal Time) Resource creation Initiated
                                 CREATE_COMPLETE    ListFlightResolver                                                                                 AWS::AppSync::Resolver     Sun Nov 01 2020 00:33:19 GMT+0000 (Coordinated Universal Time)
                                 CREATE_IN_PROGRESS CreateFlightResolver                                                                               AWS::AppSync::Resolver     Sun Nov 01 2020 00:33:19 GMT+0000 (Coordinated Universal Time) Resource creation Initiated
                                 CREATE_COMPLETE    CreateFlightResolver                                                                               AWS::AppSync::Resolver     Sun Nov 01 2020 00:33:19 GMT+0000 (Coordinated Universal Time)
                                 CREATE_IN_PROGRESS UpdateFlightResolver                                                                               AWS::AppSync::Resolver     Sun Nov 01 2020 00:33:19 GMT+0000 (Coordinated Universal Time) Resource creation Initiated
                                 CREATE_COMPLETE    UpdateFlightResolver                                                                               AWS::AppSync::Resolver     Sun Nov 01 2020 00:33:19 GMT+0000 (Coordinated Universal Time)
                                 CREATE_IN_PROGRESS QuerygetFlightByScheduleResolver                                                                   AWS::AppSync::Resolver     Sun Nov 01 2020 00:33:19 GMT+0000 (Coordinated Universal Time) Resource creation Initiated
                                 CREATE_COMPLETE    QuerygetFlightByScheduleResolver                                                                   AWS::AppSync::Resolver     Sun Nov 01 2020 00:33:19 GMT+0000 (Coordinated Universal Time)
                                 CREATE_COMPLETE    amplify-awsserverlessairline-devk-02844-apiawsserverlessairline-1S7QGE1WNF6V7-Flight-1KG9SGEZJ45SS AWS::CloudFormation::Stack Sun Nov 01 2020 00:33:22 GMT+0000 (Coordinated Universal Time)
2020-11-01T00:33:28.531Z [INFO]: 
2020-11-01T00:33:28.532Z [INFO]: CREATE_COMPLETE    Flight          AWS::CloudFormation::Stack Sun Nov 01 2020 00:33:24 GMT+0000 (Coordinated Universal Time)
                                 CREATE_COMPLETE    Booking         AWS::CloudFormation::Stack Sun Nov 01 2020 00:33:24 GMT+0000 (Coordinated Universal Time)
                                 CREATE_IN_PROGRESS ConnectionStack AWS::CloudFormation::Stack Sun Nov 01 2020 00:33:26 GMT+0000 (Coordinated Universal Time)
                                 CREATE_IN_PROGRESS ConnectionStack AWS::CloudFormation::Stack Sun Nov 01 2020 00:33:27 GMT+0000 (Coordinated Universal Time) Resource creation Initiated
2020-11-01T00:33:28.627Z [INFO]: 
2020-11-01T00:33:28.628Z [INFO]: CREATE_IN_PROGRESS amplify-awsserverlessairline-devk-02844-apiawsserverlessairline-1S7QGE-ConnectionStack-1SHR5FHVPO62T AWS::CloudFormation::Stack Sun Nov 01 2020 00:33:27 GMT+0000 (Coordinated Universal Time) User Initiated
2020-11-01T00:33:33.629Z [INFO]: 
2020-11-01T00:33:33.631Z [INFO]: CREATE_IN_PROGRESS BookingoutboundFlightResolver AWS::AppSync::Resolver Sun Nov 01 2020 00:33:31 GMT+0000 (Coordinated Universal Time)
2020-11-01T00:33:38.634Z [INFO]: 
2020-11-01T00:33:38.636Z [INFO]: CREATE_IN_PROGRESS BookingoutboundFlightResolver                                                                        AWS::AppSync::Resolver     Sun Nov 01 2020 00:33:33 GMT+0000 (Coordinated Universal Time) Resource creation Initiated
                                 CREATE_COMPLETE    BookingoutboundFlightResolver                                                                        AWS::AppSync::Resolver     Sun Nov 01 2020 00:33:34 GMT+0000 (Coordinated Universal Time)
                                 CREATE_COMPLETE    amplify-awsserverlessairline-devk-02844-apiawsserverlessairline-1S7QGE-ConnectionStack-1SHR5FHVPO62T AWS::CloudFormation::Stack Sun Nov 01 2020 00:33:35 GMT+0000 (Coordinated Universal Time)
2020-11-01T00:33:43.544Z [INFO]: 
2020-11-01T00:33:43.546Z [INFO]: CREATE_COMPLETE    ConnectionStack     AWS::CloudFormation::Stack Sun Nov 01 2020 00:33:38 GMT+0000 (Coordinated Universal Time)
                                 CREATE_IN_PROGRESS CustomResourcesjson AWS::CloudFormation::Stack Sun Nov 01 2020 00:33:40 GMT+0000 (Coordinated Universal Time)
                                 CREATE_IN_PROGRESS CustomResourcesjson AWS::CloudFormation::Stack Sun Nov 01 2020 00:33:41 GMT+0000 (Coordinated Universal Time) Resource creation Initiated
2020-11-01T00:33:43.651Z [INFO]: 
2020-11-01T00:33:43.651Z [INFO]: CREATE_IN_PROGRESS amplify-awsserverlessairline-devk-02844-apiawsserverlessairline-1S-CustomResourcesjson-PU3MMIYI2DPJ AWS::CloudFormation::Stack Sun Nov 01 2020 00:33:41 GMT+0000 (Coordinated Universal Time) User Initiated
2020-11-01T00:33:48.640Z [INFO]: 
2020-11-01T00:33:48.642Z [INFO]: CREATE_COMPLETE amplify-awsserverlessairline-devk-02844-apiawsserverlessairline-1S-CustomResourcesjson-PU3MMIYI2DPJ AWS::CloudFormation::Stack Sun Nov 01 2020 00:33:44 GMT+0000 (Coordinated Universal Time)
2020-11-01T00:33:53.551Z [INFO]: 
2020-11-01T00:33:53.553Z [INFO]: CREATE_COMPLETE CustomResourcesjson AWS::CloudFormation::Stack Sun Nov 01 2020 00:33:51 GMT+0000 (Coordinated Universal Time)
2020-11-01T00:33:58.556Z [INFO]: 
2020-11-01T00:33:58.558Z [INFO]: CREATE_COMPLETE amplify-awsserverlessairline-devk-02844-apiawsserverlessairline-1S7QGE1WNF6V7 AWS::CloudFormation::Stack Sun Nov 01 2020 00:33:54 GMT+0000 (Coordinated Universal Time)
2020-11-01T00:34:03.378Z [INFO]: 
2020-11-01T00:34:03.380Z [INFO]: CREATE_COMPLETE                     apiawsserverlessairline                 AWS::CloudFormation::Stack Sun Nov 01 2020 00:33:59 GMT+0000 (Coordinated Universal Time)
                                 UPDATE_COMPLETE_CLEANUP_IN_PROGRESS amplify-awsserverlessairline-devk-02844 AWS::CloudFormation::Stack Sun Nov 01 2020 00:34:01 GMT+0000 (Coordinated Universal Time)
                                 UPDATE_COMPLETE                     amplify-awsserverlessairline-devk-02844 AWS::CloudFormation::Stack Sun Nov 01 2020 00:34:02 GMT+0000 (Coordinated Universal Time)
2020-11-01T00:34:19.002Z [WARNING]: ✔ All resources are updated in the cloud
2020-11-01T00:34:19.004Z [INFO]: 
2020-11-01T00:34:19.006Z [INFO]: GraphQL endpoint: https://uncw5sjabzfpnopfyz4xputyae.appsync-api.eu-west-1.amazonaws.com/graphql
2020-11-01T00:34:19.007Z [INFO]: 
2020-11-01T00:34:19.026Z [INFO]: Initialized your environment successfully.
2020-11-01T00:34:19.027Z [INFO]: Your project has been successfully initialized and connected to the cloud!
                                 Some next steps:
                                 "amplify status" will show you what you've added already and if it's locally configured or deployed
                                 "amplify add <category>" will allow you to add features like user login or a backend API
                                 "amplify push" will build all your local backend resources and provision it in the cloud
                                 “amplify console” to open the Amplify Console and view your project status
                                 "amplify publish" will build all your local backend and frontend resources (if you have hosting category added) and provision it in the cloud
                                 Pro tip:
2020-11-01T00:34:19.027Z [INFO]: Try "amplify add api" to create a backend API and then "amplify publish" to deploy everything
2020-11-01T00:34:19.051Z [INFO]: # Environment devk details:
2020-11-01T00:34:19.619Z [INFO]: 
2020-11-01T00:34:19.620Z [INFO]: devk
2020-11-01T00:34:19.620Z [INFO]: --------------
                                 Provider: awscloudformation
                                 AuthRoleName: amplify-awsserverlessairline-devk-02844-authRole
                                 UnauthRoleArn: arn:aws:iam::289776928362:role/amplify-awsserverlessairline-devk-02844-unauthRole
                                 AuthRoleArn: arn:aws:iam::289776928362:role/amplify-awsserverlessairline-devk-02844-authRole
                                 Region: eu-west-1
                                 DeploymentBucketName: amplify-awsserverlessairline-devk-02844-deployment
                                 UnauthRoleName: amplify-awsserverlessairline-devk-02844-unauthRole
                                 StackName: amplify-awsserverlessairline-devk-02844
                                 StackId: arn:aws:cloudformation:eu-west-1:289776928362:stack/amplify-awsserverlessairline-devk-02844/339de0d0-1bd9-11eb-8b22-06dee405464c
2020-11-01T00:34:19.620Z [INFO]: AmplifyAppId: d28rfplmcddkgt
                                 --------------
                                 Provider: categories
                                 auth: [object Object]
                                 --------------
2020-11-01T00:34:19.627Z [INFO]: # Done initializing Amplify environment: devk
2020-11-01T00:34:19.627Z [INFO]: # Store Amplify CLI Cloud-Formation stack info in environment cache
2020-11-01T00:34:20.199Z [INFO]: STACKINFO={
                                 "awscloudformation": {
                                 "AuthRoleName": "amplify-awsserverlessairline-devk-02844-authRole",
                                 "UnauthRoleArn": "arn:aws:iam::289776928362:role/amplify-awsserverlessairline-devk-02844-unauthRole",
                                 "AuthRoleArn": "arn:aws:iam::289776928362:role/amplify-awsserverlessairline-devk-02844-authRole",
                                 "Region": "eu-west-1",
                                 "DeploymentBucketName": "amplify-awsserverlessairline-devk-02844-deployment",
                                 "UnauthRoleName": "amplify-awsserverlessairline-devk-02844-unauthRole",
                                 "StackName": "amplify-awsserverlessairline-devk-02844",
                                 "StackId": "arn:aws:cloudformation:eu-west-1:289776928362:stack/amplify-awsserverlessairline-devk-02844/339de0d0-1bd9-11eb-8b22-06dee405464c",
                                 "AmplifyAppId": "d28rfplmcddkgt"
                                 },
                                 "categories": {
                                 "auth": {
                                 "awsserverlessairline44ea6421": {}
                                 }
                                 }
                                 }
2020-11-01T00:34:20.202Z [INFO]: # Executing command: export STACK_NAME=amplify-awsserverlessairline-devk-02844
2020-11-01T00:34:20.208Z [INFO]: # Executing command: export DEPLOYMENT_BUCKET_NAME=amplify-awsserverlessairline-devk-02844-deployment
2020-11-01T00:34:20.213Z [INFO]: # Executing command: export AWS_DEFAULT_REGION=eu-west-1
2020-11-01T00:34:20.219Z [INFO]: # Executing command: export GRAPHQL_API_ID=yuyvqja3drc35obwis4tfzxsqm
2020-11-01T00:34:20.224Z [INFO]: # Executing command: export APPSYNC_URL=https://uncw5sjabzfpnopfyz4xputyae.appsync-api.eu-west-1.amazonaws.com/graphql
2020-11-01T00:34:20.230Z [INFO]: # Executing command: export COGNITO_USER_POOL_ID=eu-west-1_B7hu6FDDv
2020-11-01T00:34:20.630Z [INFO]: # Executing command: export COGNITO_USER_POOL_ARN=arn:aws:cognito-idp:eu-west-1:289776928362:userpool/eu-west-1_B7hu6FDDv
2020-11-01T00:34:21.019Z [INFO]: # Executing command: export COGNITO_USER_POOL_CLIENT_ID=q8hjteusacbut6mpedh8vki0f
2020-11-01T00:34:21.022Z [INFO]: # Executing command: aws appsync list-data-sources --api-id yuyvqja3drc35obwis4tfzxsqm > datasources.json
2020-11-01T00:34:21.439Z [INFO]: # Executing command: export FLIGHT_TABLE_NAME=Flight-yuyvqja3drc35obwis4tfzxsqm-devk
2020-11-01T00:34:21.445Z [INFO]: # Executing command: export BOOKING_TABLE_NAME=Booking-yuyvqja3drc35obwis4tfzxsqm-devk
2020-11-01T00:34:21.448Z [INFO]: # Executing command: export STRIPE_SECRET_KEY=123
2020-11-01T00:34:21.448Z [INFO]: # Executing command: export STRIPE_PUBLIC_KEY=123
                                 # Executing command: make export.parameter NAME=/develop/service/amplify/deployment/stackName VALUE=amplify-awsserverlessairline-devk-02844
2020-11-01T00:34:21.449Z [INFO]: [+] Adding new parameter named "/develop/service/amplify/deployment/stackName"
2020-11-01T00:34:21.450Z [INFO]: aws ssm put-parameter \
                                 --name "${NAME}" \
                                 --type "String" \
                                 --value "${VALUE}" \
                                 --overwrite
2020-11-01T00:34:21.841Z [INFO]: {
                                 "Version": 1,
                                 "Tier": "Standard"
                                 }
2020-11-01T00:34:21.884Z [INFO]: # Executing command: make export.parameter NAME=/develop/service/amplify/deployment/deploymentBucket VALUE=amplify-awsserverlessairline-devk-02844-deployment
2020-11-01T00:34:21.885Z [INFO]: [+] Adding new parameter named "/develop/service/amplify/deployment/deploymentBucket"
                                 aws ssm put-parameter \
                                 --name "${NAME}" \
                                 --type "String" \
                                 --value "${VALUE}" \
2020-11-01T00:34:21.886Z [INFO]: --overwrite
2020-11-01T00:34:22.237Z [INFO]: {
                                 "Version": 1,
                                 "Tier": "Standard"
                                 }
2020-11-01T00:34:22.279Z [INFO]: # Executing command: make export.parameter NAME=/develop/service/amplify/auth/userpool/id VALUE=eu-west-1_B7hu6FDDv
2020-11-01T00:34:22.281Z [INFO]: [+] Adding new parameter named "/develop/service/amplify/auth/userpool/id"
                                 aws ssm put-parameter \
                                 --name "${NAME}" \
                                 --type "String" \
                                 --value "${VALUE}" \
                                 --overwrite
2020-11-01T00:34:22.618Z [INFO]: {
                                 "Version": 1,
                                 "Tier": "Standard"
                                 }
2020-11-01T00:34:22.655Z [INFO]: # Executing command: make export.parameter NAME=/develop/service/amplify/auth/userpool/arn VALUE=arn:aws:cognito-idp:eu-west-1:289776928362:userpool/eu-west-1_B7hu6FDDv
2020-11-01T00:34:22.657Z [INFO]: [+] Adding new parameter named "/develop/service/amplify/auth/userpool/arn"
                                 aws ssm put-parameter \
                                 --name "${NAME}" \
                                 --type "String" \
                                 --value "${VALUE}" \
                                 --overwrite
2020-11-01T00:34:23.001Z [INFO]: {
                                 "Version": 1,
                                 "Tier": "Standard"
                                 }
2020-11-01T00:34:23.040Z [INFO]: # Executing command: make export.parameter NAME=/develop/service/amplify/auth/userpool/clientId VALUE=q8hjteusacbut6mpedh8vki0f
2020-11-01T00:34:23.041Z [INFO]: [+] Adding new parameter named "/develop/service/amplify/auth/userpool/clientId"
                                 aws ssm put-parameter \
                                 --name "${NAME}" \
                                 --type "String" \
                                 --value "${VALUE}" \
                                 --overwrite
2020-11-01T00:34:23.376Z [INFO]: {
                                 "Version": 1,
                                 "Tier": "Standard"
                                 }
2020-11-01T00:34:23.414Z [INFO]: # Executing command: make export.parameter NAME=/develop/service/amplify/api/id VALUE=yuyvqja3drc35obwis4tfzxsqm
2020-11-01T00:34:23.416Z [INFO]: [+] Adding new parameter named "/develop/service/amplify/api/id"
                                 aws ssm put-parameter \
                                 --name "${NAME}" \
                                 --type "String" \
                                 --value "${VALUE}" \
2020-11-01T00:34:23.416Z [INFO]: --overwrite
2020-11-01T00:34:23.756Z [INFO]: {
                                 "Version": 1,
                                 "Tier": "Standard"
                                 }
2020-11-01T00:34:23.795Z [INFO]: # Executing command: make export.parameter NAME=/develop/service/amplify/api/url VALUE=https://uncw5sjabzfpnopfyz4xputyae.appsync-api.eu-west-1.amazonaws.com/graphql
2020-11-01T00:34:23.797Z [INFO]: [+] Adding new parameter named "/develop/service/amplify/api/url"
                                 aws ssm put-parameter \
                                 --name "${NAME}" \
                                 --type "String" \
                                 --value "${VALUE}" \
                                 --overwrite
2020-11-01T00:34:24.156Z [INFO]: {
                                 "Version": 1,
                                 "Tier": "Standard"
                                 }
2020-11-01T00:34:24.197Z [INFO]: # Executing command: make export.parameter NAME=/develop/service/amplify/storage/table/flight VALUE=Flight-yuyvqja3drc35obwis4tfzxsqm-devk
2020-11-01T00:34:24.198Z [INFO]: [+] Adding new parameter named "/develop/service/amplify/storage/table/flight"
2020-11-01T00:34:24.199Z [INFO]: aws ssm put-parameter \
                                 --name "${NAME}" \
                                 --type "String" \
                                 --value "${VALUE}" \
                                 --overwrite
2020-11-01T00:34:24.537Z [INFO]: {
                                 "Version": 1,
                                 "Tier": "Standard"
                                 }
2020-11-01T00:34:24.576Z [INFO]: # Executing command: make export.parameter NAME=/develop/service/amplify/storage/table/booking VALUE=Booking-yuyvqja3drc35obwis4tfzxsqm-devk
2020-11-01T00:34:24.577Z [INFO]: [+] Adding new parameter named "/develop/service/amplify/storage/table/booking"
2020-11-01T00:34:24.577Z [INFO]: aws ssm put-parameter \
                                 --name "${NAME}" \
                                 --type "String" \
                                 --value "${VALUE}" \
                                 --overwrite
2020-11-01T00:34:24.916Z [INFO]: {
                                 "Version": 1,
                                 "Tier": "Standard"
                                 }
2020-11-01T00:34:24.960Z [INFO]: # Executing command: make export.parameter NAME=/develop/service/payment/stripe/secretKey VALUE=123
2020-11-01T00:34:24.961Z [INFO]: [+] Adding new parameter named "/develop/service/payment/stripe/secretKey"
2020-11-01T00:34:24.961Z [INFO]: aws ssm put-parameter \
                                 --name "${NAME}" \
                                 --type "String" \
                                 --value "${VALUE}" \
                                 --overwrite
2020-11-01T00:34:25.297Z [INFO]: {
                                 "Version": 1,
                                 "Tier": "Standard"
                                 }
2020-11-01T00:34:25.335Z [INFO]: # Executing command: make export.parameter NAME=/develop/service/payment/stripe/publicKey VALUE=123
2020-11-01T00:34:25.336Z [INFO]: [+] Adding new parameter named "/develop/service/payment/stripe/publicKey"
                                 aws ssm put-parameter \
                                 --name "${NAME}" \
                                 --type "String" \
                                 --value "${VALUE}" \
                                 --overwrite
2020-11-01T00:34:25.671Z [INFO]: {
                                 "Version": 1,
                                 "Tier": "Standard"
                                 }
2020-11-01T00:34:25.712Z [INFO]: # Executing command: make export.parameter NAME= /develop/service/auth/userpool/url VALUE=https://cognito-idp.eu-west-1.amazonaws.com/
2020-11-01T00:34:25.714Z [INFO]: [+] Adding new parameter named "/develop/service/auth/userpool/url"
                                 aws ssm put-parameter \
                                 --name "${NAME}" \
                                 --type "String" \
                                 --value "${VALUE}" \
                                 --overwrite
2020-11-01T00:34:26.063Z [INFO]: {
                                 "Version": 1,
                                 "Tier": "Standard"
                                 }
2020-11-01T00:34:26.105Z [INFO]: # Executing command: make export.parameter NAME= /develop/service/loadtest/usercount VALUE=5
2020-11-01T00:34:26.106Z [INFO]: [+] Adding new parameter named "/develop/service/loadtest/usercount"
                                 aws ssm put-parameter \
                                 --name "${NAME}" \
                                 --type "String" \
                                 --value "${VALUE}" \
                                 --overwrite
2020-11-01T00:34:27.471Z [INFO]: {
                                 "Version": 1,
                                 "Tier": "Standard"
                                 }
2020-11-01T00:34:27.513Z [INFO]: # Executing command: make export.parameter NAME= /develop/service/loadtest/csv/token VALUE=user-with-token.csv
2020-11-01T00:34:27.515Z [INFO]: [+] Adding new parameter named "/develop/service/loadtest/csv/token"
2020-11-01T00:34:27.515Z [INFO]: aws ssm put-parameter \
                                 --name "${NAME}" \
                                 --type "String" \
                                 --value "${VALUE}" \
                                 --overwrite
2020-11-01T00:34:27.854Z [INFO]: {
                                 "Version": 1,
                                 "Tier": "Standard"
                                 }
2020-11-01T00:34:27.896Z [INFO]: # Executing command: make export.parameter NAME= /develop/service/loadtest/csv/user VALUE=user.csv
2020-11-01T00:34:27.898Z [INFO]: [+] Adding new parameter named "/develop/service/loadtest/csv/user"
                                 aws ssm put-parameter \
                                 --name "${NAME}" \
                                 --type "String" \
                                 --value "${VALUE}" \
2020-11-01T00:34:27.898Z [INFO]: --overwrite
2020-11-01T00:34:28.237Z [INFO]: {
                                 "Version": 1,
                                 "Tier": "Standard"
                                 }
2020-11-01T00:34:28.280Z [INFO]: # Executing command: make deploy
2020-11-01T00:34:28.282Z [INFO]: [*] Deploying...
2020-11-01T00:34:28.282Z [INFO]: make deploy.shared-lambda-layers
2020-11-01T00:34:28.283Z [INFO]: make[1]: Entering directory `/codebuild/output/src220864713/src/aws-serverless-airline-booking'
                                 make -C src/backend/shared/libs deploy
2020-11-01T00:34:28.284Z [INFO]: [*] Packaging and deploying shared Lambda libs layers...
2020-11-01T00:34:28.284Z [INFO]: make[2]: Entering directory `/codebuild/output/src220864713/src/aws-serverless-airline-booking/src/backend/shared/libs'
                                 sam build && \
                                 sam package \
                                 --s3-bucket ${DEPLOYMENT_BUCKET_NAME} \
                                 --output-template-file packaged.yaml && \
                                 sam deploy \
                                 --template-file packaged.yaml \
                                 --stack-name ${STACK_NAME}-shared-layers-${AWS_BRANCH} \
                                 --parameter-overrides Stage=${AWS_BRANCH} \
                                 --capabilities CAPABILITY_IAM
2020-11-01T00:34:28.543Z [WARNING]: SAM CLI now collects telemetry to better understand customer needs.
                                    You can OPT OUT and disable telemetry collection by setting the
                                    environment variable SAM_CLI_TELEMETRY=0 in your shell.
                                    Thanks for your help!
                                    Learn More: https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/serverless-sam-telemetry.html
2020-11-01T00:34:29.137Z [WARNING]: Building layer 'ProjectSharedLibs'
2020-11-01T00:34:29.160Z [WARNING]: Running PythonPipBuilder:ResolveDependencies
2020-11-01T00:34:35.681Z [WARNING]: Running PythonPipBuilder:CopySource
2020-11-01T00:34:35.688Z [INFO]: Build Succeeded
2020-11-01T00:34:35.688Z [INFO]: Built Artifacts  : .aws-sam/build
                                 Built Template   : .aws-sam/build/template.yaml
                                 Commands you can use next
                                 =========================
                                 [*] Invoke Function: sam local invoke
                                 [*] Deploy: sam deploy --guided

2020-11-01T00:34:39.059Z [WARNING]: Uploading to 4d21d3c8851d88bd0575315166c124b7  262144 / 8939409.0  (2.93%)
2020-11-01T00:34:39.062Z [WARNING]: Uploading to 4d21d3c8851d88bd0575315166c124b7  524288 / 8939409.0  (5.86%)
2020-11-01T00:34:39.106Z [WARNING]: Uploading to 4d21d3c8851d88bd0575315166c124b7  786432 / 8939409.0  (8.80%)
2020-11-01T00:34:39.107Z [WARNING]: Uploading to 4d21d3c8851d88bd0575315166c124b7  1048576 / 8939409.0  (11.73%)
2020-11-01T00:34:39.108Z [WARNING]: Uploading to 4d21d3c8851d88bd0575315166c124b7  1310720 / 8939409.0  (14.66%)
2020-11-01T00:34:39.109Z [WARNING]: Uploading to 4d21d3c8851d88bd0575315166c124b7  1572864 / 8939409.0  (17.59%)
2020-11-01T00:34:39.110Z [WARNING]: Uploading to 4d21d3c8851d88bd0575315166c124b7  1835008 / 8939409.0  (20.53%)
2020-11-01T00:34:39.111Z [WARNING]: Uploading to 4d21d3c8851d88bd0575315166c124b7  2097152 / 8939409.0  (23.46%)
2020-11-01T00:34:39.112Z [WARNING]: Uploading to 4d21d3c8851d88bd0575315166c124b7  2123665 / 8939409.0  (23.76%)
2020-11-01T00:34:39.113Z [WARNING]: Uploading to 4d21d3c8851d88bd0575315166c124b7  2385809 / 8939409.0  (26.69%)
2020-11-01T00:34:39.114Z [WARNING]: Uploading to 4d21d3c8851d88bd0575315166c124b7  2647953 / 8939409.0  (29.62%)
2020-11-01T00:34:39.115Z [WARNING]: Uploading to 4d21d3c8851d88bd0575315166c124b7  2910097 / 8939409.0  (32.55%)
2020-11-01T00:34:39.116Z [WARNING]: Uploading to 4d21d3c8851d88bd0575315166c124b7  3172241 / 8939409.0  (35.49%)
2020-11-01T00:34:39.116Z [WARNING]: Uploading to 4d21d3c8851d88bd0575315166c124b7  3434385 / 8939409.0  (38.42%)
2020-11-01T00:34:39.117Z [WARNING]: Uploading to 4d21d3c8851d88bd0575315166c124b7  3696529 / 8939409.0  (41.35%)
2020-11-01T00:34:39.118Z [WARNING]: Uploading to 4d21d3c8851d88bd0575315166c124b7  3958673 / 8939409.0  (44.28%)
2020-11-01T00:34:39.119Z [WARNING]: Uploading to 4d21d3c8851d88bd0575315166c124b7  4220817 / 8939409.0  (47.22%)
2020-11-01T00:34:39.120Z [WARNING]: Uploading to 4d21d3c8851d88bd0575315166c124b7  4482961 / 8939409.0  (50.15%)
2020-11-01T00:34:39.121Z [WARNING]: Uploading to 4d21d3c8851d88bd0575315166c124b7  4745105 / 8939409.0  (53.08%)
2020-11-01T00:34:39.121Z [WARNING]: Uploading to 4d21d3c8851d88bd0575315166c124b7  5007249 / 8939409.0  (56.01%)
2020-11-01T00:34:39.122Z [WARNING]: Uploading to 4d21d3c8851d88bd0575315166c124b7  5269393 / 8939409.0  (58.95%)
2020-11-01T00:34:39.123Z [WARNING]: Uploading to 4d21d3c8851d88bd0575315166c124b7  5531537 / 8939409.0  (61.88%)
2020-11-01T00:34:39.124Z [WARNING]: Uploading to 4d21d3c8851d88bd0575315166c124b7  5793681 / 8939409.0  (64.81%)
2020-11-01T00:34:39.124Z [WARNING]: Uploading to 4d21d3c8851d88bd0575315166c124b7  6055825 / 8939409.0  (67.74%)
2020-11-01T00:34:39.125Z [WARNING]: Uploading to 4d21d3c8851d88bd0575315166c124b7  6317969 / 8939409.0  (70.68%)
2020-11-01T00:34:39.126Z [WARNING]: Uploading to 4d21d3c8851d88bd0575315166c124b7  6580113 / 8939409.0  (73.61%)
2020-11-01T00:34:39.126Z [WARNING]: Uploading to 4d21d3c8851d88bd0575315166c124b7  6842257 / 8939409.0  (76.54%)
2020-11-01T00:34:39.127Z [WARNING]: Uploading to 4d21d3c8851d88bd0575315166c124b7  7104401 / 8939409.0  (79.47%)
2020-11-01T00:34:39.128Z [WARNING]: Uploading to 4d21d3c8851d88bd0575315166c124b7  7366545 / 8939409.0  (82.41%)
2020-11-01T00:34:39.129Z [WARNING]: Uploading to 4d21d3c8851d88bd0575315166c124b7  7628689 / 8939409.0  (85.34%)
2020-11-01T00:34:39.130Z [WARNING]: Uploading to 4d21d3c8851d88bd0575315166c124b7  7890833 / 8939409.0  (88.27%)
2020-11-01T00:34:39.131Z [WARNING]: Uploading to 4d21d3c8851d88bd0575315166c124b7  8152977 / 8939409.0  (91.20%)
2020-11-01T00:34:39.132Z [WARNING]: Uploading to 4d21d3c8851d88bd0575315166c124b7  8415121 / 8939409.0  (94.14%)
2020-11-01T00:34:39.133Z [WARNING]: Uploading to 4d21d3c8851d88bd0575315166c124b7  8677265 / 8939409.0  (97.07%)
2020-11-01T00:34:39.134Z [WARNING]: Uploading to 4d21d3c8851d88bd0575315166c124b7  8939409 / 8939409.0  (100.00%)
2020-11-01T00:34:39.332Z [INFO]: Successfully packaged artifacts and wrote output template to file packaged.yaml.
                                 Execute the following command to deploy the packaged template
                                 sam deploy --template-file /codebuild/output/src220864713/src/aws-serverless-airline-booking/src/backend/shared/libs/packaged.yaml --stack-name <YOUR STACK NAME>
2020-11-01T00:34:39.810Z [WARNING]: 
2020-11-01T00:34:40.347Z [INFO]: Deploying with following values
                                 ===============================
                                 Stack name                 : amplify-awsserverlessairline-devk-02844-shared-layers-develop
2020-11-01T00:34:40.348Z [INFO]: Region                     : None
                                 Confirm changeset          : False
                                 Deployment s3 bucket       : None
                                 Capabilities               : ["CAPABILITY_IAM"]
                                 Parameter overrides        : {'Stage': 'develop'}
                                 Initiating deployment
                                 =====================
2020-11-01T00:34:40.556Z [INFO]: Waiting for changeset to be created..
2020-11-01T00:34:45.660Z [INFO]: CloudFormation stack changeset
                                 -------------------------------------------------------------------------------------------------
2020-11-01T00:34:45.662Z [INFO]: Operation                LogicalResourceId        ResourceType             Replacement
                                 -------------------------------------------------------------------------------------------------
2020-11-01T00:34:45.713Z [INFO]: + Add                    ProjectSharedLibs62325   AWS::Lambda::LayerVers   N/A
2020-11-01T00:34:45.714Z [INFO]: 706b6                    ion
                                 + Add                    ProjectSharedLibsParam   AWS::SSM::Parameter      N/A
                                 eter
                                 -------------------------------------------------------------------------------------------------
                                 Changeset created successfully. arn:aws:cloudformation:eu-west-1:289776928362:changeSet/samcli-deploy1604190880/14323bf2-8f32-4b61-8b2d-7bd3ff4814d9
2020-11-01T00:34:45.806Z [INFO]: 2020-11-01 00:34:45 - Waiting for stack create/update to complete
2020-11-01T00:34:45.841Z [INFO]: CloudFormation events from changeset
2020-11-01T00:34:45.841Z [INFO]: -------------------------------------------------------------------------------------------------
                                 ResourceStatus           ResourceType             LogicalResourceId        ResourceStatusReason
                                 -------------------------------------------------------------------------------------------------
2020-11-01T00:34:49.818Z [INFO]: CREATE_IN_PROGRESS       AWS::Lambda::LayerVers   ProjectSharedLibs62325   -
2020-11-01T00:34:49.819Z [INFO]: ion                      706b6
2020-11-01T00:34:55.526Z [INFO]: CREATE_COMPLETE          AWS::Lambda::LayerVers   ProjectSharedLibs62325   -
                                 ion                      706b6
2020-11-01T00:34:55.528Z [INFO]: CREATE_IN_PROGRESS       AWS::Lambda::LayerVers   ProjectSharedLibs62325   Resource creation
                                 ion                      706b6                    Initiated
2020-11-01T00:34:57.239Z [INFO]: CREATE_IN_PROGRESS       AWS::SSM::Parameter      ProjectSharedLibsParam   -
                                 eter
2020-11-01T00:34:58.951Z [INFO]: CREATE_IN_PROGRESS       AWS::SSM::Parameter      ProjectSharedLibsParam   Resource creation
2020-11-01T00:34:58.953Z [INFO]: eter                     Initiated
2020-11-01T00:35:00.115Z [INFO]: CREATE_COMPLETE          AWS::SSM::Parameter      ProjectSharedLibsParam   -
                                 eter
2020-11-01T00:35:01.882Z [INFO]: CREATE_COMPLETE          AWS::CloudFormation::S   amplify-                 -
                                 tack                     awsserverlessairline-
2020-11-01T00:35:01.882Z [INFO]: devk-02844-shared-
                                 layers-develop
                                 -------------------------------------------------------------------------------------------------
2020-11-01T00:35:01.977Z [INFO]: CloudFormation outputs from deployed stack
                                 -------------------------------------------------------------------------------------------------
2020-11-01T00:35:01.977Z [INFO]: Outputs
                                 -------------------------------------------------------------------------------------------------
                                 Key                 ProjectSharedLibs
                                 Description         Shared libraries Lambda Layer ARN
                                 Value               arn:aws:lambda:eu-west-1:289776928362:layer:ProjectSharedLibs:1
                                 -------------------------------------------------------------------------------------------------
                                 Successfully created/updated stack - amplify-awsserverlessairline-devk-02844-shared-layers-develop in None
2020-11-01T00:35:02.495Z [INFO]: make[2]: Leaving directory `/codebuild/output/src220864713/src/aws-serverless-airline-booking/src/backend/shared/libs'
2020-11-01T00:35:02.496Z [INFO]: make[1]: Leaving directory `/codebuild/output/src220864713/src/aws-serverless-airline-booking'
                                 make deploy.payment
                                 make[1]: Entering directory `/codebuild/output/src220864713/src/aws-serverless-airline-booking'
                                 make -C src/backend/payment deploy
2020-11-01T00:35:02.497Z [INFO]: [*] Packaging and deploying Payment service...
2020-11-01T00:35:02.497Z [INFO]: make[2]: Entering directory `/codebuild/output/src220864713/src/aws-serverless-airline-booking/src/backend/payment'
                                 sam package \
                                 --s3-bucket ${DEPLOYMENT_BUCKET_NAME} \
                                 --output-template-file packaged.yaml && \
                                 aws cloudformation deploy \
                                 --template-file packaged.yaml \
                                 --stack-name ${STACK_NAME}-payment-${AWS_BRANCH} \
                                 --capabilities CAPABILITY_IAM CAPABILITY_AUTO_EXPAND \
                                 --parameter-overrides \
                                 Stage=${AWS_BRANCH} \
                                 SharedLibsLayer=/${AWS_BRANCH}/shared/lambda/layers/projectArn
2020-11-01T00:35:03.778Z [WARNING]: Uploading to 6f86e1e4100f8913cf0f78318166ab4d  1646 / 1646.0  (100.00%)
2020-11-01T00:35:03.838Z [WARNING]: Uploading to e791936ecb5212701f8599c820fa6a6c  1560 / 1560.0  (100.00%)
2020-11-01T00:35:03.847Z [INFO]: Successfully packaged artifacts and wrote output template to file packaged.yaml.
                                 Execute the following command to deploy the packaged template
                                 sam deploy --template-file /codebuild/output/src220864713/src/aws-serverless-airline-booking/src/backend/payment/packaged.yaml --stack-name <YOUR STACK NAME>
2020-11-01T00:35:04.312Z [WARNING]: 
2020-11-01T00:35:04.902Z [INFO]: Waiting for changeset to be created..
2020-11-01T00:35:20.225Z [INFO]: Waiting for stack create/update to complete
2020-11-01T00:36:40.888Z [INFO]: Successfully created/updated stack - amplify-awsserverlessairline-devk-02844-payment-develop
2020-11-01T00:36:40.941Z [INFO]: make[2]: Leaving directory `/codebuild/output/src220864713/src/aws-serverless-airline-booking/src/backend/payment'
2020-11-01T00:36:40.941Z [INFO]: make[1]: Leaving directory `/codebuild/output/src220864713/src/aws-serverless-airline-booking'
                                 make deploy.booking
2020-11-01T00:36:40.942Z [INFO]: make[1]: Entering directory `/codebuild/output/src220864713/src/aws-serverless-airline-booking'
                                 make -C src/backend/booking deploy
2020-11-01T00:36:40.943Z [INFO]: [*] Packaging and deploying Booking service...
2020-11-01T00:36:40.944Z [INFO]: make[2]: Entering directory `/codebuild/output/src220864713/src/aws-serverless-airline-booking/src/backend/booking'
                                 sam package \
                                 --s3-bucket ${DEPLOYMENT_BUCKET_NAME} \
                                 --output-template-file packaged.yaml && \
                                 aws cloudformation deploy \
                                 --template-file packaged.yaml \
                                 --stack-name ${STACK_NAME}-booking-${AWS_BRANCH} \
                                 --capabilities CAPABILITY_IAM \
                                 --parameter-overrides \
                                 BookingTable=/${AWS_BRANCH}/service/amplify/storage/table/booking \
                                 FlightTable=/${AWS_BRANCH}/service/amplify/storage/table/flight \
                                 CollectPaymentFunction=/${AWS_BRANCH}/service/payment/function/collect \
                                 RefundPaymentFunction=/${AWS_BRANCH}/service/payment/function/refund \
                                 AppsyncApiId=/${AWS_BRANCH}/service/amplify/api/id \
                                 Stage=${AWS_BRANCH} \
                                 SharedLibsLayer=/${AWS_BRANCH}/shared/lambda/layers/projectArn
2020-11-01T00:36:42.395Z [WARNING]: Uploading to 76036190783a8ed7b4ec214d1077c451  1579 / 1579.0  (100.00%)
2020-11-01T00:36:42.492Z [WARNING]: Uploading to 2d31f1ec5f3e272cc7bca23bcf0abab0  1377 / 1377.0  (100.00%)
2020-11-01T00:36:42.631Z [WARNING]: Uploading to 5e605f94ef048ab37e8aa85829448e12  1836 / 1836.0  (100.00%)
2020-11-01T00:36:42.725Z [WARNING]: Uploading to 1bc6da179bf39519af6a17c6f60e4f30  1767 / 1767.0  (100.00%)
2020-11-01T00:36:42.756Z [INFO]: Successfully packaged artifacts and wrote output template to file packaged.yaml.
                                 Execute the following command to deploy the packaged template
                                 sam deploy --template-file /codebuild/output/src220864713/src/aws-serverless-airline-booking/src/backend/booking/packaged.yaml --stack-name <YOUR STACK NAME>
2020-11-01T00:36:43.222Z [WARNING]: 
2020-11-01T00:36:43.970Z [INFO]: Waiting for changeset to be created..
2020-11-01T00:36:54.245Z [INFO]: Waiting for stack create/update to complete
2020-11-01T00:38:30.106Z [INFO]: Successfully created/updated stack - amplify-awsserverlessairline-devk-02844-booking-develop
2020-11-01T00:38:30.149Z [INFO]: make[2]: Leaving directory `/codebuild/output/src220864713/src/aws-serverless-airline-booking/src/backend/booking'
2020-11-01T00:38:30.150Z [INFO]: make[1]: Leaving directory `/codebuild/output/src220864713/src/aws-serverless-airline-booking'
                                 make deploy.loyalty
2020-11-01T00:38:30.151Z [INFO]: make[1]: Entering directory `/codebuild/output/src220864713/src/aws-serverless-airline-booking'
                                 make -C src/backend/loyalty deploy
2020-11-01T00:38:30.152Z [INFO]: [*] Packaging and deploying Loyalty service...
2020-11-01T00:38:30.152Z [INFO]: make[2]: Entering directory `/codebuild/output/src220864713/src/aws-serverless-airline-booking/src/backend/loyalty'
                                 npm install && \
                                 npm run build && \
                                 sam package \
                                 --s3-bucket ${DEPLOYMENT_BUCKET_NAME} \
                                 --output-template-file packaged.yaml && \
                                 sam deploy \
                                 --template-file packaged.yaml \
                                 --stack-name ${STACK_NAME}-loyalty-${AWS_BRANCH} \
                                 --capabilities CAPABILITY_IAM \
                                 --parameter-overrides \
                                 BookingSNSTopic=/${AWS_BRANCH}/service/booking/messaging/bookingTopic \
                                 Stage=${AWS_BRANCH} \
                                 AppsyncApiId=${GRAPHQL_API_ID}
2020-11-01T00:38:38.694Z [WARNING]: npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.13 (node_modules/watchpack-chokidar2/node_modules/fsevents):
2020-11-01T00:38:38.696Z [WARNING]: npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.13: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
                                    npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.1.2 (node_modules/fsevents):
                                    npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.1.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
2020-11-01T00:38:38.698Z [INFO]: added 819 packages from 906 contributors and audited 825 packages in 8.197s
                                 found 1 low severity vulnerability
                                 run `npm audit fix` to fix them, or `npm audit` for details
2020-11-01T00:38:38.888Z [INFO]: > loyalty@1.0.0 build /codebuild/output/src220864713/src/aws-serverless-airline-booking/src/backend/loyalty
                                 > NODE_ENV=prod webpack --mode=production
2020-11-01T00:38:51.911Z [INFO]: Hash: a63e7068528f9ffb3f1b
                                 Version: webpack 4.44.1
                                 Time: 12358ms
                                 Built at: 11/01/2020 12:38:51 AM
                                 Asset      Size  Chunks                   Chunk Names
                                 get/index.js   470 KiB       0  [emitted]        get
                                 get/index.js.map  1.57 MiB       0  [emitted] [dev]  get
                                 ingest/index.js   470 KiB       1  [emitted]        ingest
                                 ingest/index.js.map  1.57 MiB       1  [emitted] [dev]  ingest
                                 Entrypoint get = get/index.js get/index.js.map
                                 Entrypoint ingest = ingest/index.js ingest/index.js.map
                                 [4] external "util" 42 bytes {0} {1} [built]
                                 [5] external "fs" 42 bytes {0} {1} [built]
                                 [7] external "stream" 42 bytes {0} {1} [built]
                                 [9] external "crypto" 42 bytes {0} {1} [built]
                                 [15] external "http" 42 bytes {0} {1} [built]
                                 [16] external "os" 42 bytes {0} {1} [built]
                                 [57] (webpack)/buildin/module.js 497 bytes {0} {1} [built]
                                 [85] external "url" 42 bytes {0} {1} [built]
                                 [188] external "buffer" 42 bytes {0} {1} [built]
                                 [189] external "domain" 42 bytes {0} {1} [built]
                                 [190] external "querystring" 42 bytes {0} {1} [built]
                                 [260] ./src/get/index.ts 3.22 KiB {0} [built]
                                 [261] ./src/get/lib/document_client.ts 471 bytes {0} [built]
                                 [262] ./src/ingest/index.ts 2.49 KiB {1} [built]
                                 [263] ./src/ingest/lib/document_client.ts 386 bytes {1} [built]
                                 + 253 hidden modules
                                 WARNING in ./node_modules/colors/lib/colors.js 127:29-43
                                 Critical dependency: the request of a dependency is an expression
                                 @ ./node_modules/colors/safe.js
                                 @ ./node_modules/winston/lib/winston/config.js
                                 @ ./node_modules/winston/lib/winston.js
                                 @ ./node_modules/aws-xray-sdk-core/lib/logger.js
                                 @ ./node_modules/aws-xray-sdk-core/lib/aws-xray.js
                                 @ ./node_modules/aws-xray-sdk-core/lib/index.js
                                 @ ./src/get/lib/document_client.ts
                                 @ ./src/get/index.ts
2020-11-01T00:38:53.413Z [WARNING]: Uploading to 0ce651a9b8a26f34e0203f1bfb3fc7da  262144 / 556801.0  (47.08%)
2020-11-01T00:38:53.416Z [WARNING]: Uploading to 0ce651a9b8a26f34e0203f1bfb3fc7da  524288 / 556801.0  (94.16%)
2020-11-01T00:38:53.481Z [WARNING]: Uploading to 0ce651a9b8a26f34e0203f1bfb3fc7da  556801 / 556801.0  (100.00%)
2020-11-01T00:38:53.604Z [WARNING]: Uploading to f023bb81f658176c8e79c407cc247dfe  262144 / 555235.0  (47.21%)
2020-11-01T00:38:53.606Z [WARNING]: Uploading to f023bb81f658176c8e79c407cc247dfe  524288 / 555235.0  (94.43%)
2020-11-01T00:38:53.694Z [WARNING]: Uploading to f023bb81f658176c8e79c407cc247dfe  555235 / 555235.0  (100.00%)
2020-11-01T00:38:53.713Z [INFO]: Successfully packaged artifacts and wrote output template to file packaged.yaml.
                                 Execute the following command to deploy the packaged template
                                 sam deploy --template-file /codebuild/output/src220864713/src/aws-serverless-airline-booking/src/backend/loyalty/packaged.yaml --stack-name <YOUR STACK NAME>
2020-11-01T00:38:54.178Z [WARNING]: 
2020-11-01T00:38:54.810Z [INFO]: Deploying with following values
                                 ===============================
                                 Stack name                 : amplify-awsserverlessairline-devk-02844-loyalty-develop
2020-11-01T00:38:54.810Z [INFO]: Region                     : None
                                 Confirm changeset          : False
                                 Deployment s3 bucket       : None
                                 Capabilities               : ["CAPABILITY_IAM"]
                                 Parameter overrides        : {'BookingSNSTopic': '/develop/service/booking/messaging/bookingTopic', 'Stage': 'develop', 'AppsyncApiId': 'yuyvqja3drc35obwis4tfzxsqm'}
                                 Initiating deployment
                                 =====================
2020-11-01T00:38:55.117Z [INFO]: Waiting for changeset to be created..
2020-11-01T00:39:05.290Z [INFO]: CloudFormation stack changeset
                                 -------------------------------------------------------------------------------------------------
                                 Operation                LogicalResourceId        ResourceType             Replacement
                                 -------------------------------------------------------------------------------------------------
2020-11-01T00:39:05.347Z [INFO]: + Add                    AppsyncLoyaltyApiDataS   AWS::AppSync::DataSour   N/A
2020-11-01T00:39:05.347Z [INFO]: ource                    ce
                                 + Add                    AppsyncLoyaltyRestApiI   AWS::IAM::Role           N/A
                                 amRole
                                 + Add                    GetFuncApiPermissionPr   AWS::Lambda::Permissio   N/A
                                 od                       n
                                 + Add                    GetFuncRole              AWS::IAM::Role           N/A
                                 + Add                    GetFunc                  AWS::Lambda::Function    N/A
                                 + Add                    GetLogGroup              AWS::Logs::LogGroup      N/A
2020-11-01T00:39:05.348Z [INFO]: + Add                    GetLoyaltyQueryResolve   AWS::AppSync::Resolver   N/A
                                 r
                                 + Add                    IngestFuncListenerPerm   AWS::Lambda::Permissio   N/A
                                 ission                   n
                                 + Add                    IngestFuncListener       AWS::SNS::Subscription   N/A
2020-11-01T00:39:05.348Z [INFO]: + Add                    IngestFuncRole           AWS::IAM::Role           N/A
                                 + Add                    IngestFunc               AWS::Lambda::Function    N/A
                                 + Add                    IngestLogGroup           AWS::Logs::LogGroup      N/A
                                 + Add                    LoyaltyApiDeployment9a   AWS::ApiGateway::Deplo   N/A
2020-11-01T00:39:05.348Z [INFO]: 29f0a1a2                 yment
                                 + Add                    LoyaltyApiLogGroup       AWS::Logs::LogGroup      N/A
                                 + Add                    LoyaltyApiProdStage      AWS::ApiGateway::Stage   N/A
                                 + Add                    LoyaltyApi               AWS::ApiGateway::RestA   N/A
2020-11-01T00:39:05.348Z [INFO]: pi
                                 + Add                    LoyaltyDataTable         AWS::DynamoDB::Table     N/A
                                 + Add                    LoyaltyEndpointParamet   AWS::SSM::Parameter      N/A
                                 er
                                 -------------------------------------------------------------------------------------------------
2020-11-01T00:39:05.348Z [INFO]: Changeset created successfully. arn:aws:cloudformation:eu-west-1:289776928362:changeSet/samcli-deploy1604191134/5b7da80f-58cc-4f0f-beb5-1041211bd78d
2020-11-01T00:39:05.461Z [INFO]: 2020-11-01 00:39:05 - Waiting for stack create/update to complete
2020-11-01T00:39:05.496Z [INFO]: CloudFormation events from changeset
2020-11-01T00:39:05.497Z [INFO]: -------------------------------------------------------------------------------------------------
                                 ResourceStatus           ResourceType             LogicalResourceId        ResourceStatusReason
                                 -------------------------------------------------------------------------------------------------
2020-11-01T00:39:10.663Z [INFO]: CREATE_IN_PROGRESS       AWS::DynamoDB::Table     LoyaltyDataTable         -
2020-11-01T00:39:11.235Z [INFO]: CREATE_IN_PROGRESS       AWS::DynamoDB::Table     LoyaltyDataTable         Resource creation
                                 Initiated
2020-11-01T00:39:41.582Z [INFO]: CREATE_COMPLETE          AWS::DynamoDB::Table     LoyaltyDataTable         -
2020-11-01T00:39:43.313Z [INFO]: CREATE_IN_PROGRESS       AWS::IAM::Role           GetFuncRole              Resource creation
                                 Initiated
2020-11-01T00:39:43.314Z [INFO]: CREATE_IN_PROGRESS       AWS::IAM::Role           IngestFuncRole           -
                                 CREATE_IN_PROGRESS       AWS::IAM::Role           GetFuncRole              -
2020-11-01T00:39:43.890Z [INFO]: CREATE_IN_PROGRESS       AWS::IAM::Role           IngestFuncRole           Resource creation
2020-11-01T00:39:43.890Z [INFO]: Initiated
2020-11-01T00:39:58.359Z [INFO]: CREATE_COMPLETE          AWS::IAM::Role           GetFuncRole              -
2020-11-01T00:40:00.100Z [INFO]: CREATE_COMPLETE          AWS::IAM::Role           IngestFuncRole           -
2020-11-01T00:40:00.679Z [INFO]: CREATE_IN_PROGRESS       AWS::Lambda::Function    GetFunc                  -
2020-11-01T00:40:01.936Z [INFO]: CREATE_IN_PROGRESS       AWS::Lambda::Function    IngestFunc               -
2020-11-01T00:40:01.938Z [INFO]: CREATE_IN_PROGRESS       AWS::Lambda::Function    GetFunc                  Resource creation
                                 Initiated
2020-11-01T00:40:03.214Z [INFO]: CREATE_COMPLETE          AWS::Lambda::Function    GetFunc                  -
2020-11-01T00:40:03.214Z [INFO]: CREATE_IN_PROGRESS       AWS::Lambda::Function    IngestFunc               Resource creation
                                 Initiated
2020-11-01T00:40:04.459Z [INFO]: CREATE_COMPLETE          AWS::Lambda::Function    IngestFunc               -
2020-11-01T00:40:06.799Z [INFO]: CREATE_IN_PROGRESS       AWS::Lambda::Permissio   IngestFuncListenerPerm   Resource creation
                                 n                        ission                   Initiated
2020-11-01T00:40:06.800Z [INFO]: CREATE_IN_PROGRESS       AWS::Lambda::Permissio   IngestFuncListenerPerm   -
                                 n                        ission
                                 CREATE_IN_PROGRESS       AWS::SNS::Subscription   IngestFuncListener       -
                                 CREATE_IN_PROGRESS       AWS::ApiGateway::RestA   LoyaltyApi               -
                                 pi
                                 CREATE_IN_PROGRESS       AWS::Logs::LogGroup      IngestLogGroup           -
2020-11-01T00:40:07.406Z [INFO]: CREATE_COMPLETE          AWS::SNS::Subscription   IngestFuncListener       -
2020-11-01T00:40:07.406Z [INFO]: CREATE_IN_PROGRESS       AWS::SNS::Subscription   IngestFuncListener       Resource creation
                                 Initiated
                                 CREATE_IN_PROGRESS       AWS::Logs::LogGroup      GetLogGroup              -
                                 CREATE_IN_PROGRESS       AWS::ApiGateway::RestA   LoyaltyApi               Resource creation
                                 pi                                                Initiated
2020-11-01T00:40:07.992Z [INFO]: CREATE_COMPLETE          AWS::ApiGateway::RestA   LoyaltyApi               -
2020-11-01T00:40:07.992Z [INFO]: pi
2020-11-01T00:40:09.163Z [INFO]: CREATE_IN_PROGRESS       AWS::Logs::LogGroup      IngestLogGroup           Resource creation
                                 Initiated
2020-11-01T00:40:09.164Z [INFO]: CREATE_IN_PROGRESS       AWS::Logs::LogGroup      GetLogGroup              Resource creation
                                 Initiated
2020-11-01T00:40:09.754Z [INFO]: CREATE_IN_PROGRESS       AWS::IAM::Role           AppsyncLoyaltyRestApiI   Resource creation
                                 amRole                   Initiated
2020-11-01T00:40:09.754Z [INFO]: CREATE_IN_PROGRESS       AWS::Lambda::Permissio   GetFuncApiPermissionPr   Resource creation
                                 n                        od                       Initiated
                                 CREATE_IN_PROGRESS       AWS::SSM::Parameter      LoyaltyEndpointParamet   -
                                 er
                                 CREATE_COMPLETE          AWS::Logs::LogGroup      IngestLogGroup           -
                                 CREATE_COMPLETE          AWS::Logs::LogGroup      GetLogGroup              -
                                 CREATE_IN_PROGRESS       AWS::Logs::LogGroup      LoyaltyApiLogGroup       -
                                 CREATE_IN_PROGRESS       AWS::ApiGateway::Deplo   LoyaltyApiDeployment9a   -
                                 yment                    29f0a1a2
2020-11-01T00:40:09.755Z [INFO]: CREATE_IN_PROGRESS       AWS::IAM::Role           AppsyncLoyaltyRestApiI   -
                                 amRole
                                 CREATE_IN_PROGRESS       AWS::Lambda::Permissio   GetFuncApiPermissionPr   -
                                 n                        od
2020-11-01T00:40:10.347Z [INFO]: CREATE_COMPLETE          AWS::ApiGateway::Deplo   LoyaltyApiDeployment9a   -
2020-11-01T00:40:10.349Z [INFO]: yment                    29f0a1a2
                                 CREATE_IN_PROGRESS       AWS::ApiGateway::Deplo   LoyaltyApiDeployment9a   Resource creation
                                 yment                    29f0a1a2                 Initiated
2020-11-01T00:40:11.532Z [INFO]: CREATE_COMPLETE          AWS::Logs::LogGroup      LoyaltyApiLogGroup       -
2020-11-01T00:40:11.532Z [INFO]: CREATE_IN_PROGRESS       AWS::Logs::LogGroup      LoyaltyApiLogGroup       Resource creation
                                 Initiated
                                 CREATE_IN_PROGRESS       AWS::SSM::Parameter      LoyaltyEndpointParamet   Resource creation
                                 er                       Initiated
2020-11-01T00:40:12.122Z [INFO]: CREATE_IN_PROGRESS       AWS::ApiGateway::Stage   LoyaltyApiProdStage      -
2020-11-01T00:40:12.122Z [INFO]: CREATE_COMPLETE          AWS::SSM::Parameter      LoyaltyEndpointParamet   -
                                 er
2020-11-01T00:40:12.716Z [INFO]: CREATE_IN_PROGRESS       AWS::ApiGateway::Stage   LoyaltyApiProdStage      Resource creation
                                 Initiated
2020-11-01T00:40:13.912Z [INFO]: CREATE_FAILED            AWS::IAM::Role           AppsyncLoyaltyRestApiI   Resource creation
                                 amRole                   cancelled
2020-11-01T00:40:13.914Z [INFO]: CREATE_FAILED            AWS::Lambda::Permissio   GetFuncApiPermissionPr   Resource creation
                                 n                        od                       cancelled
                                 CREATE_FAILED            AWS::Lambda::Permissio   IngestFuncListenerPerm   Resource creation
                                 n                        ission                   cancelled
                                 CREATE_FAILED            AWS::ApiGateway::Stage   LoyaltyApiProdStage      CloudWatch Logs role
                                 ARN must be set in
                                 account settings to
                                 enable logging
                                 (Service:
                                 AmazonApiGateway;
                                 Status Code: 400;
                                 Error Code:
                                 BadRequestException;
                                 Request ID: 9c82d5e2-a
                                 3ce-41d3-9895-9bbed793
                                 8580; Proxy: null)
2020-11-01T00:40:15.113Z [INFO]: ROLLBACK_IN_PROGRESS     AWS::CloudFormation::S   amplify-                 The following
                                 tack                     awsserverlessairline-    resource(s) failed to
                                 devk-02844-loyalty-      create: [IngestFuncLis
                                 develop                  tenerPermission,
                                 LoyaltyApiProdStage, A
2020-11-01T00:40:15.113Z [INFO]: ppsyncLoyaltyRestApiIa
                                 mRole, GetFuncApiPermi
                                 ssionProd]. . Rollback
                                 requested by user.
2020-11-01T00:40:35.478Z [INFO]: DELETE_IN_PROGRESS       AWS::Logs::LogGroup      IngestLogGroup           -
2020-11-01T00:40:35.480Z [INFO]: DELETE_IN_PROGRESS       AWS::SNS::Subscription   IngestFuncListener       -
                                 DELETE_IN_PROGRESS       AWS::ApiGateway::Stage   LoyaltyApiProdStage      -
                                 DELETE_IN_PROGRESS       AWS::Logs::LogGroup      LoyaltyApiLogGroup       -
                                 DELETE_IN_PROGRESS       AWS::SSM::Parameter      LoyaltyEndpointParamet   -
                                 er
                                 DELETE_IN_PROGRESS       AWS::IAM::Role           AppsyncLoyaltyRestApiI   -
                                 amRole
                                 DELETE_IN_PROGRESS       AWS::Lambda::Permissio   GetFuncApiPermissionPr   -
                                 n                        od
                                 DELETE_IN_PROGRESS       AWS::Lambda::Permissio   IngestFuncListenerPerm   -
                                 n                        ission
                                 DELETE_IN_PROGRESS       AWS::Logs::LogGroup      GetLogGroup              -
2020-11-01T00:40:36.085Z [INFO]: DELETE_COMPLETE          AWS::ApiGateway::Stage   LoyaltyApiProdStage      -
2020-11-01T00:40:36.086Z [INFO]: DELETE_COMPLETE          AWS::SNS::Subscription   IngestFuncListener       -
2020-11-01T00:40:36.693Z [INFO]: DELETE_IN_PROGRESS       AWS::ApiGateway::Deplo   LoyaltyApiDeployment9a   -
                                 yment                    29f0a1a2
2020-11-01T00:40:36.693Z [INFO]: DELETE_COMPLETE          AWS::Logs::LogGroup      GetLogGroup              -
                                 DELETE_COMPLETE          AWS::Logs::LogGroup      LoyaltyApiLogGroup       -
2020-11-01T00:40:37.289Z [INFO]: DELETE_COMPLETE          AWS::ApiGateway::Deplo   LoyaltyApiDeployment9a   -
                                 yment                    29f0a1a2
2020-11-01T00:40:37.290Z [INFO]: DELETE_COMPLETE          AWS::IAM::Role           AppsyncLoyaltyRestApiI   -
                                 amRole
                                 DELETE_COMPLETE          AWS::SSM::Parameter      LoyaltyEndpointParamet   -
                                 er
                                 DELETE_COMPLETE          AWS::Logs::LogGroup      IngestLogGroup           -
2020-11-01T00:40:45.669Z [INFO]: DELETE_COMPLETE          AWS::Lambda::Permissio   IngestFuncListenerPerm   -
                                 n                        ission
2020-11-01T00:40:45.671Z [INFO]: DELETE_COMPLETE          AWS::Lambda::Permissio   GetFuncApiPermissionPr   -
                                 n                        od
2020-11-01T00:40:46.268Z [INFO]: DELETE_IN_PROGRESS       AWS::Lambda::Function    IngestFunc               -
2020-11-01T00:40:46.268Z [INFO]: DELETE_IN_PROGRESS       AWS::ApiGateway::RestA   LoyaltyApi               -
                                 pi
2020-11-01T00:40:46.872Z [INFO]: DELETE_COMPLETE          AWS::ApiGateway::RestA   LoyaltyApi               -
2020-11-01T00:40:46.873Z [INFO]: pi
2020-11-01T00:40:47.470Z [INFO]: DELETE_IN_PROGRESS       AWS::Lambda::Function    GetFunc                  -
2020-11-01T00:40:47.470Z [INFO]: DELETE_COMPLETE          AWS::Lambda::Function    IngestFunc               -
2020-11-01T00:40:48.068Z [INFO]: DELETE_COMPLETE          AWS::Lambda::Function    GetFunc                  -
2020-11-01T00:40:48.069Z [INFO]: DELETE_IN_PROGRESS       AWS::IAM::Role           IngestFuncRole           -
2020-11-01T00:40:48.666Z [INFO]: DELETE_IN_PROGRESS       AWS::IAM::Role           GetFuncRole              -
2020-11-01T00:40:50.475Z [INFO]: DELETE_COMPLETE          AWS::IAM::Role           GetFuncRole              -
2020-11-01T00:40:50.477Z [INFO]: DELETE_COMPLETE          AWS::IAM::Role           IngestFuncRole           -
2020-11-01T00:40:51.677Z [INFO]: DELETE_IN_PROGRESS       AWS::DynamoDB::Table     LoyaltyDataTable         -
2020-11-01T00:41:22.444Z [INFO]: DELETE_COMPLETE          AWS::DynamoDB::Table     LoyaltyDataTable         -
2020-11-01T00:41:23.050Z [INFO]: ROLLBACK_COMPLETE        AWS::CloudFormation::S   amplify-                 -
                                 tack                     awsserverlessairline-
                                 devk-02844-loyalty-
                                 develop
2020-11-01T00:41:23.050Z [INFO]: -------------------------------------------------------------------------------------------------
2020-11-01T00:41:23.578Z [WARNING]: Error: Failed to create/update the stack: amplify-awsserverlessairline-devk-02844-loyalty-develop, Waiter StackCreateComplete failed: Waiter encountered a terminal failure state
2020-11-01T00:41:23.642Z [WARNING]: make[2]: *** [deploy] Error 1
2020-11-01T00:41:23.642Z [WARNING]: make[1]: *** [deploy.loyalty] Error 2
                                    make: *** [deploy] Error 2
2020-11-01T00:41:23.642Z [INFO]: make[2]: Leaving directory `/codebuild/output/src220864713/src/aws-serverless-airline-booking/src/backend/loyalty'
                                 make[1]: Leaving directory `/codebuild/output/src220864713/src/aws-serverless-airline-booking'
2020-11-01T00:41:23.643Z [ERROR]: !!! Build failed
2020-11-01T00:41:23.643Z [ERROR]: !!! Non-Zero Exit Code detected
2020-11-01T00:41:23.643Z [INFO]: # Starting environment caching...
2020-11-01T00:41:23.644Z [INFO]: # Uploading environment cache artifact...
2020-11-01T00:41:23.710Z [INFO]: # Environment caching completed
Terminating logging...

This was on a new AWS account.

cloudreserve commented 3 years ago

I'm getting the exact same error. My AWS account was just created yesterday. I've deleted the app at least 8 times, same result.

n10000k commented 3 years ago

Looks like the role that was merged in is not affecting, You need to uncomment these: https://github.com/aws-samples/aws-serverless-airline-booking/pull/130/commits/3d72208aa93d4e890edfe941ce5052531cd084f6

Needs to be updated on the deployment docs I believe.

heitorlessa commented 3 years ago

That's right @uncodable @cloudreserve - we recently merged that fix for new deployments in disabling Loyalty API Gateway Access Logs altogether (cost reasons too).

That commit shows the comment in the template with instructions - I'll update the docs this week, and apologies for the pain causes so far


Why does this happen?

API Gateway needs an IAM Role with permission to write its logs to CloudWatch. Loyalty service had Logs enabled but not IAM Role attached to the API.

There can only be one IAM Role for API Gateway to write logs to CloudWatch, and it is shared across all APIs within your AWS Account and region - Its not per API as one might have thought.

We had it disabled because a customer typically has an IAM Role for their API Gateway created from the Console, however for fresh new accounts that's not the case - It's now a docs issue.

If we had left it enabled it with an IAM Role to be created for fresh new accounts, it will override what existing AWS Accounts already have. We could've created a Custom Resource to only attach an IAM Role if there wasn't one, but that also comes with its operations trade offs.

For this reason, we disabled it entirely, since Logs ingestion & Storage also cost - what we need to do now is to document it under both Loyalty docs and Deployment docs.

cloudreserve commented 3 years ago

For this reason, we disabled it entirely, since Logs ingestion & Storage also cost - what we need to do now is to document it under both Loyalty docs and Deployment docs.

Thanks @ heitorlessa. So do I need to add a CloudWatch rule in order for it to work? Should I just wait for another release?

heitorlessa commented 3 years ago

If you sync your fork with the develop branch, then your next deployment will work.

If you can’t do that, then uncomment the IAM Role for it to be created + uncomment the API GW part that references that IAM Role.

If you’re having troubles getting that in the right order, feel free to either share your fork URL here or DM me on Twitter (@heitor_lessa@) and I’ll gladly help you out

On Sun, 1 Nov 2020 at 19:29, cloudreserve notifications@github.com wrote:

For this reason, we disabled it entirely, since Logs ingestion & Storage also cost - what we need to do now is to document it under both Loyalty docs and Deployment docs.

Thanks @ heitorlessa. So do I need to add a CloudWatch rule in order for it to work? Should I just wait for another release?

— You are receiving this because you were mentioned.

Reply to this email directly, view it on GitHub https://github.com/aws-samples/aws-serverless-airline-booking/issues/128#issuecomment-720131768, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAZPQBBFM63ZN4RHPGOW2O3SNWSJ7ANCNFSM4RKV3UFQ .

cloudreserve commented 3 years ago

OK, I uncommented lines 131-154 in template.yaml. Now I'm getting the following error:

2020-11-02T00:03:17.878Z [WARNING]: Uploading to 8545125652432cadc4e0e37dc0b2d39f 6842257 / 8939409.0 (76.54%) 2020-11-02T00:03:17.879Z [WARNING]: Uploading to 8545125652432cadc4e0e37dc0b2d39f 7104401 / 8939409.0 (79.47%) 2020-11-02T00:03:17.880Z [WARNING]: Uploading to 8545125652432cadc4e0e37dc0b2d39f 7366545 / 8939409.0 (82.41%) 2020-11-02T00:03:17.881Z [WARNING]: Uploading to 8545125652432cadc4e0e37dc0b2d39f 7628689 / 8939409.0 (85.34%) 2020-11-02T00:03:17.881Z [WARNING]: Uploading to 8545125652432cadc4e0e37dc0b2d39f 7890833 / 8939409.0 (88.27%) 2020-11-02T00:03:17.882Z [WARNING]: Uploading to 8545125652432cadc4e0e37dc0b2d39f 8152977 / 8939409.0 (91.20%) 2020-11-02T00:03:17.883Z [WARNING]: Uploading to 8545125652432cadc4e0e37dc0b2d39f 8415121 / 8939409.0 (94.14%) 2020-11-02T00:03:17.883Z [WARNING]: Uploading to 8545125652432cadc4e0e37dc0b2d39f 8677265 / 8939409.0 (97.07%) 2020-11-02T00:03:17.884Z [WARNING]: Uploading to 8545125652432cadc4e0e37dc0b2d39f 8939409 / 8939409.0 (100.00%) 2020-11-02T00:03:18.080Z [INFO]: Successfully packaged artifacts and wrote output template to file packaged.yaml. Execute the following command to deploy the packaged template sam deploy --template-file /codebuild/output/src346149561/src/aws-serverless-airline-booking/src/backend/shared/libs/packaged.yaml --stack-name 2020-11-02T00:03:18.367Z [WARNING]: 2020-11-02T00:03:18.944Z [INFO]: Deploying with following values

                             Stack name                 : amplify-awsserverlessairline-devb-224542-shared-layers-develop
                             Region                     : None

2020-11-02T00:03:18.944Z [INFO]: Confirm changeset : False Deployment s3 bucket : None Capabilities : ["CAPABILITY_IAM"] Parameter overrides : {'Stage': 'develop'} Initiating deployment

2020-11-02T00:03:19.429Z [WARNING]: Error: Failed to create changeset for the stack: amplify-awsserverlessairline-devb-224542-shared-layers-develop, An error occurred (ValidationError) when calling the CreateChangeSet operation: Stack:arn:aws:cloudformation:us-east-1:120924323404:stack/amplify-awsserverlessairline-devb-224542-shared-layers-develop/cc25a9d0-1c94-11eb-8ed4-0a48dc861a07 is in ROLLBACK_COMPLETE state and can not be updated. 2020-11-02T00:03:19.498Z [WARNING]: make[2]: [deploy] Error 1 2020-11-02T00:03:19.498Z [WARNING]: make[1]: [deploy.shared-lambda-layers] Error 2 make: *** [deploy] Error 2 2020-11-02T00:03:19.498Z [INFO]: make[2]: Leaving directory /codebuild/output/src346149561/src/aws-serverless-airline-booking/src/backend/shared/libs' make[1]: Leaving directory/codebuild/output/src346149561/src/aws-serverless-airline-booking' 2020-11-02T00:03:19.499Z [ERROR]: !!! Build failed 2020-11-02T00:03:19.499Z [ERROR]: !!! Non-Zero Exit Code detected 2020-11-02T00:03:19.499Z [INFO]: # Starting environment caching... 2020-11-02T00:03:19.499Z [INFO]: # Uploading environment cache artifact... 2020-11-02T00:03:19.622Z [INFO]: # Environment caching completed Terminating logging...

heitorlessa commented 3 years ago

I’m gonna create a new fresh account and deploy it. If that works, I’ll look up your GitHub account and deploy from there

These logs don’t tell what’s the root cause because it’s in the CloudFormation Console

Stack:arn:aws:cloudformation:us-east-1:120924323404:stack/ amplify-awsserverlessairline-devb-224542-shared-layers- develop/cc25a9d0-1c94-11eb-8ed4-0a48dc861a07 is in ROLLBACK_COMPLETE state and can not be updated.

This log is telling us that it failed before and it cannot be retried.

I’ll revert today

On Mon, 2 Nov 2020 at 01:13, cloudreserve notifications@github.com wrote:

OK, I uncommented lines 131-154 in template.yaml. Now I'm getting the following error:

2020-11-02T00:03:17.878Z [WARNING]: Uploading to 8545125652432cadc4e0e37dc0b2d39f 6842257 / 8939409.0 (76.54%)

2020-11-02T00:03:17.879Z [WARNING]: Uploading to 8545125652432cadc4e0e37dc0b2d39f 7104401 / 8939409.0 (79.47%)

2020-11-02T00:03:17.880Z [WARNING]: Uploading to 8545125652432cadc4e0e37dc0b2d39f 7366545 / 8939409.0 (82.41%)

2020-11-02T00:03:17.881Z [WARNING]: Uploading to 8545125652432cadc4e0e37dc0b2d39f 7628689 / 8939409.0 (85.34%)

2020-11-02T00:03:17.881Z [WARNING]: Uploading to 8545125652432cadc4e0e37dc0b2d39f 7890833 / 8939409.0 (88.27%)

2020-11-02T00:03:17.882Z [WARNING]: Uploading to 8545125652432cadc4e0e37dc0b2d39f 8152977 / 8939409.0 (91.20%)

2020-11-02T00:03:17.883Z [WARNING]: Uploading to 8545125652432cadc4e0e37dc0b2d39f 8415121 / 8939409.0 (94.14%)

2020-11-02T00:03:17.883Z [WARNING]: Uploading to 8545125652432cadc4e0e37dc0b2d39f 8677265 / 8939409.0 (97.07%)

2020-11-02T00:03:17.884Z [WARNING]: Uploading to 8545125652432cadc4e0e37dc0b2d39f 8939409 / 8939409.0 (100.00%)

2020-11-02T00:03:18.080Z [INFO]: Successfully packaged artifacts and wrote output template to file packaged.yaml.

Execute the following command to deploy the packaged template

sam deploy --template-file /codebuild/output/src346149561/src/aws-serverless-airline-booking/src/backend/shared/libs/packaged.yaml --stack-name

2020-11-02T00:03:18.367Z [WARNING]:

2020-11-02T00:03:18.944Z [INFO]: Deploying with following values

===============================

Stack name : amplify-awsserverlessairline-devb-224542-shared-layers-develop

Region : None

2020-11-02T00:03:18.944Z [INFO]: Confirm changeset : False

Deployment s3 bucket : None

Capabilities : ["CAPABILITY_IAM"]

Parameter overrides : {'Stage': 'develop'}

Initiating deployment

=====================

2020-11-02T00:03:19.429Z [WARNING]: Error: Failed to create changeset for the stack: amplify-awsserverlessairline-devb-224542-shared-layers-develop, An error occurred (ValidationError) when calling the CreateChangeSet operation: Stack:arn:aws:cloudformation:us-east-1:120924323404:stack/amplify-awsserverlessairline-devb-224542-shared-layers-develop/cc25a9d0-1c94-11eb-8ed4-0a48dc861a07 is in ROLLBACK_COMPLETE state and can not be updated.

2020-11-02T00:03:19.498Z [WARNING]: make[2]: *** [deploy] Error 1

2020-11-02T00:03:19.498Z [WARNING]: make[1]: *** [deploy.shared-lambda-layers] Error 2

make: *** [deploy] Error 2

2020-11-02T00:03:19.498Z [INFO]: make[2]: Leaving directory /codebuild/output/src346149561/src/aws-serverless-airline-booking/src/backend/shared/libs' make[1]: Leaving directory /codebuild/output/src346149561/src/aws-serverless-airline-booking'

2020-11-02T00:03:19.499Z [ERROR]: !!! Build failed

2020-11-02T00:03:19.499Z [ERROR]: !!! Non-Zero Exit Code detected

2020-11-02T00:03:19.499Z [INFO]: # Starting environment caching...

2020-11-02T00:03:19.499Z [INFO]: # Uploading environment cache artifact...

2020-11-02T00:03:19.622Z [INFO]: # Environment caching completed

Terminating logging...

— You are receiving this because you were mentioned.

Reply to this email directly, view it on GitHub https://github.com/aws-samples/aws-serverless-airline-booking/issues/128#issuecomment-720175630, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAZPQBH7DALE4QHOQW2VIQDSNX2SXANCNFSM4RKV3UFQ .

heitorlessa commented 3 years ago

Okay, tested and it worked with a fresh new account and deployment - I did however find a typo in your fork which I'm sending a Pull Request that you can accept it.

At this point, the best you can do is the following to get this working quickly:

  1. Run amplify delete from the root of the project
  2. Go to AWS CloudFormation Console in your region, and delete all stacks whose names begin with amplify-awsserverlessairline-
  3. Delete the Serverless Airline app within AWS Amplify Console (in case option 1 doesn't)
  4. Accept my Pull Request to your repo (https://github.com/cloudreserve/aws-serverless-airline-booking/pull/1)
  5. Deploy again from your fork after 5-10m - Note: give it a few mins 5-10 before deploying again, as Amplify Console uses an aggressive cache to prevent overwhelming GitHub from what I experienced when debugging this
cloudreserve commented 3 years ago

Hi Heitor,

Again, thanks for your help, this is sorely needed. Did you send the pull request?

Jesse Turner Cybersecurity Applications Programmer AT&T Government Solutions SATX (901) 628-3190

From: Heitor Lessa notifications@github.com Sent: Monday, November 2, 2020 12:08 AM To: aws-samples/aws-serverless-airline-booking aws-serverless-airline-booking@noreply.github.com Cc: Turner, Jesse jt076e@att.com; Mention mention@noreply.github.com Subject: Re: [aws-samples/aws-serverless-airline-booking] Error in building on Amplify Console (#128)

Okay, tested and it worked with a fresh new account and deployment - I did however find a typo in your fork which I'm sending a Pull Request that you can accept it.

At this point, the best you can do is the following to get this working quickly:

  1. Run amplify delete from the root of the project
  2. Go to AWS CloudFormation Console in your region, and delete all stacks whose names begin with amplify-awsserverlessairline-
  3. Accept my Pull Request to your repo (will do just right after breakfast)
  4. Deploy again from your fork

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://urldefense.com/v3/__https:/github.com/aws-samples/aws-serverless-airline-booking/issues/128*issuecomment-720258202__;Iw!!BhdT!1cZ3wEiUBl62ktpfpuLaWvA6bgoBpGip6-BEmNyKbyCqqX3RsfWDRJNbxN9hew$, or unsubscribehttps://urldefense.com/v3/__https:/github.com/notifications/unsubscribe-auth/ARSCESNHLVXG2RSUFNC47A3SNZEDDANCNFSM4RKV3UFQ__;!!BhdT!1cZ3wEiUBl62ktpfpuLaWvA6bgoBpGip6-BEmNyKbyCqqX3RsfWDRJMifnt5KA$.

cloudreserve commented 3 years ago

@heitorlessa Works now like a charm, thanks for the help. Is there a way I can contact you through e-mail for a more confidential question?

heitorlessa commented 3 years ago

Great to hear it worked out!

I’m on PTO until Nov 16th but feel free to send an email - lessa@amazon.com

On Sat, 7 Nov 2020 at 16:02, cloudreserve notifications@github.com wrote:

@heitorlessa https://github.com/heitorlessa Works now like a charm, thanks for the help. Is there a way I can contact you through e-mail for a more confidential question?

— You are receiving this because you were mentioned.

Reply to this email directly, view it on GitHub https://github.com/aws-samples/aws-serverless-airline-booking/issues/128#issuecomment-723456534, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAZPQBCHEZSTHQNEISRQL7DSOVOPVANCNFSM4RKV3UFQ .