sparse-library-18327
04/24/2025, 2:02 PMconfig:
aws:region: us-gov-east-1
aws:profile: ogov-core-services
Is there a way to reference the default ResourceOptions or InvokeOptions this would create via a variable without having to define an entirely new ResourceOptions variable? Or maybe just be able to reference the default provider?stocky-restaurant-98004
04/24/2025, 2:56 PMaws.config.region
will get you the default provider region. Or, you can access like this:
const config = new pulumi.Config("aws");
const defaultRegion = config.get("region"); // config.require() if it has to be there.
sparse-library-18327
04/24/2025, 6:55 PMpulumi:disable-default-providers:
- aws
stocky-restaurant-98004
04/24/2025, 6:59 PMhigh-painter-73966
04/28/2025, 1:46 PM