-
Notifications
You must be signed in to change notification settings - Fork 115
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
Monorepo spec provided without "applications" key #1995
Comments
It looks like an issue related to Amplify Console, transferring it to their repository. |
Looks to be related to #1880 #1955 and possibly #1981
|
Hi @arledesma , we are sorry to see this. Regarding to your issue, workaround now is adding For your question, rule of thumb is |
I'm glad to hear that the issue has been acknowledged. Could we get any type of insights as to when we may see the behavior corrected (is the issue in the backlog, scheduled for a future sprint, actively being worked?). I don't need any specifics; I just want to be able to set expectations. |
Fix is deployed to Feel free to re-open this if issue persists |
@victorccccc I am receiving this error in Error: |
Hi Gary, could you try to follow this instruction: https://docs.aws.amazon.com/amplify/latest/userguide/monorepo-configuration.html and add |
Here is the build spec that I've been using: version: 1
applications:
- appRoot: web_app_build/
frontend:
phases:
build:
commands: []
artifacts:
baseDirectory: /
files:
- '**/*'
cache:
paths: [] This same build spec was used for previous builds without any issues. |
Hi, can you share your AppId? |
d313d3b5r9k86x |
Hi @garysm , I noticed you are using |
That fixed it. Thanks for your help and quick response @victorccccc. |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Before opening, please confirm:
How did you install the Amplify CLI?
npm
If applicable, what version of Node.js are you using?
14.16.1
Amplify CLI Version
5.0.1
What operating system are you using?
Ubuntu
Amplify Categories
Not applicable
Amplify Commands
Not applicable
Describe the bug
master
branchmaster
branchamplify.yml
in themaster
branchamplify.yml
to the root of the repositoryamplify.yml
that is included in the pull requestExpected behavior
The monorepo configuration will read the
/amplify.yml
within the pull request and apply it to the preview buildReproduction steps
GraphQL schema(s)
n/a
Log output
AppId:
d3127if6i267u2
AppId:
d3jyfteqrhguhk
AppId:
d1d91c9119qjjz
Additional information
No
amplify.yml
in the target branch. This is the initial deployment and we would like to validate the previews are working as expected with the ability to updateamplify.yml
in the pull request, prior to being merged.The following
amplify.yml
is being added in the pull request where the preview build fails. Application names have been changed to example, otherwise eachappRoot
matches theAMPLIFY_MONOREPO_APP_ROOT
that is set in each of the amplify apps./amplify.yml
The text was updated successfully, but these errors were encountered: