generated from ibm-client-engineering/solution-template
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #23 from ibm-client-engineering/adam-updates
Updates to cluster-sts, role yamls, installation.
- Loading branch information
Showing
5 changed files
with
230 additions
and
12 deletions.
There are no files selected for viewing
File renamed without changes.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,208 @@ | ||
AWSTemplateFormatVersion: '2010-09-09' | ||
Description: A CloudFormation template that creates an IAM role with specified permissions. | ||
Outputs: | ||
RoleARN: | ||
Description: The ARN of the custom role | ||
Value: | ||
Fn::GetAtt: | ||
- CustomRole | ||
- Arn | ||
Resources: | ||
CustomRole: | ||
Properties: | ||
AssumeRolePolicyDocument: | ||
Statement: | ||
- Action: sts:AssumeRole | ||
Effect: Allow | ||
Principal: | ||
Service: ec2.amazonaws.com | ||
Version: '2012-10-17' | ||
Policies: | ||
- PolicyDocument: | ||
Statement: | ||
- Action: | ||
- ec2:AuthorizeSecurityGroupEgress | ||
- ec2:AuthorizeSecurityGroupIngress | ||
- ec2:CreateNetworkInterface | ||
- ec2:AttachNetworkInterface | ||
- ec2:CreateSecurityGroup | ||
- ec2:CreateTags | ||
- ec2:CreateVolume | ||
- ec2:DeleteSecurityGroup | ||
- ec2:DeleteSnapshot | ||
- ec2:DeleteTags | ||
- ec2:DescribeAccountAttributes | ||
- ec2:DescribeAddresses | ||
- ec2:DescribeAvailabilityZones | ||
- ec2:DescribeDhcpOptions | ||
- ec2:DescribeImages | ||
- ec2:DescribeInstanceAttribute | ||
- ec2:DescribeInstanceCreditSpecifications | ||
- ec2:DescribeInstances | ||
- ec2:DescribeInstanceTypes | ||
- ec2:DescribeInternetGateways | ||
- ec2:DescribeKeyPairs | ||
- ec2:DescribeNatGateways | ||
- ec2:DescribeNetworkAcls | ||
- ec2:DescribeNetworkInterfaces | ||
- ec2:DescribePrefixLists | ||
- ec2:DescribeRegions | ||
- ec2:DescribeRouteTables | ||
- ec2:DescribeSecurityGroups | ||
- ec2:DescribeSubnets | ||
- ec2:DescribeTags | ||
- ec2:DescribeVolumes | ||
- ec2:DescribeVpcAttribute | ||
- ec2:DescribeVpcClassicLink | ||
- ec2:DescribeVpcClassicLinkDnsSupport | ||
- ec2:DescribeVpcEndpoints | ||
- ec2:DescribeVpcs | ||
- ec2:ModifyInstanceAttribute | ||
- ec2:ModifyNetworkInterfaceAttribute | ||
- ec2:RevokeSecurityGroupEgress | ||
- ec2:RevokeSecurityGroupIngress | ||
- ec2:RunInstances | ||
- ec2:TerminateInstances | ||
- ec2:AllocateAddress | ||
- elasticloadbalancing:AddTags | ||
- elasticloadbalancing:ApplySecurityGroupsToLoadBalancer | ||
- elasticloadbalancing:AttachLoadBalancerToSubnets | ||
- elasticloadbalancing:ConfigureHealthCheck | ||
- elasticloadbalancing:CreateLoadBalancer | ||
- elasticloadbalancing:CreateLoadBalancerListeners | ||
- elasticloadbalancing:DeleteLoadBalancer | ||
- elasticloadbalancing:DeregisterInstancesFromLoadBalancer | ||
- elasticloadbalancing:DescribeInstanceHealth | ||
- elasticloadbalancing:DescribeLoadBalancerAttributes | ||
- elasticloadbalancing:DescribeLoadBalancers | ||
- elasticloadbalancing:DescribeTags | ||
- elasticloadbalancing:ModifyLoadBalancerAttributes | ||
- elasticloadbalancing:RegisterInstancesWithLoadBalancer | ||
- elasticloadbalancing:SetLoadBalancerPoliciesOfListener | ||
- elasticloadbalancing:AddTags | ||
- elasticloadbalancing:CreateListener | ||
- elasticloadbalancing:CreateLoadBalancer | ||
- elasticloadbalancing:CreateTargetGroup | ||
- elasticloadbalancing:DeleteLoadBalancer | ||
- elasticloadbalancing:DeregisterTargets | ||
- elasticloadbalancing:DescribeListeners | ||
- elasticloadbalancing:DescribeLoadBalancerAttributes | ||
- elasticloadbalancing:DescribeLoadBalancers | ||
- elasticloadbalancing:DescribeTargetGroupAttributes | ||
- elasticloadbalancing:DescribeTargetHealth | ||
- elasticloadbalancing:ModifyLoadBalancerAttributes | ||
- elasticloadbalancing:ModifyTargetGroup | ||
- elasticloadbalancing:ModifyTargetGroupAttributes | ||
- elasticloadbalancing:RegisterTargets | ||
- iam:GetInstanceProfile | ||
- iam:GetRole | ||
- iam:GetRolePolicy | ||
- iam:GetUser | ||
- iam:ListInstanceProfilesForRole | ||
- iam:ListRoles | ||
- iam:ListUsers | ||
- iam:PassRole | ||
- iam:SimulatePrincipalPolicy | ||
- route53:ChangeResourceRecordSets | ||
- route53:ChangeTagsForResource | ||
- route53:CreateHostedZone | ||
- route53:DeleteHostedZone | ||
- route53:GetChange | ||
- route53:GetHostedZone | ||
- route53:ListHostedZones | ||
- route53:ListHostedZonesByName | ||
- route53:ListResourceRecordSets | ||
- route53:ListTagsForResource | ||
- route53:UpdateHostedZoneComment | ||
- s3:CreateBucket | ||
- s3:DeleteBucket | ||
- s3:GetAccelerateConfiguration | ||
- s3:GetBucketAcl | ||
- s3:GetBucketCors | ||
- s3:GetBucketLocation | ||
- s3:GetBucketLogging | ||
- s3:GetBucketPolicy | ||
- s3:GetBucketObjectLockConfiguration | ||
- s3:GetBucketRequestPayment | ||
- s3:GetBucketTagging | ||
- s3:GetBucketVersioning | ||
- s3:GetBucketWebsite | ||
- s3:GetEncryptionConfiguration | ||
- s3:GetLifecycleConfiguration | ||
- s3:GetReplicationConfiguration | ||
- s3:ListBucket | ||
- s3:PutBucketTagging | ||
- s3:PutEncryptionConfiguration | ||
- s3:DeleteObject | ||
- s3:GetObject | ||
- s3:GetObjectAcl | ||
- s3:GetObjectTagging | ||
- s3:GetObjectVersion | ||
- s3:PutObject | ||
- s3:PutObjectTagging | ||
- autoscaling:DescribeAutoScalingGroups | ||
- ec2:DeletePlacementGroup | ||
- ec2:DeleteNetworkInterface | ||
- ec2:DeleteVolume | ||
- elasticloadbalancing:DeleteTargetGroup | ||
- elasticloadbalancing:DescribeTargetGroups | ||
- iam:ListAttachedRolePolicies | ||
- iam:ListInstanceProfiles | ||
- iam:ListRolePolicies | ||
- iam:ListUserPolicies | ||
- s3:DeleteObject | ||
- s3:ListBucketVersions | ||
- tag:GetResources | ||
- ec2:ReleaseAddress | ||
- iam:GetUserPolicy | ||
- iam:ListAccessKeys | ||
- s3:GetBucketPublicAccessBlock | ||
- s3:PutLifecycleConfiguration | ||
- s3:ListBucket | ||
- s3:ListBucketMultipartUploads | ||
- s3:AbortMultipartUpload | ||
- ec2:DescribeInstanceTypeOfferings | ||
- servicequotas:ListAWSDefaultServiceQuotas | ||
- secretsmanager:CreateSecret | ||
- ssm:PutParameter | ||
- ssm:AddTagsToResource | ||
- ssm:DeleteParameter | ||
- secretsmanager:TagResource | ||
- secretsmanager:DeleteSecret | ||
- lambda:CreateFunction | ||
- lambda:DeleteFunction | ||
- lambda:TagResource | ||
- lambda:GetFunction | ||
- lambda:InvokeFunction | ||
- elasticfilesystem:DescribeFileSystems | ||
- elasticfilesystem:TagResource | ||
- elasticfilesystem:CreateFileSystem | ||
- iam:ListOpenIDConnectProviders | ||
- iam:GetOpenIDConnectProvider | ||
- iam:CreateOpenIDConnectProvider | ||
- iam:TagOpenIDConnectProvider | ||
- iam:DeleteOpenIDConnectProvider | ||
- iam:DeleteRole | ||
- iam:DeleteRolePolicy | ||
- iam:GetOpenIDConnectProvider | ||
- iam:GetRole | ||
- iam:GetUser | ||
- iam:ListOpenIDConnectProviders | ||
- iam:ListRolePolicies | ||
- iam:ListRoles | ||
- iam:PutRolePolicy | ||
- iam:TagOpenIDConnectProvider | ||
- iam:TagRole | ||
- iam:CreateRole | ||
- ec2:GetEbsDefaultKmsKeyId | ||
- iam:CreateInstanceProfile | ||
- iam:AddRoleToInstanceProfile | ||
- iam:RemoveRoleFromInstanceProfile | ||
- ec2:GetConsoleOutput | ||
- iam:DeleteInstanceProfile | ||
Effect: Allow | ||
Resource: '*' | ||
Version: '2012-10-17' | ||
PolicyName: OCPCloudform-policy | ||
RoleName: OCPCloudform-role | ||
Type: AWS::IAM::Role |
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
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
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