stratospheric-dev / stratospheric

All you need to know to get your Spring Boot application into production with AWS 🍃

Home Page:https://stratospheric.dev

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Bug Chapter 10 - The deployment of the ECS Service freeze

hjoly2003 opened this issue · comments

What's going wrong and not working?

Hi,
when trying to deploy the ECS service, the process never completes. According to the log of the ECS cluster (staging-ecsCluster.log), the system could not resolve the environment variable COGNITO_USER_POOL_LOGOUT_URL at line 18 of LogoutSuccessHandlerConfig.java.

Expected outcome

A successful deployment of the ECS service.
The reason is that COGNITO_USER_POOL_LOGOUT_URL is never defined in ServiceApp.java. It's rather COGNITO_LOGOUT_URL that shall be used (see line 98 of ServiceApp#environmentVariables).

Looks like that something we forogt during a migration, feel free to provide a PR for a fix. As of now, our chapter versions are in maintenace mode as we only actively maintain everything within applicaiton.