Hi Experts,
I’m fairly new to New to Python and AWS. I have developed simple web App in Django and pushed it to GIT.
Now as part of learning i’m trying to deploy the app to AWS Amplify using GIT, but i’m getting below below error. Can someone advise on what could be the reason and whether it is possible to deploy Django app to Amplify.
Thanks
Error
2024-09-27T10:23:52.067Z [INFO]: # Cloning repository: git@github.com:kirankthota79/Django-Login-form.git
2024-09-27T10:23:53.320Z [INFO]:
2024-09-27T10:23:53.320Z [INFO]: Cloning into 'Django-Login-form'...
2024-09-27T10:23:53.321Z [INFO]: # Checking for Git submodules at: /codebuild/output/src2824985278/src/Django-Login-form/.gitmodules
2024-09-27T10:23:53.326Z [INFO]: # Retrieving environment cache...
2024-09-27T10:23:53.376Z [WARNING]: ! Unable to write cache: {"code":"ERR_BAD_REQUEST","message":"Request failed with status code 404"})}
2024-09-27T10:23:53.376Z [INFO]: ---- Setting Up SSM Secrets ----
2024-09-27T10:23:53.376Z [INFO]: SSM params {"Path":"/amplify/d3npn3yoko8ihr/main/","WithDecryption":true}
2024-09-27T10:23:53.435Z [WARNING]: !Failed to set up process.env.secrets
2024-09-27T10:23:54.573Z [INFO]: No live updates for this build run
2024-09-27T10:23:54.576Z [INFO]: # Retrieving cache...
2024-09-27T10:23:54.609Z [INFO]: # Retrieved cache
2024-09-27T10:24:00.216Z [INFO]: ## Starting Backend Build
## Checking for associated backend environment...
## No backend environment association found, continuing...
2024-09-27T10:24:00.221Z [INFO]: ## Completed Backend Build
{"backendDuration": 0}
2024-09-27T10:24:00.222Z [INFO]: ## Starting Frontend Build
2024-09-27T10:24:00.222Z [INFO]: # Starting phase: build
# Executing command: Django Authentication
2024-09-27T10:24:00.223Z [WARNING]: Django: command not found
2024-09-27T10:24:00.335Z [ERROR]: !!! Build failed
2024-09-27T10:24:00.336Z [ERROR]: !!! Error: Command failed with exit code 127
2024-09-27T10:24:00.336Z [INFO]: # Starting environment caching...
2024-09-27T10:24:00.336Z [INFO]: # Environment caching completed