adamant-leather-41068
11/23/2022, 12:37 AMpolicyAttachment
to an EC2 instance?
I have a policyAttacement as documented:
const test_attach = new aws.iam.RolePolicyAttachment("test-attach", {
role: role.name,
policyArn: policy.arn,
});
and an aws.ec2.Instance
What is the correct way to attach them together?billowy-army-68599
11/23/2022, 12:45 AMadamant-leather-41068
11/23/2022, 12:52 AMbillowy-army-68599
11/23/2022, 1:52 AMadamant-leather-41068
11/23/2022, 3:46 AM