white-processor-23859
09/24/2021, 6:02 PMtagsAll
property no longer exists. Here's the error:
TSError: ⨯ Unable to compile TypeScript:
index.ts(55,3): error TS2345: Argument of type '{ assumeRolePolicy: string; description: string; forceDetachPolicies: false; inlinePolicies: {}[]; managedPolicyArns: string[]; maxSessionDuration: number; path: string; tags: { role: string; }; tagsAll: { ...; }; }' is not assignable to parameter of type 'RoleArgs'.
Object literal may only specify known properties, and 'tagsAll' does not exist in type 'RoleArgs'.
index.ts(622,5): error TS2345: Argument of type '{ ami: string; associatePublicIpAddress: true; iamInstanceProfile: pulumi.Output<string>; keyName: string; instanceType: string; privateIp: string; vpcSecurityGroupIds: pulumi.Output<string>[]; subnetId: pulumi.Output<...>; tagsAll: { ...; }; tags: { ...; }; ebsBlockDevices: { ...; }[]; }' is not assignable to parameter of type 'InstanceArgs'.
Object literal may only specify known properties, and 'tagsAll' does not exist in type 'InstanceArgs'.
index.ts(659,5): error TS2345: Argument of type '{ ami: string; associatePublicIpAddress: true; iamInstanceProfile: pulumi.Output<string>; keyName: string; instanceType: string; privateIp: string; vpcSecurityGroupIds: pulumi.Output<string>[]; subnetId: pulumi.Output<...>; tagsAll: { ...; }; tags: { ...; }; ebsBlockDevices: { ...; }[]; }' is not assignable to parameter of type 'InstanceArgs'.
Object literal may only specify known properties, and 'tagsAll' does not exist in type 'InstanceArgs'.
at createTSError (/home/oz/dev/mono-repo/sre/network/node_modules/ts-node/src/index.ts:261:12)
at getOutput (/home/oz/dev/mono-repo/sre/network/node_modules/ts-node/src/index.ts:367:40)
at Object.compile (/home/oz/dev/mono-repo/sre/network/node_modules/ts-node/src/index.ts:558:11)
at Module.m._compile (/home/oz/dev/mono-repo/sre/network/node_modules/ts-node/src/index.ts:439:43)
at Module._extensions..js (node:internal/modules/cjs/loader:1138:10)
at Object.require.extensions.<computed> [as .ts] (/home/oz/dev/mono-repo/sre/network/node_modules/ts-node/src/index.ts:442:12)
at Module.load (node:internal/modules/cjs/loader:989:32)
at Function.Module._load (node:internal/modules/cjs/loader:829:14)
at Module.require (node:internal/modules/cjs/loader:1013:19)
at require (node:internal/modules/cjs/helpers:93:18)
I'm on pulumi cli version 3.13, aws version 4.21.x. Any thoughts?billowy-army-68599
09/24/2021, 6:04 PMwhite-processor-23859
09/24/2021, 6:06 PMconst s3_read_only_role = new aws.iam.Role("s3-read-only-role", {
assumeRolePolicy: JSON.stringify({
Version: "2012-10-17",
Statement: [
{
Effect: "Allow",
Principal: {
Service: "<http://ec2.amazonaws.com|ec2.amazonaws.com>",
},
Action: "sts:AssumeRole",
},
],
}),
description: "Allows EC2 instances to read from s3",
forceDetachPolicies: false,
inlinePolicies: [{}],
managedPolicyArns: ["arn:aws:iam::aws:policy/AmazonS3ReadOnlyAccess"],
maxSessionDuration: 3600,
path: "/",
tags: {
role: "ec2ReadS3",
},
tagsAll: {
role: "ec2ReadS3",
},
});
billowy-army-68599
09/24/2021, 6:29 PMbroad-dog-22463
09/24/2021, 6:32 PMwhite-processor-23859
09/24/2021, 6:33 PMbroad-dog-22463
09/24/2021, 6:34 PMwhite-processor-23859
09/24/2021, 6:34 PMbroad-dog-22463
09/24/2021, 6:35 PMwhite-processor-23859
09/24/2021, 6:38 PM^4.14.0
, so it opaquely updated, which explains the sudden failures.broad-dog-22463
09/24/2021, 6:38 PMwhite-processor-23859
09/24/2021, 6:38 PM