Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Continuous Build Fails with connectivity issues #13341

Closed
5 tasks done
Bryson14 opened this issue Oct 16, 2023 · 4 comments
Closed
5 tasks done

Continuous Build Fails with connectivity issues #13341

Bryson14 opened this issue Oct 16, 2023 · 4 comments
Labels
pending-response Issue is pending response from the issue author pending-triage Issue is pending triage transferred This issue was transferred from another Amplify project

Comments

@Bryson14
Copy link

Before opening, please confirm:

  • I have checked to see if my question is addressed in the FAQ.
  • I have searched for duplicate or closed issues.
  • I have read the guide for submitting bug reports.
  • I have done my best to include a minimal, self-contained set of instructions for consistently reproducing the issue.
  • I have removed any sensitive information from my code snippets and submission.

App Id

d3patqdt499898

AWS Region

us-east-1

Amplify Hosting feature

Backend environments

Frontend framework

React

Next.js version

N/A

Next.js router

N/A

Describe the bug

I have had issues building the backend of the Amplify website that has never failed before. Whenever I try to return the build, it fails with another error. Remember that I made no code changes and that every build is on the same git commit. I am just pressing the button redeploy this version to try building it again.

  1. Fails to connect to github
 gopkg.in/[email protected]: unrecognized import path "gopkg.in/yaml.v2": reading https://gopkg.in/yaml.v2?go-get=1: 502 Bad Gateway
                                    server response: Cannot obtain refs from GitHub: cannot talk to GitHub: Get https://github.com/go-yaml/yaml.git/info/refs?service=git-upload-pack: write tcp 10.131.9.20:52252->140.82.121.4:443: write: broken pipe
  1. failed to get D-Bus Operation
2023-10-16T18:48:03.393Z [INFO]: Installing : apr-1.7.2-1.amzn2.x86_64                                    1/16
2023-10-16T18:48:07.128Z [INFO]: 
                                 Installing : apr-util-1.6.3-1.amzn2.0.1.x86_64                           2/16
2023-10-16T18:48:07.155Z [INFO]: 
                                 Installing : apr-util-bdb-1.6.3-1.amzn2.0.1.x86_64                       3/16
2023-10-16T18:48:07.845Z [INFO]: 
                                 Installing : mercurial-2.6.2-10.amzn2.x86_64                             4/16
2023-10-16T18:48:07.875Z [INFO]: 
                                 Installing : pakchois-0.4-10.amzn2.0.2.x86_64                            5/16
2023-10-16T18:48:07.924Z [INFO]: 
                                 Installing : neon-0.30.0-3.amzn2.0.2.x86_64                              6/16
2023-10-16T18:48:08.037Z [INFO]: 
                                 Installing : subversion-libs-1.7.14-16.amzn2.0.1.x86_64                  7/16
2023-10-16T18:48:08.102Z [INFO]: 
                                 Updating   : systemd-libs-219-78.amzn2.0.22.x86_64                       8/16
2023-10-16T18:48:09.036Z [INFO]: 
                                 Updating   : systemd-219-78.amzn2.0.22.x86_64                            9/16
2023-10-16T18:48:10.062Z [INFO]: 
                                 Failed to get D-Bus connection: Operation not permitted
2023-10-16T18:48:10.076Z [INFO]: Installing : systemd-sysv-219-78.amzn2.0.22.x86_64                      10/16
2023-10-16T18:48:10.226Z [INFO]: 
                                 Installing : subversion-1.7.14-16.amzn2.0.1.x86_64                      11/16
  1. Failed to connect to github at another step
2023-10-16T16:37:24.781Z [WARNING]: go: github.com/jmespath/[email protected] requires
                                    github.com/jmespath/go-jmespath/internal/[email protected] requires
                                    gopkg.in/[email protected]: reading gopkg.in/yaml.v2/go.mod at revision v2.2.8: git ls-remote -q origin in /root/go_proj/pkg/mod/cache/vcs/748bced43cf7672b862fbc52430e98581510f4f2c34fb30c0064b7102a68ae2c: exit status 128:
                                    remote: Cannot obtain refs from GitHub: cannot talk to GitHub: Get https://github.com/go-yaml/yaml.git/info/refs?service=git-upload-pack: write tcp 10.131.9.20:52252->140.82.121.4:443: write: broken pipe
                                    fatal: unable to access 'https://gopkg.in/yaml.v2/': The requested URL returned error: 502
2023-10-16T16:37:24.783Z [WARNING]: ✖ There was an error initializing your environment.

Expected behavior

This is a successful build from just a couple days ago:

                                 # Starting phase: preBuild
                                 # Executing command: yum install golang -y
2023-10-13T15:46:40.142Z [INFO]: Loaded plugins: ovl, priorities
2023-10-13T15:47:08.231Z [INFO]: Resolving Dependencies
2023-10-13T15:47:08.237Z [INFO]: --> Running transaction check
                                 ---> Package golang.x86_64 0:1.20.7-1.amzn2.0.1 will be installed
                                 --> Processing Dependency: golang-src = 1.20.7-1.amzn2.0.1 for package: golang-1.20.7-1.amzn2.0.1.x86_64
2023-10-13T15:47:08.357Z [INFO]: --> Processing Dependency: golang-bin = 1.20.7-1.amzn2.0.1 for package: golang-1.20.7-1.amzn2.0.1.x86_64
2023-10-13T15:47:08.360Z [INFO]: --> Running transaction check
2023-10-13T15:47:08.360Z [INFO]: ---> Package golang-bin.x86_64 0:1.20.7-1.amzn2.0.1 will be installed
2023-10-13T15:47:08.364Z [INFO]: --> Processing Dependency: mercurial for package: golang-bin-1.20.7-1.amzn2.0.1.x86_64
2023-10-13T15:47:08.366Z [INFO]: --> Processing Dependency: subversion for package: golang-bin-1.20.7-1.amzn2.0.1.x86_64
2023-10-13T15:47:08.369Z [INFO]: ---> Package golang-src.noarch 0:1.20.7-1.amzn2.0.1 will be installed
2023-10-13T15:47:08.369Z [INFO]: --> Running transaction check
                                 ---> Package mercurial.x86_64 0:2.6.2-10.amzn2 will be installed
2023-10-13T15:47:08.402Z [INFO]: ---> Package subversion.x86_64 0:1.7.14-16.amzn2.0.1 will be installed
2023-10-13T15:47:08.408Z [INFO]: --> Processing Dependency: subversion-libs(x86-64) = 1.7.14-16.amzn2.0.1 for package: subversion-1.7.14-16.amzn2.0.1.x86_64
2023-10-13T15:47:08.410Z [INFO]: --> Processing Dependency: systemd-sysv for package: subversion-1.7.14-16.amzn2.0.1.x86_64
2023-10-13T15:47:08.417Z [INFO]: --> Processing Dependency: libsvn_wc-1.so.0()(64bit) for package: subversion-1.7.14-16.amzn2.0.1.x86_64
2023-10-13T15:47:08.418Z [INFO]: --> Processing Dependency: libsvn_subr-1.so.0()(64bit) for package: subversion-1.7.14-16.amzn2.0.1.x86_64
2023-10-13T15:47:08.418Z [INFO]: --> Processing Dependency: libsvn_repos-1.so.0()(64bit) for package: subversion-1.7.14-16.amzn2.0.1.x86_64
                                 --> Processing Dependency: libsvn_ra_svn-1.so.0()(64bit) for package: subversion-1.7.14-16.amzn2.0.1.x86_64
                                 --> Processing Dependency: libsvn_ra_neon-1.so.0()(64bit) for package: subversion-1.7.14-16.amzn2.0.1.x86_64
                                 --> Processing Dependency: libsvn_ra_local-1.so.0()(64bit) for package: subversion-1.7.14-16.amzn2.0.1.x86_64
2023-10-13T15:47:08.419Z [INFO]: --> Processing Dependency: libsvn_ra-1.so.0()(64bit) for package: subversion-1.7.14-16.amzn2.0.1.x86_64
                                 --> Processing Dependency: libsvn_fs_util-1.so.0()(64bit) for package: subversion-1.7.14-16.amzn2.0.1.x86_64
                                 --> Processing Dependency: libsvn_fs_fs-1.so.0()(64bit) for package: subversion-1.7.14-16.amzn2.0.1.x86_64
                                 --> Processing Dependency: libsvn_fs_base-1.so.0()(64bit) for package: subversion-1.7.14-16.amzn2.0.1.x86_64
2023-10-13T15:47:08.419Z [INFO]: --> Processing Dependency: libsvn_fs-1.so.0()(64bit) for package: subversion-1.7.14-16.amzn2.0.1.x86_64
                                 --> Processing Dependency: libsvn_diff-1.so.0()(64bit) for package: subversion-1.7.14-16.amzn2.0.1.x86_64
                                 --> Processing Dependency: libsvn_delta-1.so.0()(64bit) for package: subversion-1.7.14-16.amzn2.0.1.x86_64
                                 --> Processing Dependency: libsvn_client-1.so.0()(64bit) for package: subversion-1.7.14-16.amzn2.0.1.x86_64
2023-10-13T15:47:08.419Z [INFO]: --> Processing Dependency: libneon.so.27()(64bit) for package: subversion-1.7.14-16.amzn2.0.1.x86_64
2023-10-13T15:47:08.421Z [INFO]: --> Processing Dependency: libaprutil-1.so.0()(64bit) for package: subversion-1.7.14-16.amzn2.0.1.x86_64
2023-10-13T15:47:08.423Z [INFO]: --> Processing Dependency: libapr-1.so.0()(64bit) for package: subversion-1.7.14-16.amzn2.0.1.x86_64
2023-10-13T15:47:08.425Z [INFO]: --> Running transaction check
2023-10-13T15:47:08.425Z [INFO]: ---> Package apr.x86_64 0:1.7.2-1.amzn2 will be installed
2023-10-13T15:47:08.427Z [INFO]: ---> Package apr-util.x86_64 0:1.6.3-1.amzn2.0.1 will be installed
2023-10-13T15:47:08.428Z [INFO]: --> Processing Dependency: apr-util-bdb(x86-64) = 1.6.3-1.amzn2.0.1 for package: apr-util-1.6.3-1.amzn2.0.1.x86_64
2023-10-13T15:47:08.429Z [INFO]: ---> Package neon.x86_64 0:0.30.0-3.amzn2.0.2 will be installed
2023-10-13T15:47:08.433Z [INFO]: --> Processing Dependency: libpakchois.so.0()(64bit) for package: neon-0.30.0-3.amzn2.0.2.x86_64
2023-10-13T15:47:08.434Z [INFO]: ---> Package subversion-libs.x86_64 0:1.7.14-16.amzn2.0.1 will be installed
2023-10-13T15:47:08.435Z [INFO]: ---> Package systemd-sysv.x86_64 0:219-78.amzn2.0.22 will be installed
2023-10-13T15:47:08.436Z [INFO]: --> Processing Dependency: systemd = 219-78.amzn2.0.22 for package: systemd-sysv-219-78.amzn2.0.22.x86_64
2023-10-13T15:47:08.547Z [INFO]: --> Running transaction check
2023-10-13T15:47:08.548Z [INFO]: ---> Package apr-util-bdb.x86_64 0:1.6.3-1.amzn2.0.1 will be installed
                                 ---> Package pakchois.x86_64 0:0.4-10.amzn2.0.2 will be installed
2023-10-13T15:47:08.548Z [INFO]: ---> Package systemd.x86_64 0:219-78.amzn2.0.21 will be updated
2023-10-13T15:47:08.551Z [INFO]: ---> Package systemd.x86_64 0:219-78.amzn2.0.22 will be an update
2023-10-13T15:47:08.884Z [INFO]: --> Processing Dependency: systemd-libs = 219-78.amzn2.0.22 for package: systemd-219-78.amzn2.0.22.x86_64
2023-10-13T15:47:08.963Z [INFO]: --> Running transaction check
2023-10-13T15:47:08.963Z [INFO]: ---> Package systemd-libs.x86_64 0:219-78.amzn2.0.21 will be updated
2023-10-13T15:47:08.964Z [INFO]: ---> Package systemd-libs.x86_64 0:219-78.amzn2.0.22 will be an update
2023-10-13T15:47:08.993Z [INFO]: --> Finished Dependency Resolution
2023-10-13T15:47:09.806Z [INFO]: Dependencies Resolved
2023-10-13T15:47:09.809Z [INFO]: ================================================================================
                                 Package             Arch       Version                    Repository      Size
                                 ================================================================================
                                 Installing:
                                 golang              x86_64     1.20.7-1.amzn2.0.1         amzn2-core     682 k
                                 Installing for dependencies:
                                 apr                 x86_64     1.7.2-1.amzn2              amzn2-core     130 k
                                 apr-util            x86_64     1.6.3-1.amzn2.0.1          amzn2-core     101 k
                                 apr-util-bdb        x86_64     1.6.3-1.amzn2.0.1          amzn2-core      22 k
                                 golang-bin          x86_64     1.20.7-1.amzn2.0.1         amzn2-core      65 M
                                 golang-src          noarch     1.20.7-1.amzn2.0.1         amzn2-core      12 M
                                 mercurial           x86_64     2.6.2-10.amzn2             amzn2-core     2.6 M
                                 neon                x86_64     0.30.0-3.amzn2.0.2         amzn2-core     166 k
                                 pakchois            x86_64     0.4-10.amzn2.0.2           amzn2-core      14 k
                                 subversion          x86_64     1.7.14-16.amzn2.0.1        amzn2-core     1.0 M
                                 subversion-libs     x86_64     1.7.14-16.amzn2.0.1        amzn2-core     912 k
                                 systemd-sysv        x86_64     219-78.amzn2.0.22          amzn2-core      98 k
                                 Updating for dependencies:
                                 systemd             x86_64     219-78.amzn2.0.22          amzn2-core     5.0 M
                                 systemd-libs        x86_64     219-78.amzn2.0.22          amzn2-core     409 k
                                 Transaction Summary
                                 ================================================================================
                                 Install  1 Package  (+11 Dependent packages)
                                 Upgrade             (  2 Dependent packages)
