amplify-backend icon indicating copy to clipboard operation
amplify-backend copied to clipboard

[New Amplify Console UI] Set up continuous deploys with Backend / Connection to Backend UI is not consistent

Open biller-aivy opened this issue 1 year ago • 1 comments

Environment information

---

Description

When I open the Modal which shows the connection to the Backend App und the Env it is not consistent. In some Apps the setting shows the current app, which is not correct, in other cases it shows the "Select an App". When I change the value, save and refresh the page, it shows the old value instead of the saved new one.

The res from the database is correct I guess:

"branches" : [ {
    "activeJobId" : "0000000135",
    "associatedResources" : null,
    "backend" : null,
    "backendEnvironmentArn" : "arn:aws:amplify:eu-central-1:327300291334:apps/d36kyjopucs8j3/backendenvironments/develop",
    "basicAuthCredentials" : null,
    "branchArn" : "arn:aws:amplify:eu-central-1:327300291334:apps/d2cdz5219eppoi/branches/develop",
    "branchName" : "develop",
    "buildSpec" : null,
    "createTime" : 1.630061191167E9,
    "customDomains" : null,
    "description" : null,
    "destinationBranch" : null,
    "displayName" : "develop",
    "enableAutoBuild" : false,
    "enableBasicAuth" : false,
    "enableNotification" : false,
    "enablePerformanceMode" : false,
    "enablePullRequestPreview" : false,
    "environmentVariables" : {
      "AMPLIFY_BACKEND_APP_ID" : "d36kyjopucs8j3",
      "AMPLIFY_BACKEND_PULL_ONLY" : "true",
      "USER_BRANCH" : "develop"
    },
    "framework" : "Expo-Web",
    "pullRequestEnvironmentName" : null,
    "sourceBranch" : null,
    "stage" : "DEVELOPMENT",
    "tags" : { },
    "thumbnailUrl" : null,
    "totalNumberOfJobs" : "0",
    "ttl" : "5",
    "updateTime" : 1.71516066086E9
  }

biller-aivy avatar May 08 '24 11:05 biller-aivy

@biller-aivy thanks for reaching out. I was able to reproduce this behavior and marking this as a bug. We are working on prioritizing a fix for it and will keep you posted with any updates.

Jay2113 avatar May 08 '24 22:05 Jay2113

@biller-aivy 👋 , we have deployed a fix for this issue and the backend environment connection (across apps) should now persist in the console. Can you please confirm if you are unblocked? Thanks!

Jay2113 avatar Jun 20 '24 04:06 Jay2113

Closing this thread since a fix has been deployed.

Jay2113 avatar Jun 26 '24 17:06 Jay2113