eager-lawyer-9843
06/13/2022, 4:43 PMpulumi up
not being able to find the AWS credentials
Error: invocation of aws:ec2/getVpc:getVpc returned an error: unable to validate AWS AccessKeyID and/or SecretAccessKey - see https://pulumi.io/install/aws.html for details on configurationI have a profile setup in my aws credentials file and I can view the config when using the CLI but cannot get it to work with the pulumi. I had it working before but for some reason it has stopped working and I cannot find any changes that would have caused it, at least through git. FYI, I am using a monorepo for all my services and using symlinks to pull in the
package.json
and node_modules
(though even removing that has not helped). My Pulumi.stack.yaml
in each service directory has the aws:profile
and aws:region
setbillowy-army-68599
06/13/2022, 4:45 PMpulumi about
?eager-lawyer-9843
06/13/2022, 4:45 PMCLI
Version 3.34.1
Go Version go1.18.3
Go Compiler gc
Plugins
NAME VERSION
nodejs unknown
Host
OS darwin
Version 12.4
Arch x86_64
This project is written in nodejs: executable='/usr/local/bin/node' version='v16.14.0'
Backend
Name <http://pulumi.com|pulumi.com>
URL <https://app.pulumi.com/rfab>
User rfab
Organizations rfab, rivet
Pulumi locates its logs in /var/folders/gt/8l3t_j7n1bg4wx8d_rfyg6v00000gn/T/ by default
warning: Failed to get information about the Pulumi program's plugins: Could not find either /Users/ryanfabela/development/work/dpb/main/infrastructure/yarn.lock or /Users/ryanfabela/development/work/dpb/main/infrastructure/package-lock.json
warning: Failed to get information about the current stack: No current stack
CLI
Version 3.34.1
Go Version go1.18.3
Go Compiler gc
Plugins
NAME VERSION
aws 5.7.2
docker 3.2.0
nodejs unknown
Host
OS darwin
Version 12.4
Arch x86_64
This project is written in nodejs: executable='/usr/local/bin/node' version='v16.14.0'
Backend
Name <http://pulumi.com|pulumi.com>
URL <https://app.pulumi.com/rfab>
User rfab
Organizations rfab, rivet
Dependencies:
NAME VERSION
@pulumi/pulumi 3.34.0
@pulumi/aws 5.7.2
@pulumi/awsx 0.40.0
@types/node 14.18.21
Pulumi locates its logs in /var/folders/gt/8l3t_j7n1bg4wx8d_rfyg6v00000gn/T/ by default
warning: Failed to get information about the current stack: No current stack
billowy-army-68599
06/13/2022, 5:19 PM5.8.0
broad-dog-22463
06/13/2022, 5:19 PMaws:skipCredentialsValidation true
and it should work for youeager-lawyer-9843
06/13/2022, 5:23 PMbroad-dog-22463
06/13/2022, 5:24 PMeager-lawyer-9843
06/13/2022, 5:25 PMbroad-dog-22463
06/13/2022, 5:26 PM