-
Notifications
You must be signed in to change notification settings - Fork 820
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
This environment is missing some parameter values. [appId,type] do not have values.
in PR Preview envs, auto-detected branch envs
#12644
Comments
Was able to reproduce the issue, marking as bug. |
I experienced this same issue on deployment of a new branch in an existing Amplify project. Following the prompts I ran Here is the output of running the Not pulling components because this project is not Amplify Studio enabled. 🛑 Access Denied BackendPullFault: Access Denied Access Denied Session Identifier: 85191f25-c21d-4074-ad86-1e08c8b81252 |
|
Hello Team, Steps of Reproduction
Amplify.yml
Another follow-up query as the random name creates confusion in understanding that which PR is related to which branch -
|
Hey @anivarsh did you also point Amplify Hosting to use this RC version? |
Following the steps above I am encountering a slightly different message:
|
Since the original issue has since been resolved, I've filed a separate issue to track the new behavior with function env vars. Closing in favor of tracking #12950 |
|
How did you install the Amplify CLI?
pnpm
If applicable, what version of Node.js are you using?
18
Amplify CLI Version
12.0.0
What operating system are you using?
mac
Did you make any manual changes to the cloud resources managed by Amplify? Please describe the changes made.
n/a
Describe the bug
After adding
hosting
to a project with Amplify Hosting and connecting to git, I enabled PR Previews off of themain
branch and enabled pattern-based feature branch deployments.Roughly following the steps in #12640 (comment) led me to the error where the new environment is missing the App ID and "type" parameters for
hosting
.In my case, the project has a few resources (to allow Hosting to recognize I have a backend associated with the project)
sample repo: https://github.com/josefaidt/12640
Expected behavior
preview envs are created without manual intervention
Reproduction steps
amplify init -y
amplify add auth
amplify push -y
(so Hosting will recognize I have backend resources when I add hosting)gh repo create --source . --public
git push...
amplify add hosting
> w/ Amplify Hosting / Continuous...git checkout -b feature/12640
amplify add function
Project Identifier
eddab42993450b84ffcff526bc832648
Log output
Additional information
No response
Before submitting, please confirm:
The text was updated successfully, but these errors were encountered: