Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions,
see Getting Started with Amazon Web Services in China
(PDF).
You need the following permissions to deploy a custom AMI with Terraform:
-
assume the ParallelCluster API role, which is in charge of interacting with the
ParallelCluster API
-
describe the Amazon CloudFormation stack of the ParallelCluster API, to verify it exists and retrieve
its parameters and outputs
- JSON
-
-
{
"Version": "2012-10-17",
"Statement": [
{
"Action": "sts:AssumeRole",
"Resource": "arn:aws:sts::111122223333
:role/PCAPIUserRole-*",
"Effect": "Allow",
"Sid": "AssumePCAPIUserRole"
},
{
"Action": [
"cloudformation:DescribeStacks"
],
"Resource": "arn:aws:cloudformation:us-east-1
:111122223333
:stack/*",
"Effect": "Allow",
"Sid": "CloudFormation"
}
]
}