-
Notifications
You must be signed in to change notification settings - Fork 113
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
Can not create new environment when adding New App (Host Web App) #3685
Comments
Hi @bergmorten 👋 , thanks for raising this and for providing detailed reproduction steps. The behavior outlined in this issue seems related to #3745. Please refer to my comment here: #3745 (comment) which outlines a workaround to use the Closing this to keep all the communication in the same place. Please track #3745 for any further updates. |
|
This issue has been automatically locked. |
Before opening, please confirm:
App Id
d34x9npy2tqygn
AWS Region
ca-central-1
Amplify Hosting feature
Backend environments
Frontend framework
Vue
Next.js version
Does not use Next
Next.js router
N/A
Describe the bug
I want to add a App and create a new backend environment which are not shared with other apps connected to the same branch.
In build settings I select
![buildSettings](https://private-user-images.githubusercontent.com/86950981/265629148-872c3df2-067a-45b7-8a53-b75975b5832b.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTk5NzQ0NTEsIm5iZiI6MTcxOTk3NDE1MSwicGF0aCI6Ii84Njk1MDk4MS8yNjU2MjkxNDgtODcyYzNkZjItMDY3YS00NWI3LThhNTMtYjc1OTc1YjU4MzJiLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA3MDMlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNzAzVDAyMzU1MVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTkwYTZkZGYzOWJkOTExNThmOTlkNDYwY2Y0YmQwZTNlNDQ2MWExOWI3MDgxMTBhMTlkZGQ4MzAxYjAwOTAyNjAmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.9WDhce2K2BIpDm7Vt84VQCJEnuY8-K5OaK85VnEX5rI)
create new environment
and fill in namewcscanada
both for app name and environment. Do not know why the pull down of App name does not reflect the app-name given (possible another bug).Summary seems ok:
![summary](https://private-user-images.githubusercontent.com/86950981/265629400-69ddf437-6b9c-457f-a42d-bea814e0da0c.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTk5NzQ0NTEsIm5iZiI6MTcxOTk3NDE1MSwicGF0aCI6Ii84Njk1MDk4MS8yNjU2Mjk0MDAtNjlkZGY0MzctNmI5Yy00NTdmLWE0MmQtYmVhODE0ZTBkYTBjLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA3MDMlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNzAzVDAyMzU1MVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTNlZmMxZDJlNzZmOTJiNjhhZmEwZTE2NmY2MTk4MDFiYmQ1YWU0OWZlNzFkZDBjMzg2MDdkZGQxMWY4YzM2NTcmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.vDrAIdqnghUDJqRyJUO0tYvpF13KcNoamktaUEU7A5k)
But the when I deploy it try to create an environment with the same name as the branch name (template).
![resulting-name](https://private-user-images.githubusercontent.com/86950981/265629780-6fade0ba-a70b-4c76-9b87-dde833a2769d.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTk5NzQ0NTEsIm5iZiI6MTcxOTk3NDE1MSwicGF0aCI6Ii84Njk1MDk4MS8yNjU2Mjk3ODAtNmZhZGUwYmEtYTcwYi00Yzc2LTliODctZGRlODMzYTI3NjlkLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA3MDMlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNzAzVDAyMzU1MVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWY1YzRkN2VkMDM2Y2VkNTdiMGVmNGM1MWZjNWEwODI2OWRkM2M3YTdiZWQ5ZWE3MDAyOTY5YWY2NTJlMWQ0ZGEmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.78HR7XoAXT9CQ9tcbIpOmMGR6mvGOO8Gzca2SfCser8)
One of the errors:
![error](https://private-user-images.githubusercontent.com/86950981/265632199-7eba7492-2872-412f-aa1b-2359f8e8d54d.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTk5NzQ0NTEsIm5iZiI6MTcxOTk3NDE1MSwicGF0aCI6Ii84Njk1MDk4MS8yNjU2MzIxOTktN2ViYTc0OTItMjg3Mi00MTJmLWFhMWItMjM1OWY4ZThkNTRkLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA3MDMlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNzAzVDAyMzU1MVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTVkYWZlNjIyN2MyZWMxYzNjOTU0NmU2ZTJjOWEzMjk0ZjI5YTEyNDJmYjBjYTlhZTNiYTUxYjA1YTgyOTUwYmImWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.yNs5ab_vKkJoId7cb7c5mWMBaCLhyVmzN-luu6MsLVw)
I my setup this does not work since I need to have separate environment per app.
Need also help to clean this up.
I tried first to deploy this app in another region where I also another app with this backend environment. However if I try to delete this app it will also delete the environment of the existing app. How do I delete an app and keep the environment?
See app id
d38c3xshp5shlw
andd3h2imtpur0g0t
inregion us-east-1
Expected behavior
Create app easy with separate environment so that database, Cognito and roles are unique.
Reproduction steps
Create new environment
with a name other than the branch nameBuild Settings
No response
Log output
Additional information
No response
The text was updated successfully, but these errors were encountered: