Created
May 18, 2020 00:20
-
-
Save ahmad2x4/c9f9fbcf6d3342ceb1207699186f7d9b to your computer and use it in GitHub Desktop.
Pulumi sample infra source code part 5
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const instanceProfileRole = new aws.iam.Role("eb-ec2-role", { | |
name: "eb-ec2-role", | |
description: "Role for EC2 managed by EB", | |
assumeRolePolicy: pulumi.interpolate`{ | |
"Version": "2012-10-17", | |
"Statement": [ | |
{ | |
"Action": "sts:AssumeRole", | |
"Principal": { | |
"Service": "ec2.amazonaws.com" | |
}, | |
"Effect": "Allow", | |
"Sid": "" | |
} | |
] | |
}`, | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment