Skip to content

Parameter: [AuthCognitoUserPoolId] do not exist in the template during amplify pushΒ #14381

@djom202

Description

@djom202

How did you install the Amplify CLI?

npm

If applicable, what version of Node.js are you using?

v22.18.0

Amplify CLI Version

~4.3.0

What operating system are you using?

macOS Sequoia 15.6.1

Did you make any manual changes to the cloud resources managed by Amplify? Please describe the changes made.

No.

Describe the bug

When running amplify push in the main (production) environment, the following error occurs:

πŸ›‘ ["Index: 0 State: {\"deploy\":\"deploying\"} Message: Parameters: [AuthCognitoUserPoolId] do not exist in the template"]

Context:

  • The same changes work successfully in sandbox and dev environments
  • Only the main environment fails with this error
  • The error prevents deployment to production

⚠️ Important: Rollbacks Are NOT a Viable Option

Rollbacks are NOT a viable solution for this issue.

Reasons:

  1. Nested Stack Limitation: The continue-update-rollback CloudFormation command only works on root stacks, not on nested stacks (child stacks). The problematic stack apiKopilotoApi is a nested stack, making rollbacks impossible.

  2. Error Confirmation: When attempting aws cloudformation continue-update-rollback on the nested stack, CloudFormation returns:

    ValidationError: RollbackUpdatedStack cannot be invoked on child stacks
    
  3. Stack State: Even if rollbacks were possible, the stack is in UPDATE_ROLLBACK_COMPLETE state, which prevents direct updates. Rollbacks would not resolve the parameter declaration issue in the templates.

  4. Root Cause: The problem is not with the stack state, but with Amplify's template generation process. Rollbacks would not fix the fact that Amplify generates templates without the AuthCognitoUserPoolId parameter declaration.

Conclusion: Do not attempt to use rollbacks as a solution. Focus on other workarounds or wait for an Amplify CLI fix.

Expected behavior

When dependsOn is configured in backend-config.json to reference a Cognito User Pool, or when additionalAuthTypes includes Cognito in cli-inputs.json, Amplify CLI should:

  1. Automatically declare the AuthCognitoUserPoolId parameter in the CloudFormation template's Parameters section
  2. Pass the User Pool ID from the auth resource to the API stack
  3. Successfully deploy the stack without parameter errors

Reproduction steps

  1. Initialize an Amplify Gen 1 project:

    amplify init
  2. Add authentication with Cognito User Pool:

    amplify add auth
    # Select: Default configuration with Social Provider (Federated Identity)
    # Configure as needed
  3. Add an AppSync GraphQL API:

    amplify add api
    # Select: GraphQL
    # API name: KopilotoApi
    # Authorization: API Key (default)
  4. Update the API to add Cognito as additional authentication:

    amplify update api
    # Select: Update auth settings
    # Add additional auth types: Amazon Cognito User Pool
  5. Update the GraphQL schema to use Cognito-based authorization rules:

    type Model @model @auth(rules: [{ allow: owner }]) {
      id: ID!
      # ... other fields
    }
  6. Compile the GraphQL schema:

    amplify api gql-compile
  7. Attempt to push changes to production environment:

    amplify env checkout main
    amplify push
  8. The error occurs during deployment:

    πŸ›‘ ["Index: 0 State: {\"deploy\":\"deploying\"} Message: Parameters: [AuthCognitoUserPoolId] do not exist in the template"]
    

Note: This issue occurs when:

  • The API was previously configured with API_KEY authentication (or had Cognito configured at some point)
  • You're migrating to (or re-adding) Cognito authentication
  • The stack has historical metadata (in deployment-meta.json or CloudFormation stack state) that includes AuthCognitoUserPoolId parameter references
  • Amplify CLI attempts to pass the parameter but the newly generated templates don't declare it

Important: While this issue was observed in the production environment (main), it can occur in any environment where the stack has historical metadata with AuthCognitoUserPoolId references. The same changes worked in sandbox and dev because those environments may not have had the same historical configuration state.

Project Identifier

Session Identifier: 81ef9060-5925-4d45-9b6a-17783d185cbc

βœ… Report saved: /var/folders/vl/p1_j429s1mv64d0v6shc08080000gp/T/Kopiloto/report-1765175286880.zip

βœ” Done

Project Identifier: 544a59240201d3e6a3eede1ca927b825

Log output

Details
2025-12-07T14:38:36.891Z|info : amplify status core  {"yes":false}
2025-12-07T14:38:36.945Z|info : @aws-amplify/amplify-cli-core.banner-message/index.ts.fetch banner messages from https://aws-amplify.github.io/amplify-cli/banner-message.json({}
2025-12-07T14:38:39.379Z|info : amplify-provider-awscloudformation.display-helpful-urls.showCognitoSandBoxMessage(["KopilotoAuth"])
2025-12-07T14:39:21.127Z|info : amplify push core  {"yes":true}
2025-12-07T14:39:21.176Z|info : @aws-amplify/amplify-cli-core.banner-message/index.ts.fetch banner messages from https://aws-amplify.github.io/amplify-cli/banner-message.json({}
2025-12-07T14:39:25.621Z|info : amplify-provider-awscloudformation.zip-util.downloadZip.s3.getFile([{"Key":"[***]rent-[***]ud-[***]d.zip"},null])
2025-12-07T14:39:25.622Z|info : amplify-provider-awscloudformation.aws-s3.s3.getFile([{"Key":"[***]rent-[***]ud-[***]d.zip","Bucket":"[***]ify-[***]loto-[***]in-[***]836-[***]ment"}])
2025-12-07T14:39:31.976Z|info : amplify-provider-awscloudformation.initialize-env.run.cfn.updateamplifyMetaFileWithStackOutputs([{"StackName":"[***]ify-[***]loto-[***]in-[***]836"}])
2025-12-07T14:39:33.605Z|info : amplify-provider-awscloudformation.aws-cfn.updateamplifyMetaFileWithStackOutputs.cfn.listStackResources([{"StackName":"[***]ify-[***]loto-[***]in-[***]836"}])
2025-12-07T14:39:34.277Z|info : amplify-provider-awscloudformation.aws-cfn.describeStack.cfn.describeStacks([{"StackName":"[***]ify-[***]loto-[***]in-[***]836"}])
2025-12-07T14:39:34.407Z|info : amplify-provider-awscloudformation.aws-cfn.describeStack.cfn.describeStacks([{"StackName":"[***]rmation:us-[***]st-[***]44:stack/[***]ify-[***]loto-[***]in-[***]836-[***]uthStack-[***]27VPU/[***]d3c0-[***]c7-[***]f0-[***]99-[***]64b51"}])
2025-12-07T14:39:34.409Z|info : amplify-provider-awscloudformation.aws-cfn.describeStack.cfn.describeStacks([{"StackName":"[***]rmation:us-[***]st-[***]44:stack/[***]ify-[***]loto-[***]in-[***]836-[***]mLambdaStack-[***]KX459/[***]6140-[***]96-[***]ef-[***]39-[***]bfa09"}])
2025-12-07T14:39:34.410Z|info : amplify-provider-awscloudformation.aws-cfn.describeStack.cfn.describeStacks([{"StackName":"[***]rmation:us-[***]st-[***]44:stack/[***]ify-[***]loto-[***]in-[***]836-[***]toPinpoint-[***]KEED8Y/[***]ef00-[***]95-[***]ef-[***]91-[***]5fc53"}])
2025-12-07T14:39:34.411Z|info : amplify-provider-awscloudformation.aws-cfn.describeStack.cfn.describeStacks([{"StackName":"[***]rmation:us-[***]st-[***]44:stack/[***]ify-[***]loto-[***]in-[***]836-[***]iesApiV2-[***]KB80RO/[***]2950-[***]c6-[***]f0-[***]ca-[***]3244d"}])
2025-12-07T14:39:34.412Z|info : amplify-provider-awscloudformation.aws-cfn.describeStack.cfn.describeStacks([{"StackName":"[***]rmation:us-[***]st-[***]44:stack/[***]ify-[***]loto-[***]in-[***]836-[***]ueries-[***]DEC7X/[***]7250-[***]95-[***]ef-[***]08-[***]855f3"}])
2025-12-07T14:39:34.412Z|info : amplify-provider-awscloudformation.aws-cfn.describeStack.cfn.describeStacks([{"StackName":"[***]rmation:us-[***]st-[***]44:stack/[***]ify-[***]loto-[***]in-[***]836-[***]otoApi-[***]RKY6YY/[***]e600-[***]95-[***]ef-[***]53-[***]315ab"}])
2025-12-07T14:39:34.412Z|info : amplify-provider-awscloudformation.aws-cfn.describeStack.cfn.describeStacks([{"StackName":"[***]rmation:us-[***]st-[***]44:stack/[***]ify-[***]loto-[***]in-[***]836-[***]icApi-[***]EWWOD/[***]b410-[***]ee-[***]f0-[***]43-[***]47d53"}])
2025-12-07T14:39:34.412Z|info : amplify-provider-awscloudformation.aws-cfn.describeStack.cfn.describeStacks([{"StackName":"[***]rmation:us-[***]st-[***]44:stack/[***]ify-[***]loto-[***]in-[***]836-[***]sApiV2-[***]TIXY2/[***]a700-[***]c7-[***]f0-[***]c1-[***]1bfa7"}])
2025-12-07T14:39:34.412Z|info : amplify-provider-awscloudformation.aws-cfn.describeStack.cfn.describeStacks([{"StackName":"[***]rmation:us-[***]st-[***]44:stack/[***]ify-[***]loto-[***]in-[***]836-[***]otoAuth-[***]7FD8GO/[***]94f0-[***]95-[***]ef-[***]de-[***]a3495"}])
2025-12-07T14:39:34.413Z|info : amplify-provider-awscloudformation.aws-cfn.describeStack.cfn.describeStacks([{"StackName":"[***]rmation:us-[***]st-[***]44:stack/[***]ify-[***]loto-[***]in-[***]836-[***]olGroups-[***]0BKFDB/[***]9fc0-[***]95-[***]ef-[***]67-[***]bbf49"}])
2025-12-07T14:39:34.413Z|info : amplify-provider-awscloudformation.aws-cfn.describeStack.cfn.describeStacks([{"StackName":"[***]rmation:us-[***]st-[***]44:stack/[***]ify-[***]loto-[***]in-[***]836-[***]iesApiV2Fn-[***]U0BPNV/[***]41d0-[***]c6-[***]f0-[***]c6-[***]24031"}])
2025-12-07T14:39:34.413Z|info : amplify-provider-awscloudformation.aws-cfn.describeStack.cfn.describeStacks([{"StackName":"[***]rmation:us-[***]st-[***]44:stack/[***]ify-[***]loto-[***]in-[***]836-[***]inKeysFn-[***]WBLV9R/[***]b9a0-[***]95-[***]ef-[***]24-[***]a2377"}])
2025-12-07T14:39:34.413Z|info : amplify-provider-awscloudformation.aws-cfn.describeStack.cfn.describeStacks([{"StackName":"[***]rmation:us-[***]st-[***]44:stack/[***]ify-[***]loto-[***]in-[***]836-[***]riesbd716b4b-[***]OWYTD/[***]6260-[***]95-[***]ef-[***]fc-[***]81195"}])
2025-12-07T14:39:34.413Z|info : amplify-provider-awscloudformation.aws-cfn.describeStack.cfn.describeStacks([{"StackName":"[***]rmation:us-[***]st-[***]44:stack/[***]ify-[***]loto-[***]in-[***]836-[***]hartsFn-[***]UG7SIX/[***]17d0-[***]95-[***]ef-[***]42-[***]bbda7"}])
2025-12-07T14:39:34.413Z|info : amplify-provider-awscloudformation.aws-cfn.describeStack.cfn.describeStacks([{"StackName":"[***]rmation:us-[***]st-[***]44:stack/[***]ify-[***]loto-[***]in-[***]836-[***]licRecordFn-[***]C4KLQ/[***]ec00-[***]ed-[***]f0-[***]ec-[***]6f2e9"}])
2025-12-07T14:39:34.413Z|info : amplify-provider-awscloudformation.aws-cfn.describeStack.cfn.describeStacks([{"StackName":"[***]rmation:us-[***]st-[***]44:stack/[***]ify-[***]loto-[***]in-[***]836-[***]eAuthentication-[***]OXDMYS/[***]5410-[***]96-[***]ef-[***]e4-[***]fc639"}])
2025-12-07T14:39:34.413Z|info : amplify-provider-awscloudformation.aws-cfn.describeStack.cfn.describeStacks([{"StackName":"[***]rmation:us-[***]st-[***]44:stack/[***]ify-[***]loto-[***]in-[***]836-[***]uthPreSignup-[***]F8XZ0/[***]1bb0-[***]95-[***]ef-[***]8c-[***]6d27b"}])
2025-12-07T14:39:34.413Z|info : amplify-provider-awscloudformation.aws-cfn.describeStack.cfn.describeStacks([{"StackName":"[***]rmation:us-[***]st-[***]44:stack/[***]ify-[***]loto-[***]in-[***]836-[***]rtsApiV2-[***]BMCBO9/[***]5f40-[***]c7-[***]f0-[***]f9-[***]7ac7d"}])
2025-12-07T14:39:34.413Z|info : amplify-provider-awscloudformation.aws-cfn.describeStack.cfn.describeStacks([{"StackName":"[***]rmation:us-[***]st-[***]44:stack/[***]ify-[***]loto-[***]in-[***]836-[***]heduleFn-[***]VTJFJW/[***]5410-[***]96-[***]ef-[***]d6-[***]951d7"}])
2025-12-07T14:39:34.413Z|info : amplify-provider-awscloudformation.aws-cfn.describeStack.cfn.describeStacks([{"StackName":"[***]rmation:us-[***]st-[***]44:stack/[***]ify-[***]loto-[***]in-[***]836-[***]EmailsFn-[***]WMERK/[***]4130-[***]95-[***]ef-[***]72-[***]72b1f"}])
2025-12-07T14:39:34.413Z|info : amplify-provider-awscloudformation.aws-cfn.describeStack.cfn.describeStacks([{"StackName":"[***]rmation:us-[***]st-[***]44:stack/[***]ify-[***]loto-[***]in-[***]836-[***]otoCoreFn-[***]BLAW0E/[***]6920-[***]95-[***]ef-[***]fd-[***]041cf"}])
2025-12-07T14:39:34.413Z|info : amplify-provider-awscloudformation.aws-cfn.describeStack.cfn.describeStacks([{"StackName":"[***]rmation:us-[***]st-[***]44:stack/[***]ify-[***]loto-[***]in-[***]836-[***]toStorage-[***]4UYLOF/[***]e1d0-[***]95-[***]ef-[***]e7-[***]bec41"}])
2025-12-07T14:39:34.874Z|info : amplify-provider-awscloudformation.aws-s3.s3.getFile([{"Key":"[***]ify-[***]json","Bucket":"[***]ify-[***]loto-[***]in-[***]836-[***]ment"}])
2025-12-07T14:39:45.950Z|info : amplify-provider-awscloudformation.push-resources.uploadTemplateToS3.s3.uploadFile([{"Key":"[***]ify-[***]fn-[***]ates/[***]th/[***]th-[***]ger-[***]mation-[***]e.json"}])
2025-12-07T14:39:45.951Z|info : amplify-provider-awscloudformation.aws-s3.uploadFile.s3.upload([{"Body":{"fd":null,"path":"/Users/djom202/Documents/projectsAt/Kopiloto/vueapp/amplify/backend/auth/KopilotoAuth/build/auth-trigger-cloudformation-template.json","flags":"r","mode":438,"end":null,"bytesRead":0,"_events":{},"_readableState":{"highWaterMark":65536,"buffer":[],"bufferIndex":0,"length":0,"pipes":[],"awaitDrainWriters":null},"_eventsCount":1},"Key":"[***]ify-[***]fn-[***]ates/[***]th/[***]th-[***]ger-[***]mation-[***]e.json","Bucket":"[***]ify-[***]loto-[***]in-[***]836-[***]ment"}])
2025-12-07T14:39:58.437Z|info : amplify-provider-awscloudformation.aws-s3.uploadFile.s3.upload([{"Key":"[***]ment-[***]json","Body":"{\n  \"version\": \"1\",\n  \"startedAt\": \"2025-12-07T14:39:58.436Z\",\n  \"status\": \"DEPLOYING\",\n  \"currentStepIndex\": 0,\n  \"steps\": [\n    {\n      \"status\": \"WAITING_FOR_DEPLOYMENT\"\n    },\n    {\n      \"status\": \"WAITING_FOR_DEPLOYMENT\"\n    }\n  ]\n}","Bucket":"[***]ify-[***]loto-[***]in-[***]836-[***]ment"}])
2025-12-07T14:39:58.609Z|info : amplify-provider-awscloudformation.upload-appsync-files.uploadAppSyncFiles.upload.s3Client.uploadFile([{"Key":"[***]raphql"}])
2025-12-07T14:39:58.610Z|info : amplify-provider-awscloudformation.aws-s3.uploadFile.s3.upload([{"Key":"[***]ify-[***]ync-[***]es/[***][***]hash[***]/[***]raphql","Body":{"fd":null,"path":"/Users/djom202/Documents/projectsAt/Kopiloto/vueapp/amplify/backend/api/KopilotoApi/build/schema.graphql","flags":"r","mode":438,"end":null,"bytesRead":0,"_events":{},"_readableState":{"highWaterMark":65536,"buffer":[],"bufferIndex":0,"length":0,"pipes":[],"awaitDrainWriters":null},"_eventsCount":1},"Bucket":"[***]ify-[***]loto-[***]in-[***]836-[***]ment"}])
2025-12-07T14:39:58.610Z|info : amplify-provider-awscloudformation.upload-appsync-files.uploadAppSyncFiles.upload.s3Client.uploadFile([{"Key":"[***]s.json"}])
2025-12-07T14:39:58.610Z|info : amplify-provider-awscloudformation.aws-s3.uploadFile.s3.upload([{"Key":"[***]ify-[***]ync-[***]es/[***][***]hash[***]/[***]s.json","Body":{"fd":null,"path":"/Users/djom202/Documents/projectsAt/Kopiloto/vueapp/amplify/backend/api/KopilotoApi/build/parameters.json","flags":"r","mode":438,"end":null,"bytesRead":0,"_events":{},"_readableState":{"highWaterMark":65536,"buffer":[],"bufferIndex":0,"length":0,"pipes":[],"awaitDrainWriters":null},"_eventsCount":1},"Bucket":"[***]ify-[***]loto-[***]in-[***]836-[***]ment"}])
2025-12-07T14:39:58.610Z|info : amplify-provider-awscloudformation.upload-appsync-files.uploadAppSyncFiles.upload.s3Client.uploadFile([{"Key":"[***]mation-[***]e.json"}])
2025-12-07T14:39:58.610Z|info : amplify-provider-awscloudformation.aws-s3.uploadFile.s3.upload([{"Key":"[***]ify-[***]ync-[***]es/[***][***]hash[***]/[***]mation-[***]e.json","Body":{"fd":null,"path":"/Users/djom202/Documents/projectsAt/Kopiloto/vueapp/amplify/backend/api/KopilotoApi/build/cloudformation-template.json","flags":"r","mode":438,"end":null,"bytesRead":0,"_events":{},"_readableState":{"highWaterMark":65536,"buffer":[],"bufferIndex":0,"length":0,"pipes":[],"awaitDrainWriters":null},"_eventsCount":1},"Bucket":"[***]ify-[***]loto-[***]in-[***]836-[***]ment"}])
2025-12-07T14:39:58.610Z|info : amplify-provider-awscloudformation.upload-appsync-files.uploadAppSyncFiles.upload.s3Client.uploadFile([{"Key":"[***]tes/[***]ial-[***]ck/[***]raphql"}])
2025-12-07T14:39:58.610Z|info : amplify-provider-awscloudformation.aws-s3.uploadFile.s3.upload([{"Key":"[***]ify-[***]ync-[***]es/[***][***]hash[***]/[***]tes/[***]ial-[***]ck/[***]raphql","Body":{"fd":null,"path":"/Users/djom202/Documents/projectsAt/Kopiloto/vueapp/amplify/backend/api/KopilotoApi/build/states/initial-stack/schema.graphql","flags":"r","mode":438,"end":null,"bytesRead":0,"_events":{},"_readableState":{"highWaterMark":65536,"buffer":[],"bufferIndex":0,"length":0,"pipes":[],"awaitDrainWriters":null},"_eventsCount":1},"Bucket":"[***]ify-[***]loto-[***]in-[***]836-[***]ment"}])
2025-12-07T14:39:58.610Z|info : amplify-provider-awscloudformation.upload-appsync-files.uploadAppSyncFiles.upload.s3Client.uploadFile([{"Key":"[***]tes/[***]ial-[***]ck/[***]s.json"}])
2025-12-07T14:39:58.610Z|info : amplify-provider-awscloudformation.aws-s3.uploadFile.s3.upload([{"Key":"[***]ify-[***]ync-[***]es/[***][***]hash[***]/[***]tes/[***]ial-[***]ck/[***]s.json","Body":{"fd":null,"path":"/Users/djom202/Documents/projectsAt/Kopiloto/vueapp/amplify/backend/api/KopilotoApi/build/states/initial-stack/parameters.json","flags":"r","mode":438,"end":null,"bytesRead":0,"_events":{},"_readableState":{"highWaterMark":65536,"buffer":[],"bufferIndex":0,"length":0,"pipes":[],"awaitDrainWriters":null},"_eventsCount":1},"Bucket":"[***]ify-[***]loto-[***]in-[***]836-[***]ment"}])
2025-12-07T14:39:58.610Z|info : amplify-provider-awscloudformation.upload-appsync-files.uploadAppSyncFiles.upload.s3Client.uploadFile([{"Key":"[***]tes/[***]ial-[***]ck/[***]ment-[***]json"}])
2025-12-07T14:39:58.610Z|info : amplify-provider-awscloudformation.aws-s3.uploadFile.s3.upload([{"Key":"[***]ify-[***]ync-[***]es/[***][***]hash[***]/[***]tes/[***]ial-[***]ck/[***]ment-[***]json","Body":{"fd":null,"path":"/Users/djom202/Documents/projectsAt/Kopiloto/vueapp/amplify/backend/api/KopilotoApi/build/states/initial-stack/deployment-meta.json","flags":"r","mode":438,"end":null,"bytesRead":0,"_events":{},"_readableState":{"highWaterMark":65536,"buffer":[],"bufferIndex":0,"length":0,"pipes":[],"awaitDrainWriters":null},"_eventsCount":1},"Bucket":"[***]ify-[***]loto-[***]in-[***]836-[***]ment"}])
2025-12-07T14:39:58.610Z|info : amplify-provider-awscloudformation.upload-appsync-files.uploadAppSyncFiles.upload.s3Client.uploadFile([{"Key":"[***]tes/[***]ial-[***]ck/[***]mation-[***]e.json"}])
2025-12-07T14:39:58.610Z|info : amplify-provider-awscloudformation.aws-s3.uploadFile.s3.upload([{"Key":"[***]ify-[***]ync-[***]es/[***][***]hash[***]/[***]tes/[***]ial-[***]ck/[***]mation-[***]e.json","Body":{"fd":null,"path":"/Users/djom202/Documents/projectsAt/Kopiloto/vueapp/amplify/backend/api/KopilotoApi/build/states/initial-stack/cloudformation-template.json","flags":"r","mode":438,"end":null,"bytesRead":0,"_events":{},"_readableState":{"highWaterMark":65536,"buffer":[],"bufferIndex":0,"length":0,"pipes":[],"awaitDrainWriters":null},"_eventsCount":1},"Bucket":"[***]ify-[***]loto-[***]in-[***]836-[***]ment"}])
2025-12-07T14:39:58.611Z|info : amplify-provider-awscloudformation.upload-appsync-files.uploadAppSyncFiles.upload.s3Client.uploadFile([{"Key":"[***]tes/[***]ial-[***]ck/[***]cks/[***]rk.json"}])
2025-12-07T14:39:58.611Z|info : amplify-provider-awscloudformation.aws-s3.uploadFile.s3.upload([{"Key":"[***]ify-[***]ync-[***]es/[***][***]hash[***]/[***]tes/[***]ial-[***]ck/[***]cks/[***]rk.json","Body":{"fd":null,"path":"/Users/djom202/Documents/projectsAt/Kopiloto/vueapp/amplify/backend/api/KopilotoApi/build/states/initial-stack/stacks/VehicleMark.json","flags":"r","mode":438,"end":null,"bytesRead":0,"_events":{},"_readableState":{"highWaterMark":65536,"buffer":[],"bufferIndex":0,"length":0,"pipes":[],"awaitDrainWriters":null},"_eventsCount":1},"Bucket":"[***]ify-[***]loto-[***]in-[***]836-[***]ment"}])
2025-12-07T14:39:58.611Z|info : amplify-provider-awscloudformation.upload-appsync-files.uploadAppSyncFiles.upload.s3Client.uploadFile([{"Key":"[***]tes/[***]ial-[***]ck/[***]cks/[***].json"}])
2025-12-07T14:39:58.611Z|info : amplify-provider-awscloudformation.aws-s3.uploadFile.s3.upload([{"Key":"[***]ify-[***]ync-[***]es/[***][***]hash[***]/[***]tes/[***]ial-[***]ck/[***]cks/[***].json","Body":{"fd":null,"path":"/Users/djom202/Documents/projectsAt/Kopiloto/vueapp/amplify/backend/api/KopilotoApi/build/states/initial-stack/stacks/Vehicle.json","flags":"r","mode":438,"end":null,"bytesRead":0,"_events":{},"_readableState":{"highWaterMark":65536,"buffer":[],"bufferIndex":0,"length":0,"pipes":[],"awaitDrainWriters":null},"_eventsCount":1},"Bucket":"[***]ify-[***]loto-[***]in-[***]836-[***]ment"}])
2025-12-07T14:39:58.611Z|info : amplify-provider-awscloudformation.upload-appsync-files.uploadAppSyncFiles.upload.s3Client.uploadFile([{"Key":"[***]tes/[***]ial-[***]ck/[***]cks/[***]json"}])
2025-12-07T14:39:58.611Z|info : amplify-provider-awscloudformation.aws-s3.uploadFile.s3.upload([{"Key":"[***]ify-[***]ync-[***]es/[***][***]hash[***]/[***]tes/[***]ial-[***]ck/[***]cks/[***]json","Body":{"fd":null,"path":"/Users/djom202/Documents/projectsAt/Kopiloto/vueapp/amplify/backend/api/KopilotoApi/build/states/initial-stack/stacks/User.json","flags":"r","mode":438,"end":null,"bytesRead":0,"_events":{},"_readableState":{"highWaterMark":65536,"buffer":[],"bufferIndex":0,"length":0,"pipes":[],"awaitDrainWriters":null},"_eventsCount":1},"Bucket":"[***]ify-[***]loto-[***]in-[***]836-[***]ment"}])
2025-12-07T14:39:58.611Z|info : amplify-provider-awscloudformation.upload-appsync-files.uploadAppSyncFiles.upload.s3Client.uploadFile([{"Key":"[***]tes/[***]ial-[***]ck/[***]cks/[***]k.json"}])
2025-12-07T14:39:58.611Z|info : amplify-provider-awscloudformation.aws-s3.uploadFile.s3.upload([{"Key":"[***]ify-[***]ync-[***]es/[***][***]hash[***]/[***]tes/[***]ial-[***]ck/[***]cks/[***]k.json","Body":{"fd":null,"path":"/Users/djom202/Documents/projectsAt/Kopiloto/vueapp/amplify/backend/api/KopilotoApi/build/states/initial-stack/stacks/TireMark.json","flags":"r","mode":438,"end":null,"bytesRead":0,"_events":{},"_readableState":{"highWaterMark":65536,"buffer":[],"bufferIndex":0,"length":0,"pipes":[],"awaitDrainWriters":null},"_eventsCount":1},"Bucket":"[***]ify-[***]loto-[***]in-[***]836-[***]ment"}])
2025-12-07T14:39:58.611Z|info : amplify-provider-awscloudformation.upload-appsync-files.uploadAppSyncFiles.upload.s3Client.uploadFile([{"Key":"[***]tes/[***]ial-[***]ck/[***]cks/[***]json"}])
2025-12-07T14:39:58.611Z|info : amplify-provider-awscloudformation.aws-s3.uploadFile.s3.upload([{"Key":"[***]ify-[***]ync-[***]es/[***][***]hash[***]/[***]tes/[***]ial-[***]ck/[***]cks/[***]json","Body":{"fd":null,"path":"/Users/djom202/Documents/projectsAt/Kopiloto/vueapp/amplify/backend/api/KopilotoApi/build/states/initial-stack/stacks/Tire.json","flags":"r","mode":438,"end":null,"bytesRead":0,"_events":{},"_readableState":{"highWaterMark":65536,"buffer":[],"bufferIndex":0,"length":0,"pipes":[],"awaitDrainWriters":null},"_eventsCount":1},"Bucket":"[***]ify-[***]loto-[***]in-[***]836-[***]ment"}])
2025-12-07T14:39:58.611Z|info : amplify-provider-awscloudformation.upload-appsync-files.uploadAppSyncFiles.upload.s3Client.uploadFile([{"Key":"[***]tes/[***]ial-[***]ck/[***]cks/[***]ical.json"}])
2025-12-07T14:39:58.611Z|info : amplify-provider-awscloudformation.aws-s3.uploadFile.s3.upload([{"Key":"[***]ify-[***]ync-[***]es/[***][***]hash[***]/[***]tes/[***]ial-[***]ck/[***]cks/[***]ical.json","Body":{"fd":null,"path":"/Users/djom202/Documents/projectsAt/Kopiloto/vueapp/amplify/backend/api/KopilotoApi/build/states/initial-stack/stacks/Technomechanical.json","flags":"r","mode":438,"end":null,"bytesRead":0,"_events":{},"_readableState":{"highWaterMark":65536,"buffer":[],"bufferIndex":0,"length":0,"pipes":[],"awaitDrainWriters":null},"_eventsCount":1},"Bucket":"[***]ify-[***]loto-[***]in-[***]836-[***]ment"}])
2025-12-07T14:39:58.611Z|info : amplify-provider-awscloudformation.upload-appsync-files.uploadAppSyncFiles.upload.s3Client.uploadFile([{"Key":"[***]tes/[***]ial-[***]ck/[***]cks/[***]nce.json"}])
2025-12-07T14:39:58.611Z|info : amplify-provider-awscloudformation.aws-s3.uploadFile.s3.upload([{"Key":"[***]ify-[***]ync-[***]es/[***][***]hash[***]/[***]tes/[***]ial-[***]ck/[***]cks/[***]nce.json","Body":{"fd":null,"path":"/Users/djom202/Documents/projectsAt/Kopiloto/vueapp/amplify/backend/api/KopilotoApi/build/states/initial-stack/stacks/SpareReference.json","flags":"r","mode":438,"end":null,"bytesRead":0,"_events":{},"_readableState":{"highWaterMark":65536,"buffer":[],"bufferIndex":0,"length":0,"pipes":[],"awaitDrainWriters":null},"_eventsCount":1},"Bucket":"[***]ify-[***]loto-[***]in-[***]836-[***]ment"}])
2025-12-07T14:39:58.611Z|info : amplify-provider-awscloudformation.upload-appsync-files.uploadAppSyncFiles.upload.s3Client.uploadFile([{"Key":"[***]tes/[***]ial-[***]ck/[***]cks/[***]nce.json"}])
2025-12-07T14:39:58.611Z|info : amplify-provider-awscloudformation.aws-s3.uploadFile.s3.upload([{"Key":"[***]ify-[***]ync-[***]es/[***][***]hash[***]/[***]tes/[***]ial-[***]ck/[***]cks/[***]nce.json","Body":{"fd":null,"path":"/Users/djom202/Documents/projectsAt/Kopiloto/vueapp/amplify/backend/api/KopilotoApi/build/states/initial-stack/stacks/SoatReference.json","flags":"r","mode":438,"end":null,"bytesRead":0,"_events":{},"_readableState":{"highWaterMark":65536,"buffer":[],"bufferIndex":0,"length":0,"pipes":[],"awaitDrainWriters":null},"_eventsCount":1},"Bucket":"[***]ify-[***]loto-[***]in-[***]836-[***]ment"}])
2025-12-07T14:39:58.611Z|info : amplify-provider-awscloudformation.upload-appsync-files.uploadAppSyncFiles.upload.s3Client.uploadFile([{"Key":"[***]tes/[***]ial-[***]ck/[***]cks/[***]json"}])
2025-12-07T14:39:58.611Z|info : amplify-provider-awscloudformation.aws-s3.uploadFile.s3.upload([{"Key":"[***]ify-[***]ync-[***]es/[***][***]hash[***]/[***]tes/[***]ial-[***]ck/[***]cks/[***]json","Body":{"fd":null,"path":"/Users/djom202/Documents/projectsAt/Kopiloto/vueapp/amplify/backend/api/KopilotoApi/build/states/initial-stack/stacks/Soat.json","flags":"r","mode":438,"end":null,"bytesRead":0,"_events":{},"_readableState":{"highWaterMark":65536,"buffer":[],"bufferIndex":0,"length":0,"pipes":[],"awaitDrainWriters":null},"_eventsCount":1},"Bucket":"[***]ify-[***]loto-[***]in-[***]836-[***]ment"}])
2025-12-07T14:39:58.611Z|info : amplify-provider-awscloudformation.upload-appsync-files.uploadAppSyncFiles.upload.s3Client.uploadFile([{"Key":"[***]tes/[***]ial-[***]ck/[***]cks/[***]r.json"}])
2025-12-07T14:39:58.611Z|info : amplify-provider-awscloudformation.aws-s3.uploadFile.s3.upload([{"Key":"[***]ify-[***]ync-[***]es/[***][***]hash[***]/[***]tes/[***]ial-[***]ck/[***]cks/[***]r.json","Body":{"fd":null,"path":"/Users/djom202/Documents/projectsAt/Kopiloto/vueapp/amplify/backend/api/KopilotoApi/build/states/initial-stack/stacks/Reminder.json","flags":"r","mode":438,"end":null,"bytesRead":0,"_events":{},"_readableState":{"highWaterMark":65536,"buffer":[],"bufferIndex":0,"length":0,"pipes":[],"awaitDrainWriters":null},"_eventsCount":1},"Bucket":"[***]ify-[***]loto-[***]in-[***]836-[***]ment"}])
2025-12-07T14:39:58.611Z|info : amplify-provider-awscloudformation.upload-appsync-files.uploadAppSyncFiles.upload.s3Client.uploadFile([{"Key":"[***]tes/[***]ial-[***]ck/[***]cks/[***]alog.json"}])
2025-12-07T14:39:58.611Z|info : amplify-provider-awscloudformation.aws-s3.uploadFile.s3.upload([{"Key":"[***]ify-[***]ync-[***]es/[***][***]hash[***]/[***]tes/[***]ial-[***]ck/[***]cks/[***]alog.json","Body":{"fd":null,"path":"/Users/djom202/Documents/projectsAt/Kopiloto/vueapp/amplify/backend/api/KopilotoApi/build/states/initial-stack/stacks/RedemptionCatalog.json","flags":"r","mode":438,"end":null,"bytesRead":0,"_events":{},"_readableState":{"highWaterMark":65536,"buffer":[],"bufferIndex":0,"length":0,"pipes":[],"awaitDrainWriters":null},"_eventsCount":1},"Bucket":"[***]ify-[***]loto-[***]in-[***]836-[***]ment"}])
2025-12-07T14:39:58.611Z|info : amplify-provider-awscloudformation.upload-appsync-files.uploadAppSyncFiles.upload.s3Client.uploadFile([{"Key":"[***]tes/[***]ial-[***]ck/[***]cks/[***]n.json"}])
2025-12-07T14:39:58.611Z|info : amplify-provider-awscloudformation.aws-s3.uploadFile.s3.upload([{"Key":"[***]ify-[***]ync-[***]es/[***][***]hash[***]/[***]tes/[***]ial-[***]ck/[***]cks/[***]n.json","Body":{"fd":null,"path":"/Users/djom202/Documents/projectsAt/Kopiloto/vueapp/amplify/backend/api/KopilotoApi/build/states/initial-stack/stacks/Redemption.json","flags":"r","mode":438,"end":null,"bytesRead":0,"_events":{},"_readableState":{"highWaterMark":65536,"buffer":[],"bufferIndex":0,"length":0,"pipes":[],"awaitDrainWriters":null},"_eventsCount":1},"Bucket":"[***]ify-[***]loto-[***]in-[***]836-[***]ment"}])
2025-12-07T14:39:58.611Z|info : amplify-provider-awscloudformation.upload-appsync-files.uploadAppSyncFiles.upload.s3Client.uploadFile([{"Key":"[***]tes/[***]ial-[***]ck/[***]cks/[***]json"}])
2025-12-07T14:39:58.611Z|info : amplify-provider-awscloudformation.aws-s3.uploadFile.s3.upload([{"Key":"[***]ify-[***]ync-[***]es/[***][***]hash[***]/[***]tes/[***]ial-[***]ck/[***]cks/[***]json","Body":{"fd":null,"path":"/Users/djom202/Documents/projectsAt/Kopiloto/vueapp/amplify/backend/api/KopilotoApi/build/states/initial-stack/stacks/Party.json","flags":"r","mode":438,"end":null,"bytesRead":0,"_events":{},"_readableState":{"highWaterMark":65536,"buffer":[],"bufferIndex":0,"length":0,"pipes":[],"awaitDrainWriters":null},"_eventsCount":1},"Bucket":"[***]ify-[***]loto-[***]in-[***]836-[***]ment"}])
2025-12-07T14:39:58.611Z|info : amplify-provider-awscloudformation.upload-appsync-files.uploadAppSyncFiles.upload.s3Client.uploadFile([{"Key":"[***]tes/[***]ial-[***]ck/[***]cks/[***].json"}])
2025-12-07T14:39:58.611Z|info : amplify-provider-awscloudformation.aws-s3.uploadFile.s3.upload([{"Key":"[***]ify-[***]ync-[***]es/[***][***]hash[***]/[***]tes/[***]ial-[***]ck/[***]cks/[***].json","Body":{"fd":null,"path":"/Users/djom202/Documents/projectsAt/Kopiloto/vueapp/amplify/backend/api/KopilotoApi/build/states/initial-stack/stacks/Notify.json","flags":"r","mode":438,"end":null,"bytesRead":0,"_events":{},"_readableState":{"highWaterMark":65536,"buffer":[],"bufferIndex":0,"length":0,"pipes":[],"awaitDrainWriters":null},"_eventsCount":1},"Bucket":"[***]ify-[***]loto-[***]in-[***]836-[***]ment"}])
2025-12-07T14:39:58.611Z|info : amplify-provider-awscloudformation.upload-appsync-files.uploadAppSyncFiles.upload.s3Client.uploadFile([{"Key":"[***]tes/[***]ial-[***]ck/[***]cks/[***]ns.json"}])
2025-12-07T14:39:58.611Z|info : amplify-provider-awscloudformation.aws-s3.uploadFile.s3.upload([{"Key":"[***]ify-[***]ync-[***]es/[***][***]hash[***]/[***]tes/[***]ial-[***]ck/[***]cks/[***]ns.json","Body":{"fd":null,"path":"/Users/djom202/Documents/projectsAt/Kopiloto/vueapp/amplify/backend/api/KopilotoApi/build/states/initial-stack/stacks/MenuOptions.json","flags":"r","mode":438,"end":null,"bytesRead":0,"_events":{},"_readableState":{"highWaterMark":65536,"buffer":[],"bufferIndex":0,"length":0,"pipes":[],"awaitDrainWriters":null},"_eventsCount":1},"Bucket":"[***]ify-[***]loto-[***]in-[***]836-[***]ment"}])
2025-12-07T14:39:58.611Z|info : amplify-provider-awscloudformation.upload-appsync-files.uploadAppSyncFiles.upload.s3Client.uploadFile([{"Key":"[***]tes/[***]ial-[***]ck/[***]cks/[***]ark.json"}])
2025-12-07T14:39:58.611Z|info : amplify-provider-awscloudformation.aws-s3.uploadFile.s3.upload([{"Key":"[***]ify-[***]ync-[***]es/[***][***]hash[***]/[***]tes/[***]ial-[***]ck/[***]cks/[***]ark.json","Body":{"fd":null,"path":"/Users/djom202/Documents/projectsAt/Kopiloto/vueapp/amplify/backend/api/KopilotoApi/build/states/initial-stack/stacks/LubricantMark.json","flags":"r","mode":438,"end":null,"bytesRead":0,"_events":{},"_readableState":{"highWaterMark":65536,"buffer":[],"bufferIndex":0,"length":0,"pipes":[],"awaitDrainWriters":null},"_eventsCount":1},"Bucket":"[***]ify-[***]loto-[***]in-[***]836-[***]ment"}])
2025-12-07T14:39:58.611Z|info : amplify-provider-awscloudformation.upload-appsync-files.uploadAppSyncFiles.upload.s3Client.uploadFile([{"Key":"[***]tes/[***]ial-[***]ck/[***]cks/[***]t.json"}])
2025-12-07T14:39:58.611Z|info : amplify-provider-awscloudformation.aws-s3.uploadFile.s3.upload([{"Key":"[***]ify-[***]ync-[***]es/[***][***]hash[***]/[***]tes/[***]ial-[***]ck/[***]cks/[***]t.json","Body":{"fd":null,"path":"/Users/djom202/Documents/projectsAt/Kopiloto/vueapp/amplify/backend/api/KopilotoApi/build/states/initial-stack/stacks/Lubricant.json","flags":"r","mode":438,"end":null,"bytesRead":0,"_events":{},"_readableState":{"highWaterMark":65536,"buffer":[],"bufferIndex":0,"length":0,"pipes":[],"awaitDrainWriters":null},"_eventsCount":1},"Bucket":"[***]ify-[***]loto-[***]in-[***]836-[***]ment"}])
2025-12-07T14:39:58.611Z|info : amplify-provider-awscloudformation.upload-appsync-files.uploadAppSyncFiles.upload.s3Client.uploadFile([{"Key":"[***]tes/[***]ial-[***]ck/[***]cks/[***]n.json"}])
2025-12-07T14:39:58.612Z|info : amplify-provider-awscloudformation.aws-s3.uploadFile.s3.upload([{"Key":"[***]ify-[***]ync-[***]es/[***][***]hash[***]/[***]tes/[***]ial-[***]ck/[***]cks/[***]n.json","Body":{"fd":null,"path":"/Users/djom202/Documents/projectsAt/Kopiloto/vueapp/amplify/backend/api/KopilotoApi/build/states/initial-stack/stacks/Location.json","flags":"r","mode":438,"end":null,"bytesRead":0,"_events":{},"_readableState":{"highWaterMark":65536,"buffer":[],"bufferIndex":0,"length":0,"pipes":[],"awaitDrainWriters":null},"_eventsCount":1},"Bucket":"[***]ify-[***]loto-[***]in-[***]836-[***]ment"}])
2025-12-07T14:39:58.612Z|info : amplify-provider-awscloudformation.upload-appsync-files.uploadAppSyncFiles.upload.s3Client.uploadFile([{"Key":"[***]tes/[***]ial-[***]ck/[***]cks/[***]ent.json"}])
2025-12-07T14:39:58.612Z|info : amplify-provider-awscloudformation.aws-s3.uploadFile.s3.upload([{"Key":"[***]ify-[***]ync-[***]es/[***][***]hash[***]/[***]tes/[***]ial-[***]ck/[***]cks/[***]ent.json","Body":{"fd":null,"path":"/Users/djom202/Documents/projectsAt/Kopiloto/vueapp/amplify/backend/api/KopilotoApi/build/states/initial-stack/stacks/InvoicesPayment.json","flags":"r","mode":438,"end":null,"bytesRead":0,"_events":{},"_readableState":{"highWaterMark":65536,"buffer":[],"bufferIndex":0,"length":0,"pipes":[],"awaitDrainWriters":null},"_eventsCount":1},"Bucket":"[***]ify-[***]loto-[***]in-[***]836-[***]ment"}])
2025-12-07T14:39:58.612Z|info : amplify-provider-awscloudformation.upload-appsync-files.uploadAppSyncFiles.upload.s3Client.uploadFile([{"Key":"[***]tes/[***]ial-[***]ck/[***]cks/[***]nts.json"}])
2025-12-07T14:39:58.612Z|info : amplify-provider-awscloudformation.aws-s3.uploadFile.s3.upload([{"Key":"[***]ify-[***]ync-[***]es/[***][***]hash[***]/[***]tes/[***]ial-[***]ck/[***]cks/[***]nts.json","Body":{"fd":null,"path":"/Users/djom202/Documents/projectsAt/Kopiloto/vueapp/amplify/backend/api/KopilotoApi/build/states/initial-stack/stacks/InvoicePayments.json","flags":"r","mode":438,"end":null,"bytesRead":0,"_events":{},"_readableState":{"highWaterMark":65536,"buffer":[],"bufferIndex":0,"length":0,"pipes":[],"awaitDrainWriters":null},"_eventsCount":1},"Bucket":"[***]ify-[***]loto-[***]in-[***]836-[***]ment"}])
2025-12-07T14:39:58.612Z|info : amplify-provider-awscloudformation.upload-appsync-files.uploadAppSyncFiles.upload.s3Client.uploadFile([{"Key":"[***]tes/[***]ial-[***]ck/[***]cks/[***]em.json"}])
2025-12-07T14:39:58.612Z|info : amplify-provider-awscloudformation.aws-s3.uploadFile.s3.upload([{"Key":"[***]ify-[***]ync-[***]es/[***][***]hash[***]/[***]tes/[***]ial-[***]ck/[***]cks/[***]em.json","Body":{"fd":null,"path":"/Users/djom202/Documents/projectsAt/Kopiloto/vueapp/amplify/backend/api/KopilotoApi/build/states/initial-stack/stacks/InvoiceItem.json","flags":"r","mode":438,"end":null,"bytesRead":0,"_events":{},"_readableState":{"highWaterMark":65536,"buffer":[],"bufferIndex":0,"length":0,"pipes":[],"awaitDrainWriters":null},"_eventsCount":1},"Bucket":"[***]ify-[***]loto-[***]in-[***]836-[***]ment"}])
2025-12-07T14:39:58.612Z|info : amplify-provider-awscloudformation.upload-appsync-files.uploadAppSyncFiles.upload.s3Client.uploadFile([{"Key":"[***]tes/[***]ial-[***]ck/[***]cks/[***].json"}])
2025-12-07T14:39:58.612Z|info : amplify-provider-awscloudformation.aws-s3.uploadFile.s3.upload([{"Key":"[***]ify-[***]ync-[***]es/[***][***]hash[***]/[***]tes/[***]ial-[***]ck/[***]cks/[***].json","Body":{"fd":null,"path":"/Users/djom202/Documents/projectsAt/Kopiloto/vueapp/amplify/backend/api/KopilotoApi/build/states/initial-stack/stacks/Invoice.json","flags":"r","mode":438,"end":null,"bytesRead":0,"_events":{},"_readableState":{"highWaterMark":65536,"buffer":[],"bufferIndex":0,"length":0,"pipes":[],"awaitDrainWriters":null},"_eventsCount":1},"Bucket":"[***]ify-[***]loto-[***]in-[***]836-[***]ment"}])
2025-12-07T14:39:58.612Z|info : amplify-provider-awscloudformation.upload-appsync-files.uploadAppSyncFiles.upload.s3Client.uploadFile([{"Key":"[***]tes/[***]ial-[***]ck/[***]cks/[***]e.json"}])
2025-12-07T14:39:58.612Z|info : amplify-provider-awscloudformation.aws-s3.uploadFile.s3.upload([{"Key":"[***]ify-[***]ync-[***]es/[***][***]hash[***]/[***]tes/[***]ial-[***]ck/[***]cks/[***]e.json","Body":{"fd":null,"path":"/Users/djom202/Documents/projectsAt/Kopiloto/vueapp/amplify/backend/api/KopilotoApi/build/states/initial-stack/stacks/Geofence.json","flags":"r","mode":438,"end":null,"bytesRead":0,"_events":{},"_readableState":{"highWaterMark":65536,"buffer":[],"bufferIndex":0,"length":0,"pipes":[],"awaitDrainWriters":null},"_eventsCount":1},"Bucket":"[***]ify-[***]loto-[***]in-[***]836-[***]ment"}])
2025-12-07T14:39:58.612Z|info : amplify-provider-awscloudformation.upload-appsync-files.uploadAppSyncFiles.upload.s3Client.uploadFile([{"Key":"[***]tes/[***]ial-[***]ck/[***]cks/[***]json"}])
2025-12-07T14:39:58.612Z|info : amplify-provider-awscloudformation.aws-s3.uploadFile.s3.upload([{"Key":"[***]ify-[***]ync-[***]es/[***][***]hash[***]/[***]tes/[***]ial-[***]ck/[***]cks/[***]json","Body":{"fd":null,"path":"/Users/djom202/Documents/projectsAt/Kopiloto/vueapp/amplify/backend/api/KopilotoApi/build/states/initial-stack/stacks/File.json","flags":"r","mode":438,"end":null,"bytesRead":0,"_events":{},"_readableState":{"highWaterMark":65536,"buffer":[],"bufferIndex":0,"length":0,"pipes":[],"awaitDrainWriters":null},"_eventsCount":1},"Bucket":"[***]ify-[***]loto-[***]in-[***]836-[***]ment"}])
2025-12-07T14:39:58.612Z|info : amplify-provider-awscloudformation.upload-appsync-files.uploadAppSyncFiles.upload.s3Client.uploadFile([{"Key":"[***]tes/[***]ial-[***]ck/[***]cks/[***]e.json"}])
2025-12-07T14:39:58.612Z|info : amplify-provider-awscloudformation.aws-s3.uploadFile.s3.upload([{"Key":"[***]ify-[***]ync-[***]es/[***][***]hash[***]/[***]tes/[***]ial-[***]ck/[***]cks/[***]e.json","Body":{"fd":null,"path":"/Users/djom202/Documents/projectsAt/Kopiloto/vueapp/amplify/backend/api/KopilotoApi/build/states/initial-stack/stacks/Enterprise.json","flags":"r","mode":438,"end":null,"bytesRead":0,"_events":{},"_readableState":{"highWaterMark":65536,"buffer":[],"bufferIndex":0,"length":0,"pipes":[],"awaitDrainWriters":null},"_eventsCount":1},"Bucket":"[***]ify-[***]loto-[***]in-[***]836-[***]ment"}])
2025-12-07T14:39:58.612Z|info : amplify-provider-awscloudformation.upload-appsync-files.uploadAppSyncFiles.upload.s3Client.uploadFile([{"Key":"[***]tes/[***]ial-[***]ck/[***]cks/[***]ces.json"}])
2025-12-07T14:39:58.612Z|info : amplify-provider-awscloudformation.aws-s3.uploadFile.s3.upload([{"Key":"[***]ify-[***]ync-[***]es/[***][***]hash[***]/[***]tes/[***]ial-[***]ck/[***]cks/[***]ces.json","Body":{"fd":null,"path":"/Users/djom202/Documents/projectsAt/Kopiloto/vueapp/amplify/backend/api/KopilotoApi/build/states/initial-stack/stacks/CustomResources.json","flags":"r","mode":438,"end":null,"bytesRead":0,"_events":{},"_readableState":{"highWaterMark":65536,"buffer":[],"bufferIndex":0,"length":0,"pipes":[],"awaitDrainWriters":null},"_eventsCount":1},"Bucket":"[***]ify-[***]loto-[***]in-[***]836-[***]ment"}])
2025-12-07T14:39:58.612Z|info : amplify-provider-awscloudformation.upload-appsync-files.uploadAppSyncFiles.upload.s3Client.uploadFile([{"Key":"[***]tes/[***]ial-[***]ck/[***]cks/[***]ack.json"}])
2025-12-07T14:39:58.612Z|info : amplify-provider-awscloudformation.aws-s3.uploadFile.s3.upload([{"Key":"[***]ify-[***]ync-[***]es/[***][***]hash[***]/[***]tes/[***]ial-[***]ck/[***]cks/[***]ack.json","Body":{"fd":null,"path":"/Users/djom202/Documents/projectsAt/Kopiloto/vueapp/amplify/backend/api/KopilotoApi/build/states/initial-stack/stacks/ConnectionStack.json","flags":"r","mode":438,"end":null,"bytesRead":0,"_events":{},"_readableState":{"highWaterMark":65536,"buffer":[],"bufferIndex":0,"length":0,"pipes":[],"awaitDrainWriters":null},"_eventsCount":1},"Bucket":"[***]ify-[***]loto-[***]in-[***]836-[***]ment"}])
2025-12-07T14:39:58.612Z|info : amplify-provider-awscloudformation.upload-appsync-files.uploadAppSyncFiles.upload.s3Client.uploadFile([{"Key":"[***]tes/[***]ial-[***]ck/[***]cks/[***].json"}])
2025-12-07T14:39:58.612Z|info : amplify-provider-awscloudformation.aws-s3.uploadFile.s3.upload([{"Key":"[***]ify-[***]ync-[***]es/[***][***]hash[***]/[***]tes/[***]ial-[***]ck/[***]cks/[***].json","Body":{"fd":null,"path":"/Users/djom202/Documents/projectsAt/Kopiloto/vueapp/amplify/backend/api/KopilotoApi/build/states/initial-stack/stacks/Catalog.json","flags":"r","mode":438,"end":null,"bytesRead":0,"_events":{},"_readableState":{"highWaterMark":65536,"buffer":[],"bufferIndex":0,"length":0,"pipes":[],"awaitDrainWriters":null},"_eventsCount":1},"Bucket":"[***]ify-[***]loto-[***]in-[***]836-[***]ment"}])
2025-12-07T14:39:58.612Z|info : amplify-provider-awscloudformation.upload-appsync-files.uploadAppSyncFiles.upload.s3Client.uploadFile([{"Key":"[***]tes/[***]ial-[***]ck/[***]cks/[***]ence.json"}])
2025-12-07T14:39:58.612Z|info : amplify-provider-awscloudformation.aws-s3.uploadFile.s3.upload([{"Key":"[***]ify-[***]ync-[***]es/[***][***]hash[***]/[***]tes/[***]ial-[***]ck/[***]cks/[***]ence.json","Body":{"fd":null,"path":"/Users/djom202/Documents/projectsAt/Kopiloto/vueapp/amplify/backend/api/KopilotoApi/build/states/initial-stack/stacks/BatteryReference.json","flags":"r","mode":438,"end":null,"bytesRead":0,"_events":{},"_readableState":{"highWaterMark":65536,"buffer":[],"bufferIndex":0,"length":0,"pipes":[],"awaitDrainWriters":null},"_eventsCount":1},"Bucket":"[***]ify-[***]loto-[***]in-[***]836-[***]ment"}])
2025-12-07T14:39:58.612Z|info : amplify-provider-awscloudformation.upload-appsync-files.uploadAppSyncFiles.upload.s3Client.uploadFile([{"Key":"[***]tes/[***]ial-[***]ck/[***]cks/[***]rk.json"}])
2025-12-07T14:39:58.612Z|info : amplify-provider-awscloudformation.aws-s3.uploadFile.s3.upload([{"Key":"[***]ify-[***]ync-[***]es/[***][***]hash[***]/[***]tes/[***]ial-[***]ck/[***]cks/[***]rk.json","Body":{"fd":null,"path":"/Users/djom202/Documents/projectsAt/Kopiloto/vueapp/amplify/backend/api/KopilotoApi/build/states/initial-stack/stacks/BatteryMark.json","flags":"r","mode":438,"end":null,"bytesRead":0,"_events":{},"_readableState":{"highWaterMark":65536,"buffer":[],"bufferIndex":0,"length":0,"pipes":[],"awaitDrainWriters":null},"_eventsCount":1},"Bucket":"[***]ify-[***]loto-[***]in-[***]836-[***]ment"}])
2025-12-07T14:39:58.612Z|info : amplify-provider-awscloudformation.upload-appsync-files.uploadAppSyncFiles.upload.s3Client.uploadFile([{"Key":"[***]tes/[***]ial-[***]ck/[***]cks/[***].json"}])
2025-12-07T14:39:58.612Z|info : amplify-provider-awscloudformation.aws-s3.uploadFile.s3.upload([{"Key":"[***]ify-[***]ync-[***]es/[***][***]hash[***]/[***]tes/[***]ial-[***]ck/[***]cks/[***].json","Body":{"fd":null,"path":"/Users/djom202/Documents/projectsAt/Kopiloto/vueapp/amplify/backend/api/KopilotoApi/build/states/initial-stack/stacks/Battery.json","flags":"r","mode":438,"end":null,"bytesRead":0,"_events":{},"_readableState":{"highWaterMark":65536,"buffer":[],"bufferIndex":0,"length":0,"pipes":[],"awaitDrainWriters":null},"_eventsCount":1},"Bucket":"[***]ify-[***]loto-[***]in-[***]836-[***]ment"}])
2025-12-07T14:39:58.612Z|info : amplify-provider-awscloudformation.upload-appsync-files.uploadAppSyncFiles.upload.s3Client.uploadFile([{"Key":"[***]tes/[***]ial-[***]ck/[***]cks/[***]ory.json"}])
2025-12-07T14:39:58.612Z|info : amplify-provider-awscloudformation.aws-s3.uploadFile.s3.upload([{"Key":"[***]ify-[***]ync-[***]es/[***][***]hash[***]/[***]tes/[***]ial-[***]ck/[***]cks/[***]ory.json","Body":{"fd":null,"path":"/Users/djom202/Documents/projectsAt/Kopiloto/vueapp/amplify/backend/api/KopilotoApi/build/states/initial-stack/stacks/ActivityHistory.json","flags":"r","mode":438,"end":null,"bytesRead":0,"_events":{},"_readableState":{"highWaterMark":65536,"buffer":[],"bufferIndex":0,"length":0,"pipes":[],"awaitDrainWriters":null},"_eventsCount":1},"Bucket":"[***]ify-[***]loto-[***]in-[***]836-[***]ment"}])
2025-12-07T14:39:58.612Z|info : amplify-provider-awscloudformation.upload-appsync-files.uploadAppSyncFiles.upload.s3Client.uploadFile([{"Key":"[***]tes/[***]ial-[***]ck/[***]cks/[***]y.json"}])
2025-12-07T14:39:58.612Z|info : amplify-provider-awscloudformation.aws-s3.uploadFile.s3.upload([{"Key":"[***]ify-[***]ync-[***]es/[***][***]hash[***]/[***]tes/[***]ial-[***]ck/[***]cks/[***]y.json","Body":{"fd":null,"path":"/Users/djom202/Documents/projectsAt/Kopiloto/vueapp/amplify/backend/api/KopilotoApi/build/states/initial-stack/stacks/Activity.json","flags":"r","mode":438,"end":null,"bytesRead":0,"_events":{},"_readableState":{"highWaterMark":65536,"buffer":[],"bufferIndex":0,"length":0,"pipes":[],"awaitDrainWriters":null},"_eventsCount":1},"Bucket":"[***]ify-[***]loto-[***]in-[***]836-[***]ment"}])
2025-12-07T14:39:58.612Z|info : amplify-provider-awscloudformation.upload-appsync-files.uploadAppSyncFiles.upload.s3Client.uploadFile([{"Key":"[***]tes/[***]ial-[***]ck/[***]cks/[***].json"}])
2025-12-07T14:39:58.612Z|info : amplify-provider-awscloudformation.aws-s3.uploadFile.s3.upload([{"Key":"[***]ify-[***]ync-[***]es/[***][***]hash[***]/[***]tes/[***]ial-[***]ck/[***]cks/[***].json","Body":{"fd":null,"path":"/Users/djom202/Documents/projectsAt/Kopiloto/vueapp/amplify/backend/api/KopilotoApi/build/states/initial-stack/stacks/Account.json","flags":"r","mode":438,"end":null,"bytesRead":0,"_events":{},"_readableState":{"highWaterMark":65536,"buffer":[],"bufferIndex":0,"length":0,"pipes":[],"awaitDrainWriters":null},"_eventsCount":1},"Bucket":"[***]ify-[***]loto-[***]in-[***]836-[***]ment"}])
2025-12-07T14:39:58.612Z|info : amplify-provider-awscloudformation.upload-appsync-files.uploadAppSyncFiles.upload.s3Client.uploadFile([{"Key":"[***]tes/[***]ial-[***]ck/[***]vers/[***]rk.res.vtl"}])
2025-12-07T14:39:58.612Z|info : amplify-provider-awscloudformation.aws-s3.uploadFile.s3.upload([{"Key":"[***]ify-[***]ync-[***]es/[***][***]hash[***]/[***]tes/[***]ial-[***]ck/[***]vers/[***]rk.res.vtl","Body":{"fd":null,"path":"/Users/djom202/Documents/projectsAt/Kopiloto/vueapp/amplify/backend/api/KopilotoApi/build/states/initial-stack/resolvers/Vehicle.tiresMark.res.vtl","flags":"r","mode":438,"end":null,"bytesRead":0,"_events":{},"_readableState":{"highWaterMark":65536,"buffer":[],"bufferIndex":0,"length":0,"pipes":[],"awaitDrainWriters":null},"_eventsCount":1},"Bucket":"[***]ify-[***]loto-[***]in-[***]836-[***]ment"}])
2025-12-07T14:39:58.612Z|info : amplify-provider-awscloudformation.upload-appsync-files.uploadAppSyncFiles.upload.s3Client.uploadFile([{"Key":"[***]tes/[***]ial-[***]ck/[***]vers/[***]rk.req.vtl"}])
2025-12-07T14:39:58.612Z|info : amplify-provider-awscloudformation.aws-s3.uploadFile.s3.upload([{"Key":"[***]ify-[***]ync-[***]es/[***][***]hash[***]/[***]tes/[***]ial-[***]ck/[***]vers/[***]rk.req.vtl","Body":{"fd":null,"path":"/Users/djom202/Documents/projectsAt/Kopiloto/vueapp/amplify/backend/api/KopilotoApi/build/states/initial-stack/resolvers/Vehicle.tiresMark.req.vtl","flags":"r","mode":438,"end":null,"bytesRead":0,"_events":{},"_readableState":{"highWaterMark":65536,"buffer":[],"bufferIndex":0,"length":0,"pipes":[],"awaitDrainWriters":null},"_eventsCount":1},"Bucket":"[***]ify-[***]loto-[***]in-[***]836-[***]ment"}])
2025-12-07T14:39:58.612Z|info : amplify-provider-awscloudformation.upload-appsync-files.uploadAppSyncFiles.upload.s3Client.uploadFile([{"Key":"[***]tes/[***]ial-[***]ck/[***]vers/[***]uth.1.req.vtl"}])
2025-12-07T14:39:58.612Z|info : amplify-provider-awscloudformation.aws-s3.uploadFile.s3.upload([{"Key":"[***]ify-[***]ync-[***]es/[***][***]hash[***]/[***]tes/[***]ial-[***]ck/[***]vers/[***]uth.1.req.vtl","Body":{"fd":null,"path":"/Users/djom202/Documents/projectsAt/Kopiloto/vueapp/amplify/backend/api/KopilotoApi/build/states/initial-

Additional information

Main Dependencies:

  • aws-amplify: ^5.3.10
  • @aws-amplify/datastore: ^4.7.4
  • @aws-sdk/client-cloudwatch-logs: ^3.940.0
  • @aws-sdk/client-dynamodb: ^3.931.0
  • @aws-sdk/client-s3: ^3.946.0
  • @aws-sdk/lib-dynamodb: ^3.931.0

Frontend Framework:

  • Vue.js: ^2.6.11
  • Vue CLI: ~4.3.0

Actual Behavior

  1. Amplify CLI attempts to pass the AuthCognitoUserPoolId parameter to the CloudFormation template
  2. The dynamically generated templates during amplify push do not declare AuthCognitoUserPoolId in the Parameters section
  3. CloudFormation fails with: Parameters: [AuthCognitoUserPoolId] do not exist in the template

Important Observation:
The currently deployed CloudFormation template DOES have the AuthCognitoUserPoolId parameter declared. The issue is with the new templates that Amplify generates during push, which do not include the parameter.


Resources in Stack

Analytics:

  • KopilotoPinpoint (Amazon Pinpoint)

APIs:

  • KopilotoApi (AppSync GraphQL) - Resource affected by the error
  • AdminQueries (API Gateway REST)
  • PublicApi (API Gateway REST)

Auth:

  • KopilotoAuth (Amazon Cognito User Pool)
  • userPoolGroups (Cognito User Pool Groups)

Functions (Lambda):

  • AdminKeysFn, AdminQueriesbd716b4b, ChartsFn, CheckPublicRecordFn
  • KopilotoAuthPreAuthentication, KopilotoAuthPreSignup (Cognito triggers)
  • ScheduleFn, SendEmailsFn
  • kopilotoCoreFn (Lambda Layer)
  • ActivitiesApiV2Fn, ReportsApiV2

Storage:

  • KopilotoStorage (Amazon S3)

Workarounds Attempted

Workarounds Attempted

  1. ❌ Adding dependsOn in backend-config.json - Configured dependency on KopilotoAuth with UserPoolId attribute. Result: Amplify does not automatically generate the parameter in templates.

  2. ❌ Adding additionalAuthTypes in cli-inputs.json - Configured Cognito as additional auth type with AMAZON_COGNITO_USER_POOLS mode. Result: Parameter not declared in generated templates.

  3. ❌ Using Amplify Overrides (amplify override api) - Attempted to modify CloudFormation template via overrides. Result: Gen 1 does not support modifying parameters through overrides.

  4. ❌ Modifying local cloudformation-template.json - Manually added AuthCognitoUserPoolId parameter to local template. Result: Amplify generates new templates in states/initial-stack/ that don't include the parameter.

  5. ❌ Modifying templates in states/initial-stack/cloudformation-template.json - Added parameter to nested stack template. Result: Templates are regenerated during amplify push and changes are lost.

  6. ❌ Modifying parameters.json - Added AuthCognitoUserPoolId with Fn::GetAtt reference. Result: Parameter exists in parameters.json but template doesn't declare it, causing CloudFormation error.

  7. ❌ Using Amplify Hook pre-push.js - Created hook to inject parameter after schema compilation but before S3 upload. Result: Cannot modify templates in states/ that are generated during push process.

  8. ❌ Using Amplify Hook pre-push.sh - Shell script hook with file watcher to correct templates in real-time. Result: Local templates corrected but S3 templates still outdated, error persists.

  9. ❌ Using Amplify Hook post-push.sh - Attempted to download template from S3, add parameter, and re-upload. Result: Timing issues or Amplify overwrites template after hook execution.

  10. ❌ Script fix-template-after-compile.js - Node.js script to inject parameter after amplify api gql-compile. Result: Templates regenerated during push, changes lost.

  11. ❌ Script fix-api-auth-params.js - Script to inject parameter after local build but before S3 upload. Result: Amplify's upload process too fast or re-compiles, changes not persisted.

  12. ❌ Script fix-api-auth-params-watch.js - File watcher script to correct templates in real-time during build. Result: Local templates corrected but S3 templates still missing parameter.

  13. ❌ Script fix-s3-templates.js - Script to correct templates directly in S3 after Amplify's upload. Result: Timing issues or Amplify overwrites during deployment process.

  14. ❌ Script fix-and-continue-rollback.sh - Download template from S3, inject parameter, re-upload, then continue CloudFormation rollback. Result: Template corrected in S3 but deployment still fails with same error.

  15. ❌ Script push-api-with-fix.sh - Combined script to fix templates and push. Result: Multiple attempts failed due to timing and regeneration issues.

  16. ❌ amplify pull - Attempted to sync local state with cloud state. Result: Does not resolve the parameter declaration issue in templates.

  17. ❌ continue-update-rollback - Attempted to continue CloudFormation rollback after fixing template. Result: Not applicable for nested stacks, cannot skip resources in nested stack rollback.

  18. ❌ Removing AuthCognitoUserPoolId from deployment-meta.json - Attempted to remove historical parameter references. Result: Amplify regenerates metadata with parameter references.

  19. ❌ Removing parameter from root stack template - Attempted to remove parameter passing from root stack. Result: Amplify regenerates root stack with parameter references.

  20. ❌ Manual CloudFormation update via AWS Console - Attempted to manually update stack with corrected template. Result: Could work temporarily but Amplify overwrites on next push.

  21. ❌ Changing schema auth from @auth(rules: [{ allow: public }]) to Cognito - Updated GraphQL schema authorization rules. Result: Schema changes compile but deployment still fails with parameter error.

  22. ❌ Synchronizing configuration from working environments - Copied cli-inputs.json and parameters.json from sandbox/dev environments. Result: Same configuration works in other environments but fails in main due to historical stack state.

  23. ❌ Using amplify push --force - Attempted to force update and regenerate templates even when no changes detected. Result: Forces template regeneration and upload but the generated templates still do not include AuthCognitoUserPoolId parameter declaration, same error persists.


Root Cause Analysis

The issue occurs because:

  1. Historical configuration: The AuthCognitoUserPoolId parameter was added when the API previously used Cognito
  2. Persistent metadata: The deployment-meta.json files contain the parameter with historical values
  3. Template generation gap: When Amplify generates new CloudFormation templates during amplify push, it does not automatically declare the AuthCognitoUserPoolId parameter in the Parameters section, even when:
    • dependsOn is configured in backend-config.json
    • additionalAuthTypes is configured in cli-inputs.json

Inconsistency identified:
There is a discrepancy between the currently deployed template (which has the parameter) and the new templates that Amplify generates during push (which don't have it).


Additional Context

  • Stack Status: UPDATE_ROLLBACK_COMPLETE (previous update failed)
  • Environment: Production - Cannot delete the stack
  • Migration Status: Same changes successfully deployed to sandbox and dev environments
  • Schema Changes: Migrating from @auth(rules: [{ allow: public }]) to Cognito-based rules (owner/group)

Is there a way to make Amplify CLI Gen 1 automatically declare the AuthCognitoUserPoolId parameter in CloudFormation templates when:

  • dependsOn is configured with KopilotoAuth in backend-config.json, OR
  • additionalAuthTypes with Cognito is configured in cli-inputs.json?

If this is expected behavior, what is the recommended approach to migrate an existing API from API_KEY to Cognito authentication in a production environment where the stack cannot be deleted?

Before submitting, please confirm:

  • 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingp2

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions