sparse-intern-71089
04/06/2023, 12:26 PMsteep-toddler-94095
04/07/2023, 2:26 AMDefaultRoleWithPolicyArgs
type if you are... it's
interface DefaultRoleWithPolicyArgs {
/**
* Args to use when creating the role and policies. Can't be specified if `roleArn` is used.
*/
args?: inputs.awsx.RoleWithPolicyArgs;
/**
* ARN of existing role to use instead of creating a new role. Cannot be used in combination with `args` or `opts`.
*/
roleArn?: pulumi.Input<string>;
/**
* Skips creation of the role if set to `true`.
*/
skip?: boolean;
}
so basically instead of
taskDefinitionArgs: {
taskRole: fargateTaskRole,
you need
taskDefinitionArgs: {
taskRole: { roleArn: fargateTaskRole.arn },
boundless-farmer-38967
04/07/2023, 6:37 AM