Hello! First time engaging in any kind of slack community.
I’m following a AWS guide about cross-account role access for Amazon ECS tasks (see
https://aws.amazon.com/premiumsupport/knowledge-center/ecs-iam-role-another-account/). It tells me to “modify the trust policy of the IAM role in the destination account”. However, I can’t find a way of modifying an existing role’s trust relationship via Pulumi. When creating a role I can provide the “AssumeRolePolicy” argument, but I can’t find a way to
modify the role when it already exists.
Would anyone be so helpful and point me in the right direction on how to proceed here?
For context I’m writing Pulumi in Go.