Mr.9715
07/16/2021, 4:17 PMMr.9715
07/16/2021, 4:19 PMnpx create-serverless-stack@latest sst-lambda-validation is what I used to create the project. and and then I simply ran sst deployMr.9715
07/16/2021, 4:59 PMawsc () {
export AWS_DEFAULT_PROFILE=$(grep -oE "(\[).+(\])" ~/.aws/credentials | tr -d '[]' | peco)
}
and on running sst start my infrastructure is deployed in the correct account. but for some reason. the polling that happens for checking stack status uses aws default profile and hence it didn't display deployment stats and throws errors in sst start.
My question is:
What is the easiest way of pointing an aws named profile to sst?Frank
AWS_PROFILE instead of AWS_DEFAULT_PROFILE?Mr.9715
07/19/2021, 8:21 AM