2023-10-13T15:47:09.809Z [INFO]: Total download size: 88 M
                                 Downloading packages:
2023-10-13T15:47:09.961Z [INFO]: Delta RPMs disabled because /usr/bin/applydeltarpm not installed.
2023-10-13T15:47:10.377Z [INFO]: --------------------------------------------------------------------------------
2023-10-13T15:47:10.377Z [INFO]: Total                                              211 MB/s |  88 MB  00:00
2023-10-13T15:47:10.404Z [INFO]: Running transaction check
2023-10-13T15:47:10.445Z [INFO]: Running transaction test
2023-10-13T15:47:23.528Z [INFO]: Transaction test succeeded
2023-10-13T15:47:23.530Z [INFO]: Running transaction
2023-10-13T15:47:23.776Z [INFO]: Installing : apr-1.7.2-1.amzn2.x86_64                                    1/16
2023-10-13T15:47:27.574Z [INFO]: 
                                 Installing : apr-util-1.6.3-1.amzn2.0.1.x86_64                           2/16
2023-10-13T15:47:27.604Z [INFO]: 
                                 Installing : apr-util-bdb-1.6.3-1.amzn2.0.1.x86_64                       3/16
2023-10-13T15:47:28.384Z [INFO]: 
                                 Installing : mercurial-2.6.2-10.amzn2.x86_64                             4/16
2023-10-13T15:47:28.418Z [INFO]: 
                                 Installing : pakchois-0.4-10.amzn2.0.2.x86_64                            5/16
2023-10-13T15:47:28.471Z [INFO]: 
                                 Installing : neon-0.30.0-3.amzn2.0.2.x86_64                              6/16
2023-10-13T15:47:28.596Z [INFO]: 
                                 Installing : subversion-libs-1.7.14-16.amzn2.0.1.x86_64                  7/16
2023-10-13T15:47:28.662Z [INFO]: 
                                 Updating   : systemd-libs-219-78.amzn2.0.22.x86_64                       8/16
2023-10-13T15:47:29.751Z [INFO]: 
                                 Updating   : systemd-219-78.amzn2.0.22.x86_64                            9/16
2023-10-13T15:47:30.957Z [INFO]: 
                                 Failed to get D-Bus connection: Operation not permitted
2023-10-13T15:47:30.973Z [INFO]: Installing : systemd-sysv-219-78.amzn2.0.22.x86_64                      10/16
2023-10-13T15:47:31.114Z [INFO]: 
                                 Installing : subversion-1.7.14-16.amzn2.0.1.x86_64                      11/16
2023-10-13T15:47:32.998Z [INFO]: 
                                 Installing : golang-src-1.20.7-1.amzn2.0.1.noarch                       12/16
2023-10-13T15:47:37.063Z [INFO]: 
                                 Installing : golang-bin-1.20.7-1.amzn2.0.1.x86_64                       13/16
2023-10-13T15:47:37.270Z [INFO]: 
                                 Installing : golang-1.20.7-1.amzn2.0.1.x86_64                           14/16
2023-10-13T15:47:37.301Z [INFO]: 
                                 Cleanup    : systemd-219-78.amzn2.0.21.x86_64                           15/16
2023-10-13T15:47:37.341Z [INFO]: 
                                 Cleanup    : systemd-libs-219-78.amzn2.0.21.x86_64                      16/16
2023-10-13T15:47:37.395Z [INFO]: 
                                 Verifying  : golang-1.20.7-1.amzn2.0.1.x86_64                            1/16
2023-10-13T15:47:37.408Z [INFO]: 
                                 Verifying  : subversion-libs-1.7.14-16.amzn2.0.1.x86_64                  2/16
2023-10-13T15:47:37.418Z [INFO]: 
                                 Verifying  : golang-src-1.20.7-1.amzn2.0.1.noarch                        3/16
2023-10-13T15:47:37.427Z [INFO]: 
                                 Verifying  : apr-util-bdb-1.6.3-1.amzn2.0.1.x86_64                       4/16
2023-10-13T15:47:37.436Z [INFO]: 
                                 Verifying  : neon-0.30.0-3.amzn2.0.2.x86_64                              5/16
2023-10-13T15:47:37.443Z [INFO]: 
                                 Verifying  : systemd-219-78.amzn2.0.22.x86_64                            6/16
2023-10-13T15:47:37.456Z [INFO]: 
                                 Verifying  : apr-1.7.2-1.amzn2.x86_64                                    7/16
2023-10-13T15:47:37.464Z [INFO]: 
                                 Verifying  : systemd-sysv-219-78.amzn2.0.22.x86_64                       8/16
2023-10-13T15:47:37.472Z [INFO]: 
                                 Verifying  : systemd-libs-219-78.amzn2.0.22.x86_64                       9/16
2023-10-13T15:47:37.480Z [INFO]: 
                                 Verifying  : apr-util-1.6.3-1.amzn2.0.1.x86_64                          10/16
2023-10-13T15:47:37.488Z [INFO]: 
                                 Verifying  : pakchois-0.4-10.amzn2.0.2.x86_64                           11/16
2023-10-13T15:47:37.498Z [INFO]: 
                                 Verifying  : golang-bin-1.20.7-1.amzn2.0.1.x86_64                       12/16
2023-10-13T15:47:37.506Z [INFO]: 
                                 Verifying  : mercurial-2.6.2-10.amzn2.x86_64                            13/16
2023-10-13T15:47:37.554Z [INFO]: 
                                 Verifying  : subversion-1.7.14-16.amzn2.0.1.x86_64                      14/16
2023-10-13T15:47:37.561Z [INFO]: 
                                 Verifying  : systemd-219-78.amzn2.0.21.x86_64                           15/16
2023-10-13T15:47:37.562Z [INFO]: 
                                 Verifying  : systemd-libs-219-78.amzn2.0.21.x86_64                      16/16
2023-10-13T15:47:37.603Z [INFO]: 
                                 Installed:
                                 golang.x86_64 0:1.20.7-1.amzn2.0.1
                                 Dependency Installed:
                                 apr.x86_64 0:1.7.2-1.amzn2
                                 apr-util.x86_64 0:1.6.3-1.amzn2.0.1
                                 apr-util-bdb.x86_64 0:1.6.3-1.amzn2.0.1
                                 golang-bin.x86_64 0:1.20.7-1.amzn2.0.1
                                 golang-src.noarch 0:1.20.7-1.amzn2.0.1
                                 mercurial.x86_64 0:2.6.2-10.amzn2
                                 neon.x86_64 0:0.30.0-3.amzn2.0.2
                                 pakchois.x86_64 0:0.4-10.amzn2.0.2
                                 subversion.x86_64 0:1.7.14-16.amzn2.0.1
                                 subversion-libs.x86_64 0:1.7.14-16.amzn2.0.1
                                 systemd-sysv.x86_64 0:219-78.amzn2.0.22
                                 Dependency Updated:
                                 systemd.x86_64 0:219-78.amzn2.0.22   systemd-libs.x86_64 0:219-78.amzn2.0.22
2023-10-13T15:47:37.603Z [INFO]: Complete!
2023-10-13T15:47:37.716Z [INFO]: # Executing command: mkdir ~/go_proj
2023-10-13T15:47:37.717Z [INFO]: # Executing command: export PATH=$PATH:/usr/local/go/bin
2023-10-13T15:47:37.717Z [INFO]: # Executing command: export GOPATH=$HOME/go_proj
                                 # Executing command: export GOBIN=$GOPATH/bin
                                 # Executing command: export CGO_ENABLED=0
                                 # Completed phase: preBuild
                                 # Starting phase: build
2023-10-13T15:47:39.970Z [INFO]: �[0mAmplify AppID found: d3patqdt499898. Amplify App name is: tmtAmplifyApp�[0m
2023-10-13T15:47:40.023Z [INFO]: �[0mBackend environment main found in Amplify Console app: tmtAmplifyApp�[0m
2023-10-13T15:47:43.881Z [WARNING]: - Fetching updates to backend environment: main from the cloud.
2023-10-13T15:47:46.597Z [WARNING]: - Building resource api/AdminQueries
2023-10-13T15:47:46.618Z [WARNING]: - Building resource api/notificationapi
2023-10-13T15:47:46.634Z [WARNING]: - Building resource api/tmtamplifyapp
2023-10-13T15:47:49.983Z [INFO]: ✅ GraphQL schema compiled successfully.
                                 Edit your schema at /codebuild/output/src1902984136/src/tmtamplifyapp/amplify/backend/api/tmtamplifyapp/schema.graphql or place .graphql files in a directory at /codebuild/output/src1902984136/src/tmtamplifyapp/amplify/backend/api/tmtamplifyapp/schema
2023-10-13T15:47:49.985Z [WARNING]: - Building resource auth/tmtAmplifyApp
2023-10-13T15:47:50.029Z [WARNING]: - Building resource storage/s3tmtamplifyappstoragec3cc73b4
2023-10-13T15:47:50.087Z [WARNING]: ✔ Successfully pulled backend environment main from the cloud.
2023-10-13T15:47:50.455Z [WARNING]: Browserslist: caniuse-lite is outdated. Please run:
                                    npx update-browserslist-db@latest
                                    Why you should do it regularly: https://github.com/browserslist/update-db#readme
2023-10-13T15:47:50.478Z [INFO]: ✅
2023-10-13T15:47:52.487Z [INFO]: �[33mNote: It is recommended to run this command from the root of your app directory�[39m
2023-10-13T15:47:53.265Z [WARNING]: - Initializing your environment: main
2023-10-13T15:47:55.519Z [WARNING]: - Building resource api/AdminQueries
2023-10-13T15:47:55.541Z [WARNING]: - Building resource api/notificationapi
2023-10-13T15:47:55.559Z [WARNING]: - Building resource api/tmtamplifyapp
2023-10-13T15:47:58.856Z [INFO]: ✅ GraphQL schema compiled successfully.
                                 Edit your schema at /codebuild/output/src1902984136/src/tmtamplifyapp/amplify/backend/api/tmtamplifyapp/schema.graphql or place .graphql files in a directory at /codebuild/output/src1902984136/src/tmtamplifyapp/amplify/backend/api/tmtamplifyapp/schema
2023-10-13T15:47:58.858Z [WARNING]: - Building resource auth/tmtAmplifyApp
2023-10-13T15:47:58.903Z [WARNING]: - Building resource storage/s3tmtamplifyappstoragec3cc73b4
2023-10-13T15:47:58.946Z [WARNING]: ✔ Initialized provider successfully.
2023-10-13T15:48:02.553Z [INFO]: ✅ GraphQL schema compiled successfully.
                                 Edit your schema at /codebuild/output/src1902984136/src/tmtamplifyapp/amplify/backend/api/tmtamplifyapp/schema.graphql or place .graphql files in a directory at /codebuild/output/src1902984136/src/tmtamplifyapp/amplify/backend/api/tmtamplifyapp/schema
2023-10-13T15:48:06.678Z [WARNING]: - Uploading files.
2023-10-13T15:48:07.106Z [WARNING]: go: downloading github.com/aws/aws-lambda-go v1.41.0
2023-10-13T15:48:07.107Z [WARNING]: go: downloading github.com/aws/aws-sdk-go v1.44.272
2023-10-13T15:48:45.430Z [WARNING]: get "golang.org/x/net": found meta tag vcs.metaImport{Prefix:"golang.org/x/net", VCS:"git", RepoRoot:"https://go.googlesource.com/net"} at //golang.org/x/net?go-get=1
2023-10-13T15:48:45.447Z [WARNING]: go: downloading github.com/jmespath/go-jmespath v0.4.0
2023-10-13T15:48:46.293Z [WARNING]: get "golang.org/x/sys": found meta tag vcs.metaImport{Prefix:"golang.org/x/sys", VCS:"git", RepoRoot:"https://go.googlesource.com/sys"} at //golang.org/x/sys?go-get=1
2023-10-13T15:48:46.360Z [WARNING]: get "golang.org/x/term": found meta tag vcs.metaImport{Prefix:"golang.org/x/term", VCS:"git", RepoRoot:"https://go.googlesource.com/term"} at //golang.org/x/term?go-get=1
2023-10-13T15:48:46.389Z [WARNING]: get "golang.org/x/text": found meta tag vcs.metaImport{Prefix:"golang.org/x/text", VCS:"git", RepoRoot:"https://go.googlesource.com/text"} at //golang.org/x/text?go-get=1
2023-10-13T15:48:46.434Z [WARNING]: get "gopkg.in/yaml.v2": found meta tag vcs.metaImport{Prefix:"gopkg.in/yaml.v2", VCS:"git", RepoRoot:"https://gopkg.in/yaml.v2"} at //gopkg.in/yaml.v2?go-get=1
2023-10-13T15:48:47.733Z [WARNING]: get "golang.org/x/tools": found meta tag vcs.metaImport{Prefix:"golang.org/x/tools", VCS:"git", RepoRoot:"https://go.googlesource.com/tools"} at //golang.org/x/tools?go-get=1
2023-10-13T15:48:48.560Z [WARNING]: get "golang.org/x/mod": found meta tag vcs.metaImport{Prefix:"golang.org/x/mod", VCS:"git", RepoRoot:"https://go.googlesource.com/mod"} at //golang.org/x/mod?go-get=1
2023-10-13T15:48:49.988Z [WARNING]: get "gopkg.in/check.v1": found meta tag vcs.metaImport{Prefix:"gopkg.in/check.v1", VCS:"git", RepoRoot:"https://gopkg.in/check.v1"} at //gopkg.in/check.v1?go-get=1
2023-10-13T15:48:53.242Z [WARNING]: get "golang.org/x/sync": found meta tag vcs.metaImport{Prefix:"golang.org/x/sync", VCS:"git", RepoRoot:"https://go.googlesource.com/sync"} at //golang.org/x/sync?go-get=1
2023-10-13T15:48:53.577Z [WARNING]: get "golang.org/x/crypto": found meta tag vcs.metaImport{Prefix:"golang.org/x/crypto", VCS:"git", RepoRoot:"https://go.googlesource.com/crypto"} at //golang.org/x/crypto?go-get=1
2023-10-13T15:49:05.563Z [WARNING]: get "golang.org/x/xerrors": found meta tag vcs.metaImport{Prefix:"golang.org/x/xerrors", VCS:"git", RepoRoot:"https://go.googlesource.com/xerrors"} at //golang.org/x/xerrors?go-get=1
2023-10-13T15:49:05.956Z [WARNING]: go: downloading github.com/stretchr/testify v1.7.2
                                    go: downloading github.com/jmespath/go-jmespath/internal/testify v1.5.1
2023-10-13T15:49:05.996Z [WARNING]: go: downloading github.com/pmezard/go-difflib v1.0.0
2023-10-13T15:49:05.997Z [WARNING]: go: downloading github.com/davecgh/go-spew v1.1.1
2023-10-13T15:49:06.007Z [WARNING]: go: downloading gopkg.in/yaml.v2 v2.2.8
2023-10-13T15:49:06.418Z [WARNING]: go: downloading gopkg.in/yaml.v3 v3.0.1
2023-10-13T15:49:06.804Z [WARNING]: get "gopkg.in/yaml.v3": found meta tag vcs.metaImport{Prefix:"gopkg.in/yaml.v3", VCS:"git", RepoRoot:"https://gopkg.in/yaml.v3"} at //gopkg.in/yaml.v3?go-get=1
2023-10-13T15:49:36.554Z [WARNING]: - Uploading files.
2023-10-13T15:49:37.095Z [WARNING]: go: downloading github.com/aws/aws-sdk-go v1.44.328
2023-10-13T15:50:02.988Z [WARNING]: - Uploading files.
2023-10-13T15:50:04.744Z [WARNING]: go: downloading github.com/aws/aws-sdk-go v1.44.266
2023-10-13T15:50:25.601Z [WARNING]: - Uploading files.
2023-10-13T15:50:26.082Z [WARNING]: - Building resource api/AdminQueries
2023-10-13T15:50:26.107Z [WARNING]: - Building resource api/notificationapi
2023-10-13T15:50:26.122Z [WARNING]: - Building resource api/tmtamplifyapp
2023-10-13T15:50:29.253Z [INFO]: ✅ GraphQL schema compiled successfully.
                                 Edit your schema at /codebuild/output/src1902984136/src/tmtamplifyapp/amplify/backend/api/tmtamplifyapp/schema.graphql or place .graphql files in a directory at /codebuild/output/src1902984136/src/tmtamplifyapp/amplify/backend/api/tmtamplifyapp/schema
2023-10-13T15:50:29.256Z [WARNING]: - Building resource auth/tmtAmplifyApp
2023-10-13T15:50:29.288Z [WARNING]: - Building resource storage/s3tmtamplifyappstoragec3cc73b4
2023-10-13T15:50:29.526Z [WARNING]: - Uploading files.
2023-10-13T15:50:30.990Z [INFO]: ⚠️ Warning: You've specified "*" as the "Resource" in sendNotificationGo's custom IAM policy.
                                 This will grant sendNotificationGo the ability to perform ses:SendEmail,ses:SendRawEmail on ALL resources in this AWS Account.
                                 ⚠️ Warning: You've specified "*" as the "Resource" in sendNotificationGo's custom IAM policy.
                                 This will grant sendNotificationGo the ability to perform SNS:Publish on ALL resources in this AWS Account.
2023-10-13T15:50:37.295Z [INFO]: 
2023-10-13T15:50:37.300Z [INFO]: UPDATE_IN_PROGRESS amplify-tmtamplifyapp-main-183644     AWS::CloudFormation::Stack Fri Oct 13 2023 15:50:31 GMT+0000 (Coordinated Universal Time) User Initiated
                                 UPDATE_IN_PROGRESS functionsendNotificationGo            AWS::CloudFormation::Stack Fri Oct 13 2023 15:50:35 GMT+0000 (Coordinated Universal Time)
                                 UPDATE_IN_PROGRESS storages3tmtamplifyappstoragec3cc73b4 AWS::CloudFormation::Stack Fri Oct 13 2023 15:50:35 GMT+0000 (Coordinated Universal Time)
                                 UPDATE_IN_PROGRESS authtmtAmplifyApp                     AWS::CloudFormation::Stack Fri Oct 13 2023 15:50:35 GMT+0000 (Coordinated Universal Time)
                                 UPDATE_COMPLETE    storages3tmtamplifyappstoragec3cc73b4 AWS::CloudFormation::Stack Fri Oct 13 2023 15:50:35 GMT+0000 (Coordinated Universal Time)
                                 UPDATE_COMPLETE    authtmtAmplifyApp                     AWS::CloudFormation::Stack Fri Oct 13 2023 15:50:35 GMT+0000 (Coordinated Universal Time)
                                 UPDATE_IN_PROGRESS apitmtamplifyapp                      AWS::CloudFormation::Stack Fri Oct 13 2023 15:50:36 GMT+0000 (Coordinated Universal Time)
                                 UPDATE_IN_PROGRESS functionAdminQueries38301bfb          AWS::CloudFormation::Stack Fri Oct 13 2023 15:50:36 GMT+0000 (Coordinated Universal Time)
2023-10-13T15:50:37.589Z [INFO]: 
2023-10-13T15:50:37.590Z [INFO]: UPDATE_IN_PROGRESS amplify-tmtamplifyapp-main-183644-functionsendNotificationGo-1801TOK4I1YA2 AWS::CloudFormation::Stack Fri Oct 13 2023 15:50:35 GMT+0000 (Coordinated Universal Time) User Initiated
2023-10-13T15:50:37.681Z [INFO]: 
2023-10-13T15:50:37.681Z [INFO]: UPDATE_COMPLETE functionAdminQueries38301bfb AWS::CloudFormation::Stack Fri Oct 13 2023 15:50:37 GMT+0000 (Coordinated Universal Time)
2023-10-13T15:50:42.211Z [INFO]: 
2023-10-13T15:50:42.213Z [INFO]: UPDATE_IN_PROGRESS apiAdminQueries AWS::CloudFormation::Stack Fri Oct 13 2023 15:50:38 GMT+0000 (Coordinated Universal Time)
2023-10-13T15:50:42.288Z [INFO]: 
2023-10-13T15:50:42.288Z [INFO]: UPDATE_IN_PROGRESS amplify-tmtamplifyapp-main-183644-apiAdminQueries-1UNM07LLJYEGH AWS::CloudFormation::Stack  Fri Oct 13 2023 15:50:38 GMT+0000 (Coordinated Universal Time) User Initiated
                                 CREATE_IN_PROGRESS DeploymentAPIGWAdminQueriesd852cd24                             AWS::ApiGateway::Deployment Fri Oct 13 2023 15:50:41 GMT+0000 (Coordinated Universal Time)
2023-10-13T15:50:42.424Z [INFO]: 
2023-10-13T15:50:42.424Z [INFO]: UPDATE_IN_PROGRESS amplify-tmtamplifyapp-main-183644-apitmtamplifyapp-1OB0VC3EYWXXH AWS::CloudFormation::Stack Fri Oct 13 2023 15:50:37 GMT+0000 (Coordinated Universal Time) User Initiated
2023-10-13T15:50:42.495Z [INFO]: 
2023-10-13T15:50:42.495Z [INFO]: UPDATE_IN_PROGRESS LambdaFunction AWS::Lambda::Function Fri Oct 13 2023 15:50:39 GMT+0000 (Coordinated Universal Time)
2023-10-13T15:50:52.221Z [INFO]: 
2023-10-13T15:50:52.222Z [INFO]: UPDATE_COMPLETE apiAdminQueries AWS::CloudFormation::Stack Fri Oct 13 2023 15:50:49 GMT+0000 (Coordinated Universal Time)
2023-10-13T15:50:52.317Z [INFO]: 
2023-10-13T15:50:52.321Z [INFO]: UPDATE_IN_PROGRESS Analytic                        AWS::CloudFormation::Stack Fri Oct 13 2023 15:50:45 GMT+0000 (Coordinated Universal Time)
                                 UPDATE_IN_PROGRESS GraphQLAPIDefaultApiKey215A6DD7 AWS::AppSync::ApiKey       Fri Oct 13 2023 15:50:45 GMT+0000 (Coordinated Universal Time)
                                 UPDATE_COMPLETE    Analytic                        AWS::CloudFormation::Stack Fri Oct 13 2023 15:50:45 GMT+0000 (Coordinated Universal Time)
                                 UPDATE_COMPLETE    GraphQLAPIDefaultApiKey215A6DD7 AWS::AppSync::ApiKey       Fri Oct 13 2023 15:50:46 GMT+0000 (Coordinated Universal Time)
                                 UPDATE_IN_PROGRESS Inquiry                         AWS::CloudFormation::Stack Fri Oct 13 2023 15:50:46 GMT+0000 (Coordinated Universal Time)
                                 UPDATE_IN_PROGRESS Tutor                           AWS::CloudFormation::Stack Fri Oct 13 2023 15:50:46 GMT+0000 (Coordinated Universal Time)
                                 UPDATE_IN_PROGRESS Notification                    AWS::CloudFormation::Stack Fri Oct 13 2023 15:50:46 GMT+0000 (Coordinated Universal Time)
                                 UPDATE_IN_PROGRESS Configuration                   AWS::CloudFormation::Stack Fri Oct 13 2023 15:50:46 GMT+0000 (Coordinated Universal Time)
                                 UPDATE_IN_PROGRESS Booking                         AWS::CloudFormation::Stack Fri Oct 13 2023 15:50:46 GMT+0000 (Coordinated Universal Time)
                                 UPDATE_IN_PROGRESS GroupClassBookings              AWS::CloudFormation::Stack Fri Oct 13 2023 15:50:46 GMT+0000 (Coordinated Universal Time)
                                 UPDATE_IN_PROGRESS NotificationRule                AWS::CloudFormation::Stack Fri Oct 13 2023 15:50:46 GMT+0000 (Coordinated Universal Time)
                                 UPDATE_COMPLETE    Notification                    AWS::CloudFormation::Stack Fri Oct 13 2023 15:50:47 GMT+0000 (Coordinated Universal Time)
                                 UPDATE_COMPLETE    Tutor                           AWS::CloudFormation::Stack Fri Oct 13 2023 15:50:47 GMT+0000 (Coordinated Universal Time)
                                 UPDATE_COMPLETE    Configuration                   AWS::CloudFormation::Stack Fri Oct 13 2023 15:50:47 GMT+0000 (Coordinated Universal Time)
                                 UPDATE_COMPLETE    GroupClassBookings              AWS::CloudFormation::Stack Fri Oct 13 2023 15:50:47 GMT+0000 (Coordinated Universal Time)
                                 UPDATE_COMPLETE    Booking                         AWS::CloudFormation::Stack Fri Oct 13 2023 15:50:47 GMT+0000 (Coordinated Universal Time)
                                 UPDATE_COMPLETE    NotificationRule                AWS::CloudFormation::Stack Fri Oct 13 2023 15:50:47 GMT+0000 (Coordinated Universal Time)
                                 UPDATE_COMPLETE    Inquiry                         AWS::CloudFormation::Stack Fri Oct 13 2023 15:50:47 GMT+0000 (Coordinated Universal Time)
                                 UPDATE_IN_PROGRESS Student                         AWS::CloudFormation::Stack Fri Oct 13 2023 15:50:48 GMT+0000 (Coordinated Universal Time)
                                 UPDATE_IN_PROGRESS Client                          AWS::CloudFormation::Stack Fri Oct 13 2023 15:50:48 GMT+0000 (Coordinated Universal Time)
                                 UPDATE_IN_PROGRESS ClassGroup                      AWS::CloudFormation::Stack Fri Oct 13 2023 15:50:48 GMT+0000 (Coordinated Universal Time)
                                 UPDATE_IN_PROGRESS BookingType                     AWS::CloudFormation::Stack Fri Oct 13 2023 15:50:48 GMT+0000 (Coordinated Universal Time)
                                 UPDATE_IN_PROGRESS Subject                         AWS::CloudFormation::Stack Fri Oct 13 2023 15:50:48 GMT+0000 (Coordinated Universal Time)
                                 UPDATE_IN_PROGRESS TutorApplication                AWS::CloudFormation::Stack Fri Oct 13 2023 15:50:48 GMT+0000 (Coordinated Universal Time)
                                 UPDATE_COMPLETE    ClassGroup                      AWS::CloudFormation::Stack Fri Oct 13 2023 15:50:49 GMT+0000 (Coordinated Universal Time)
                                 UPDATE_COMPLETE    BookingType                     AWS::CloudFormation::Stack Fri Oct 13 2023 15:50:49 GMT+0000 (Coordinated Universal Time)
                                 UPDATE_COMPLETE    Client                          AWS::CloudFormation::Stack Fri Oct 13 2023 15:50:49 GMT+0000 (Coordinated Universal Time)
                                 UPDATE_COMPLETE    Subject                         AWS::CloudFormation::Stack Fri Oct 13 2023 15:50:49 GMT+0000 (Coordinated Universal Time)
                                 UPDATE_COMPLETE    Student                         AWS::CloudFormation::Stack Fri Oct 13 2023 15:50:49 GMT+0000 (Coordinated Universal Time)
                                 UPDATE_COMPLETE    TutorApplication                AWS::CloudFormation::Stack Fri Oct 13 2023 15:50:49 GMT+0000 (Coordinated Universal Time)
                                 UPDATE_IN_PROGRESS ConnectionStack                 AWS::CloudFormation::Stack Fri Oct 13 2023 15:50:50 GMT+0000 (Coordinated Universal Time)
                                 UPDATE_COMPLETE    ConnectionStack                 AWS::CloudFormation::Stack Fri Oct 13 2023 15:50:50 GMT+0000 (Coordinated Universal Time)
                                 UPDATE_IN_PROGRESS CustomResourcesjson             AWS::CloudFormation::Stack Fri Oct 13 2023 15:50:51 GMT+0000 (Coordinated Universal Time)
2023-10-13T15:50:52.404Z [INFO]: 
2023-10-13T15:50:52.405Z [INFO]: UPDATE_COMPLETE                     LambdaFunction                                                             AWS::Lambda::Function      Fri Oct 13 2023 15:50:46 GMT+0000 (Coordinated Universal Time)
                                 UPDATE_COMPLETE_CLEANUP_IN_PROGRESS amplify-tmtamplifyapp-main-183644-functionsendNotificationGo-1801TOK4I1YA2 AWS::CloudFormation::Stack Fri Oct 13 2023 15:50:48 GMT+0000 (Coordinated Universal Time)
2023-10-13T15:50:52.745Z [INFO]: 
2023-10-13T15:50:52.746Z [INFO]: UPDATE_COMPLETE CustomResourcesjson AWS::CloudFormation::Stack Fri Oct 13 2023 15:50:52 GMT+0000 (Coordinated Universal Time)
2023-10-13T15:51:12.224Z [INFO]: 
2023-10-13T15:51:12.227Z [INFO]: UPDATE_COMPLETE    functionsendNotificationGo          AWS::CloudFormation::Stack Fri Oct 13 2023 15:50:57 GMT+0000 (Coordinated Universal Time)
                                 UPDATE_IN_PROGRESS apinotificationapi                  AWS::CloudFormation::Stack Fri Oct 13 2023 15:50:58 GMT+0000 (Coordinated Universal Time)
                                 UPDATE_COMPLETE    apitmtamplifyapp                    AWS::CloudFormation::Stack Fri Oct 13 2023 15:50:59 GMT+0000 (Coordinated Universal Time)
                                 UPDATE_IN_PROGRESS functionscheduledDataCleaner        AWS::CloudFormation::Stack Fri Oct 13 2023 15:51:00 GMT+0000 (Coordinated Universal Time)
                                 UPDATE_IN_PROGRESS functionnotificationScheduledSender AWS::CloudFormation::Stack Fri Oct 13 2023 15:51:00 GMT+0000 (Coordinated Universal Time)
                                 UPDATE_COMPLETE    apinotificationapi                  AWS::CloudFormation::Stack Fri Oct 13 2023 15:51:09 GMT+0000 (Coordinated Universal Time)
2023-10-13T15:51:12.322Z [INFO]: 
2023-10-13T15:51:12.322Z [INFO]: UPDATE_IN_PROGRESS amplify-tmtamplifyapp-main-183644-functionnotificationScheduledSender-OUY3TPT27FI0 AWS::CloudFormation::Stack Fri Oct 13 2023 15:51:00 GMT+0000 (Coordinated Universal Time) User Initiated
                                 UPDATE_IN_PROGRESS LambdaFunction                                                                     AWS::Lambda::Function      Fri Oct 13 2023 15:51:05 GMT+0000 (Coordinated Universal Time)
2023-10-13T15:51:12.402Z [INFO]: 
2023-10-13T15:51:12.403Z [INFO]: UPDATE_IN_PROGRESS amplify-tmtamplifyapp-main-183644-functionscheduledDataCleaner-1AIM3ZFR2YU36 AWS::CloudFormation::Stack Fri Oct 13 2023 15:51:00 GMT+0000 (Coordinated Universal Time) User Initiated
                                 UPDATE_IN_PROGRESS LambdaFunction                                                               AWS::Lambda::Function      Fri Oct 13 2023 15:51:04 GMT+0000 (Coordinated Universal Time)
2023-10-13T15:51:12.715Z [INFO]: 
2023-10-13T15:51:12.715Z [INFO]: UPDATE_COMPLETE LambdaFunction AWS::Lambda::Function Fri Oct 13 2023 15:51:12 GMT+0000 (Coordinated Universal Time)
2023-10-13T15:51:42.263Z [INFO]: 
2023-10-13T15:51:42.265Z [INFO]: UPDATE_COMPLETE                     functionscheduledDataCleaner          AWS::CloudFormation::Stack Fri Oct 13 2023 15:51:22 GMT+0000 (Coordinated Universal Time)
                                 UPDATE_COMPLETE                     functionnotificationScheduledSender   AWS::CloudFormation::Stack Fri Oct 13 2023 15:51:22 GMT+0000 (Coordinated Universal Time)
                                 UPDATE_COMPLETE_CLEANUP_IN_PROGRESS amplify-tmtamplifyapp-main-183644     AWS::CloudFormation::Stack Fri Oct 13 2023 15:51:24 GMT+0000 (Coordinated Universal Time)
                                 UPDATE_COMPLETE                     storages3tmtamplifyappstoragec3cc73b4 AWS::CloudFormation::Stack Fri Oct 13 2023 15:51:25 GMT+0000 (Coordinated Universal Time)
                                 UPDATE_COMPLETE                     functionnotificationScheduledSender   AWS::CloudFormation::Stack Fri Oct 13 2023 15:51:35 GMT+0000 (Coordinated Universal Time)
                                 UPDATE_COMPLETE                     functionscheduledDataCleaner          AWS::CloudFormation::Stack Fri Oct 13 2023 15:51:35 GMT+0000 (Coordinated Universal Time)
                                 UPDATE_COMPLETE                     apiAdminQueries                       AWS::CloudFormation::Stack Fri Oct 13 2023 15:51:35 GMT+0000 (Coordinated Universal Time)
                                 UPDATE_COMPLETE                     apinotificationapi                    AWS::CloudFormation::Stack Fri Oct 13 2023 15:51:35 GMT+0000 (Coordinated Universal Time)
                                 UPDATE_COMPLETE                     functionAdminQueries38301bfb          AWS::CloudFormation::Stack Fri Oct 13 2023 15:51:36 GMT+0000 (Coordinated Universal Time)
2023-10-13T15:52:02.391Z [INFO]: �[K
2023-10-13T15:52:05.231Z [WARNING]: - Uploading files.
2023-10-13T15:52:07.369Z [WARNING]: - Uploading files.
2023-10-13T15:52:07.467Z [WARNING]: - Uploading files.
2023-10-13T15:52:12.523Z [INFO]: 
2023-10-13T15:52:12.524Z [INFO]: GraphQL endpoint: https://tnh6jcly7rf2njwp6347ldicr4.appsync-api.us-east-1.amazonaws.com/graphql
                                 GraphQL API KEY: da2-rtsoifvmcnbuvh2nybloh7pum4
2023-10-13T15:52:12.524Z [INFO]: GraphQL transformer version: 2
2023-10-13T15:52:12.525Z [INFO]: REST API endpoint: https://fcrzle1hgj.execute-api.us-east-1.amazonaws.com/main
2023-10-13T15:52:12.530Z [INFO]: 
2023-10-13T15:52:12.549Z [WARNING]: Browserslist: caniuse-lite is outdated. Please run:
                                    npx update-browserslist-db@latest
                                    Why you should do it regularly: https://github.com/browserslist/update-db#readme
2023-10-13T15:52:12.617Z [INFO]: ✅ Initialized your environment successfully.
2023-10-13T15:52:12.618Z [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:
                                 Try "amplify add api" to create a backend API and then "amplify push" to deploy everything
2023-10-13T15:52:14.112Z [INFO]: # Completed phase: build

Reproduction steps

Try to build a backend with a go function with these go.mod

module lambda

go 1.18

require (
	github.com/aws/aws-lambda-go v1.41.0
	github.com/aws/aws-sdk-go v1.45.25
)

require github.com/jmespath/go-jmespath v0.4.0 // indirect

Build Settings

version: 1
backend:
  phases:
    preBuild:
      commands:
        - yum install golang -y
        - mkdir ~/go_proj
        - export PATH=$PATH:/usr/local/go/bin
        - export GOPATH=$HOME/go_proj
        - export GOBIN=$GOPATH/bin
        - export CGO_ENABLED=0 # This is required for go to build static binaries
    build:
      commands:
        - "# Execute Amplify CLI with the helper script"
        - amplifyPush --simple
frontend:
  phases:
    preBuild:
      commands:
        - npm ci
    build:
      commands:
        - npm run build
  artifacts:
    baseDirectory: build
    files:
      - "**/*"
  cache:
    paths:
      - node_modules/**/*

Log output

# Put your logs below this line


Additional information

No response

@Bryson14 Bryson14 added the pending-triage Issue is pending triage label Oct 16, 2023
@Jay2113
Copy link
Contributor

Jay2113 commented Oct 17, 2023

Hi @Bryson14 👋 , thanks for raising this!

To better assist you, I am going to transfer this issue over to the amplify-cli repository.

@Jay2113 Jay2113 transferred this issue from aws-amplify/amplify-hosting Oct 17, 2023
@Jay2113 Jay2113 added the transferred This issue was transferred from another Amplify project label Oct 17, 2023
@josefaidt
Copy link
Contributor

Hey @Bryson14 👋 thanks for raising this! Looking at the line from your logs shown below it appears gopkg.in is returning "bad gateway", so the dependency install is failing.

 fatal: unable to access 'https://gopkg.in/yaml.v2/': The requested URL returned error: 502

and

server response: Cannot obtain refs from GitHub: cannot talk to GitHub: Get https://github.com/go-yaml/yaml.git/info/refs?service=git-upload-pack: write tcp 10.131.9.20:52252->140.82.121.4:443: write: broken pipe

Are you able to consistently reproduce this? The Amplify CLI will run the necessary install command for Go dependencies (e.g. go mod tidy), but unfortunately

@josefaidt josefaidt added the pending-response Issue is pending response from the issue author label Oct 17, 2023
@josefaidt
Copy link
Contributor

Closing due to inactivity

@josefaidt josefaidt closed this as not planned Won't fix, can't repro, duplicate, stale Feb 2, 2024
Copy link

github-actions bot commented Feb 2, 2024

⚠️COMMENT VISIBILITY WARNING⚠️

Comments on closed issues are hard for our team to see.
If you need more assistance, please open a new issue that references this one.
If you wish to keep having a conversation with other community members under this issue feel free to do so.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pending-response Issue is pending response from the issue author pending-triage Issue is pending triage transferred This issue was transferred from another Amplify project
Projects
None yet
Development

No branches or pull requests

3 participants