sparse-intern-71089
01/22/2020, 6:31 PMacoustic-florist-12628
01/22/2020, 8:12 PM@pulumi/aws/provider.d.ts
, the aws.Provider class doesn't expose any of its values as properties. It does register its inputs/outputs in the checkpoint file, which is why region appears there (region is defined in the ProviderArgs interface for input). Unfortunately, in order to actually access these values from external TS code, they would need to be declared in the class.
Depending on what you are trying to do, I believe aws.config.region
can give you the region that is being used.No matter how you like to participate in developer communities, Pulumi wants to meet you there. If you want to meet other Pulumi users to share use-cases and best practices, contribute code or documentation, see us at an event, or just tell a story about something cool you did with Pulumi, you are part of our community.
Powered by