Skip to content
This repository was archived by the owner on Jul 27, 2021. It is now read-only.
This repository was archived by the owner on Jul 27, 2021. It is now read-only.

need env var check #96

@geremyCohen

Description

@geremyCohen

At https://ecsworkshop.com/nodejs/backend/#deploy-frontend-1 I ran into an issue while creating the service using the ecs-cli fargate mode path.

I had closed the terminal I used to setup Frontend, so I lost the vars I had set previously on the:

https://ecsworkshop.com/frontend/frontend/#deploy-frontend-1 > Set environment variables from our build section.

I ran the envsubst, and the yaml had empty fields. and as you would expect, the subsequent ecs-cli command failed.

So maybe some sort of check that the vars exist, saving them to the .bash_profile or just forcing the user to re-set the vars again would be good here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions