-
Notifications
You must be signed in to change notification settings - Fork 3.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ec2.Vpc.from_lookup unable to validate credentials in Cloud9 #5934
Comments
Can you run again with |
Verbose Error Log
|
I'm having a similar problem from python CDK. `stack_env = core.Environment(account=core.Aws.ACCOUNT_ID, region=core.Aws.REGION) InspectorLambdaStack(scope=app, In the stack:
|
I also see something similar with
Running
|
This issue has not received any attention in 1 year. If you want to keep this issue open, please leave a comment below and auto-close will be canceled. |
@kylevoyto were you able to solve this issue? I'm facing the same problem |
@jjmonsalveg no, I think I moved out of Cloud9. |
I get the error
AWS was not able to validate the provided access credentials
when I runcdk diff
in a Cloud9 Environment (Amazon Linux
) where my CDK App includes the following function call:My environment contains an
~/.aws/credentials
file with temporary credentials. I am able to successfully run commands with the AWS CLI and I'm able to run bothcdk diff
andcdk deploy
on my app when it does not include theec2.Vpc.from_lookup
function call.I can successfully run
cdk diff
in my local (macOS
) development environment.Reproduction Steps
ec2.Vpc.from_lookup
function call.cdk diff
.Error Log
Environment
cdk --version
=1.21.1 (build 842cc5f)
pip list | grep ec2
=aws-cdk.aws-ec2 1.21.1
cat /etc/system-release
=Amazon Linux AMI release 2018.03
python --version
=Python 3.8.1
Other
I setup my environment with the following line:
This is 🐛 Bug Report
The text was updated successfully, but these errors were encountered: