future-morning-96441
05/15/2019, 9:55 AMpulumi logs
(using aws) respect a config of the aws:profile
?
If ~/.aws/credentials
has a matching default profile, the cli command works for me, but I couldn't figure out how/where to specify a different profile than the default. (I have another profile configured in the stack's config Pulumi.dev.yaml
which works fine for deployment.)white-balloon-205
pulumi logs
. See https://github.com/pulumi/pulumi/blob/f6c25b7d2dd881ef892ce03b5cf1ca579b8c71e4/pkg/operations/operations_aws.go#L47-L61.
How exactly are you configuring AWS in your case? Is it just setting aws:profile
to a valid profile in ~/.aws/credentials
? Is that configuration working for deployments but not for pulumi logs
?future-morning-96441
05/16/2019, 12:30 PM~/aws/credentials
and I set `aws:profile`in the stack's config (e.g. Pulumi.dev.yaml
). This works fine for deployment, but not for pulumi logs
, which uses the default profile of ~/.aws/credentials
.