I am deploying the lambda function from AWS CLI but after changing anything in input.py i am getting Deployment failed. #13279
Labels
pending-triage
Issue is pending triage
platform-push
Issues related to `amplify push`
question
General question
Amplify CLI Version
12.4.0
Question
After Changing anything in my python code or importing any library or running pipenv install flask the amplify push command responds with deployment failed with following error .
I am using Amplify Cli to create api and Lambda function.
Deploying root stack Upskillz [ ======---------------------------------- ] 1/7
amplify-u-staging-1045… AWS::CloudFormation::Stack UPDATE_ROLLBACK_COMPLETE_CLEA… Thu Sep 28 2023 21:02:26…
functionuapi AWS::CloudFormation::Stack UPDATE_FAILED Thu Sep 28 2023 21:02:11…
apiUp AWS::CloudFormation::Stack UPDATE_FAILED Thu Sep 28 2023 21:02:11…
functionsyncConflictHandler41… AWS::CloudFormation::Stack UPDATE_COMPLETE Thu Sep 28 2023 21:02:14…
authUp AWS::CloudFormation::Stack UPDATE_FAILED Thu Sep 28 2023 21:02:11…
Deployed function syncConflictHandler41929f00 [ ======================================== ] 3/3
Deployed function uapi [ ======================================== ] 3/3
🛑 The following resources failed to deploy:
Resource Name: apiu (AWS::CloudFormation::Stack)
Event Type: update
Reason: Parameters: [authRoleName, unauthRoleName, S3DeploymentBucket, S3DeploymentRootKey] must have values
URL: https://console.aws.amazon.com/cloudformation/home?region=ap-south-1#/stacks/arn%3Aaws%3Acloudformation%3Aap-south-1%3A077278447346%3Astack%2Famplify-upskillz-staging-104548%2Fb6afed00-48b4-11ee-9600-06409bed3a88/events
Resource Name: authU (AWS::CloudFormation::Stack)
Event Type: update
Reason: Parameters: [usernameAttributes, authProviders, authRoleArn, autoVerifiedAttributes, allowUnauthenticatedIdentities, smsVerificationMessage, userpoolClientReadAttributes, breakCircularDependency, mfaTypes, emailVerificationSubject, sharedId, useDefault, userpoolClientGenerateSecret, mfaConfiguration, identityPoolName, userPoolGroupList, thirdPartyAuth, authSelections, adminQueries, resourceNameTruncated, userPoolGroups, smsAuthenticationMessage, passwordPolicyMinLength, userPoolName, userpoolClientWriteAttributes, dependsOn, useEnabledMfas, usernameCaseSensitive, resourceName, serviceName, emailVerificationMessage, userpoolClientRefreshTokenValidity, userpoolClientSetAttributes, unauthRoleArn, requiredAttributes, passwordPolicyCharacters, aliasAttributes, userpoolClientLambdaRole, defaultPasswordPolicy] must have values
URL: https://console.aws.amazon.com/cloudformation/home?region=ap-south-1#/stacks/arn%3Aaws%3Acloudformation%3Aap-south-1%3A077278447346%3Astack%2Famplify-upskillz-staging-104548%2Fb6afed00-48b4-11ee-9600-06409bed3a88/events
The text was updated successfully, but these errors were encountered: