https://pulumi.com logo
#golang
Title
# golang
i

important-appointment-55126

05/26/2020, 6:50 PM
eg. i see from the typescript examples, one can do
Copy code
const policy = new aws.iam.RolePolicy("allow-s3-management-policy", {
    role: allowS3ManagementRole,
    policy: {
        Version: "2012-10-17",
        Statement: [{
            Sid: "AllowS3Management",
            Effect: "Allow",
            Resource: "*",
            Action: "s3:*",
        }],
    },
}, {parent: allowS3ManagementRole});
which makes expansion of outputs easy
3 Views