proud-tiger-5743
02/25/2019, 9:46 PMconst taskRole = new aws.iam.Role('foo',{})
const task = new awsx.ecs.FargateTaskDefinition('bar',{})
I'm trying to build a lambda role that can has perms to
{
Effect: "Allow",
Action: ["iam:PassRole"],
Resource: [taskRole.arn]
},
{
Effect: "Allow",
Action: ["ecs:RunTask"],
Resource: [task.taskDefinition.arn]
}
But I can't seem to find a combination of apply or pulumi.all that allows me to generate the JSON input into the role. Any ideas?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