I am trying to run CDK commands to check the diff of my local and remote stack.
I am using the following command.
cdk diff --profile saml
I am getting the following error message
Unable to resolve AWS account to use. It must be either configured when you define your CDK or through the environment
I am looking for ways to resolve this issue.
Removing [profile default]
from ~/.aws/config
solved it for me.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With