Description
When you run deploy and you have valid creds but for a different account (not your target for the project)
It starts the deploy properly and the "publish assets" step fails with a generic error.
We should have this check as the first step instead of after doing everything else
Steps to Reproduce
have a different account in aws-targets.json and have valid creds for a separate account.
Expected Behavior
should fail in the first step itselff
Actual Behavior
fails after several steps
CLI Version
0.5.1
Operating System
macOS
Additional Context
No response
Description
When you run deploy and you have valid creds but for a different account (not your target for the project)
It starts the deploy properly and the "publish assets" step fails with a generic error.
We should have this check as the first step instead of after doing everything else
Steps to Reproduce
have a different account in aws-targets.json and have valid creds for a separate account.
Expected Behavior
should fail in the first step itselff
Actual Behavior
fails after several steps
CLI Version
0.5.1
Operating System
macOS
Additional Context
No response