rileydakota / valheim-ecs-fargate-cdk

AWS CDK/Cloudformation to deploy a Valheim Server using ECS Fargate!
78 stars 24 forks source link

Unable to resolve AWS account to use. It must be either configured when you define your CDK Stack, or through the environment #24

Closed rizkiawanAldo closed 2 years ago

rizkiawanAldo commented 2 years ago

Hello @rileydakota , first of all, thankyou so much for your work, I'm kinda new to AWS and docker, so pardon my ignorance. I got this message after I run npx cdk deploy --all

"Unable to resolve AWS account to use. It must be either configured when you define your CDK Stack, or through the environment"

I searched on the net and it comes to the credentials so I went to set it through aws configure and bootstrap it using ckd bootstrap --profile user1 I don't know where to ask really so i ask here, am i missing something?

Thanks for your help

rizkiawanAldo commented 2 years ago

nvm, i solved it my using this npx cdk deploy --all --profile user1