green-daybreak-91402
05/06/2022, 2:24 AMnew aws.iam.RolePolicy(
pulumi.interpolate`${this.service.taskDefinition.executionRole.name}-ssm-policy`,
{
might be giving this error?
Argument of type ‘Output<string>’ is not assignable to parameter of type ‘string’little-cartoon-10569
05/06/2022, 2:30 AMpulumi.interpolate
generates an output, which does not resolve until deploy time... which might finish many minutes (or longer) after runtime.pulumi.interpolate
to complete), this is best avoided. You should use a name that is not dependent on an output.this.service.taskDefinition.executionRole.name
known? If it is, then use that value directly, instead of from the Pulumi resource's outputs.green-daybreak-91402
05/06/2022, 2:45 AMlittle-cartoon-10569
05/06/2022, 2:53 AMgreen-daybreak-91402
05/06/2022, 2:57 AMlittle-cartoon-10569
05/06/2022, 2:59 AM