This message was deleted.
# aws
s
This message was deleted.
b
create 2 providers, one with prod credentials one with dev. use the prod provider to create the subdomain, and the dev provider to create the rest of the stack&resources https://www.pulumi.com/registry/packages/aws/api-docs/provider/ https://www.pulumi.com/docs/reference/pkg/python/pulumi/#pulumi.ResourceOptions
you would pass the prod provider as opts on the resources needed in the prod account, and the dev provider to the rest (or more simply, configure the default provider with dev creds, and then you only need to create 1 custom provider for prod and only pass that to the prod resources)