-
Notifications
You must be signed in to change notification settings - Fork 71
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
The Amplify app changed the platform without outside intervention #2208
Comments
AWS CLI |
@Jay2113 Examined the CloudTrail for Amplify and Let me start with the AWS CLI when I turned the Amplify's platform back. In the event record we can find that I send in the request parameters about the
Now, let's take a look at Thursday 6th, where our Frontend team lead was making some changed to the deployment. The first request that day contains these parameters about some chnage to buildspec of the application.
Amplify API responded with App's platform still set to
This second call send a response from Amplify, which was already telling the App's platform is It is leading me still to same suspicion: The platform was not changed on our behalf. |
@JZechy thank for you reviewing the CloudTrail event logs and for sharing that information. As next steps, can you share your Amplify app id along with the branch name and build # where you observed this issue? |
@JZechy 👋 , following up to see if can you share the previously requested information: #2208 (comment)? |
@Jay2113 Hi! I am sorry for the delay. Here is the details:
|
Following! Same thing happened to us recently! |
Hello! 👋🏼 Confirming we've found that branches pushed to Amplify with a fresh npm install have caused this issue for us (ie. platform setting randomly changes from We are an Nuxt app with Thoughts? |
Environment information
Describe the bug
We have AWS Amplify Applicationm described by Infrastrcture as Code through AWS CDK. We created the application with platform WEB, because we are using a static site generator. How the application was created and how it is still described in the CloudFormation stack can be seen in Environment Information.
This was perfectly fine until our application switched to the WEB_COMPUTE platform on its own today. Nothing has changed in the CDK code, the application is still described in CloudFormation as above. Other users do not have permission to change the application settings, and at the same time no one could - The option to switch platforms is simply not available in the interface.
This is critical behaviour for us.
We can't simply switch our workflow to SSR to use WEB_COMPUTE. And this change is now blocking our deployments, because obviously a different output is expected. We need to transition our platform back.
I would like to add that such critical arbitrary changes are not happening for the first time in a new application backend. When updates to the functionality of the Production Branch settings has been applied, our production branch was automatically switched to the development branch. As a result, the end users got a completely bad environment that was in operation for several hours.
Reproduction steps
No steps to reproduce.
The text was updated successfully, but these errors were encountered: