Hello, Is there a way to customize the `pulumi up`...
# aws
c
Hello, Is there a way to customize the `pulumi up`: I would like to add the AWS account related to the resource creation/update/delete ? or the provider/profile name
q
You can configure things like the profile, credentials for the provider. Here's an overview of the different settings: https://www.pulumi.com/registry/packages/aws/api-docs/provider/
Some more insights into the different ways to configure providers: https://www.pulumi.com/docs/iac/concepts/resources/providers/
s
You could add all those things as stack outputs, but the config is serialized in the state file (tho it may not be exactly what you want). This example shows that I have my region set, and the rest is my system default:
The above pic is from the resource detail in Pulumi Cloud. (Providers are also resources.)