elegant-crayon-4967
04/01/2020, 9:35 PMreadonly tags: pulumi.Input<{
[key: string]: pulumi.Input<string>;
}>;
When I try to call a value in there like follows pulumi.all([tags.t_env]).apply
I get error
Property 't_env' does not exist on type 'Input<{ [key: string]: Input<string>; }>'.
Property 't_env' does not exist on type 'Promise<{ [key: string]: Input<string>; }>'.ts(2339)
handsome-actor-1155
04/01/2020, 9:38 PMconst baseTags = {
Owner: config.require("ownerTag")
};
// Create a VPC for our cluster.
const vpc = new awsx.ec2.Vpc("kafka-vpc", {
numberOfAvailabilityZones: numberOfAvailZones,
tags: {
...baseTags,
Name: config.require("vpcName")
}
});
elegant-crayon-4967
04/01/2020, 9:40 PM