sparse-intern-71089
02/15/2023, 7:22 PMdry-journalist-60579
02/15/2023, 7:23 PMexisting_role
itself rather than attaching a policy?dry-journalist-60579
02/15/2023, 7:25 PMSSO_ROLE_ARN
that allows it to assume the existing_role
?steep-toddler-94095
02/15/2023, 7:31 PMWould I just want to edit theitself rather than attaching a policy?existing_role
dry-journalist-60579
02/15/2023, 7:32 PMexisting_role = aws.iam.get_role(name="AWSControlTowerAdmin")
=> finds the existing role… But I can’t mutate it that way, right?steep-toddler-94095
02/15/2023, 7:35 PMdry-journalist-60579
02/15/2023, 7:36 PMsteep-toddler-94095
02/15/2023, 7:40 PMdry-journalist-60579
02/15/2023, 7:42 PMOptional conditions for your role trust relationships
section)steep-toddler-94095
02/15/2023, 7:43 PMdry-journalist-60579
02/15/2023, 7:44 PMpulumi import aws:iam/role:Role AWSControlTowerAdmin AWSControlTowerAdmin
steep-toddler-94095
02/15/2023, 7:46 PMdry-journalist-60579
02/15/2023, 7:49 PMsteep-toddler-94095
02/15/2023, 7:50 PMdry-journalist-60579
02/15/2023, 7:50 PM