quiet-morning-24895
03/12/2020, 4:25 AMaws.Region
parameter, but aws.RegionResult.name
doesn't have the right type. Is this a bug in the typings?
The API:
export declare function getRoleProvider(name: string, region?: aws.Region, profile?: string, parent?: pulumi.ComponentResource): CreationRoleProvider;
getRegion:
export declare function getRegion(args?: GetRegionArgs, opts?: pulumi.InvokeOptions): Promise<GetRegionResult> & GetRegionResult;
export interface GetRegionResult {
/**
* The region's description in this format: "Location (Region name)".
*/
readonly description: string;
/**
* The EC2 endpoint for the selected region.
*/
readonly endpoint: string;
/**
* The name of the selected region.
*/
readonly name: string;
/**
* id is the provider-assigned unique ID for this managed resource.
*/
readonly id: string;
}
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