fancy-shoe-18611
03/07/2023, 3:46 PMerror: unable to validate AWS credentials - see <https://pulumi.io/install/aws.html> for details on configuration
I know it isn't my env variables because I get the same error when I hard code. Also, the equivalent in terraform works so im positive it isn't my keys.billowy-army-68599
03/07/2023, 3:46 PMfancy-shoe-18611
03/07/2023, 3:52 PMmain-provider:
properties:
accessKey: AKIAREDACTED
secretKey: lskdfjldskjredactedlsdkjfglsdkjf
region: us-east-1
type: pulumi:providers:aws
billowy-army-68599
03/07/2023, 3:54 PMaws:secretKey
and aws:accessKey
Try doing:
pulumi config set aws:accessKey <value>
pulumi config set aws:secretKey <value> --secret
fancy-shoe-18611
03/07/2023, 4:24 PMname: kms
runtime:
name: yaml
options:
compiler: clojure -M -m com.kms.deployment
outstring value
name: kms
variables: {}
resources:
finance-bucket:
properties:
bucket: dave-g-finace-bucket-acg-6
type: aws:s3:Bucket
main-provider:
properties:
accessKey: AKIAREDACTED
secretKey: lskdfjldskjredactedlsdkjfglsdkjf
region: us-east-1
type: pulumi:providers:aws
outputs:
s3:
foo: bar
billowy-army-68599
03/07/2023, 4:35 PMname: kms
runtime:
name: yaml
variables: {}
resources:
finance-bucket:
properties:
bucket: lbriggs-test
options:
provider: ${main-provider} # you have defined an explicit provider, therefore you need to pass it to the resource
parent: ${main-provider}
type: aws:s3:Bucket
main-provider:
properties:
accessKey: <redacted>
secretKey: <redacted>
region: us-east-1
type: pulumi:providers:aws
outputs:
s3:
foo: bar
fancy-shoe-18611
03/07/2023, 4:46 PM