From e963dcea78bfcedfa5551766b89395db3d361626 Mon Sep 17 00:00:00 2001 From: Bryan Karaffa Date: Fri, 20 Sep 2024 08:20:20 -0700 Subject: [PATCH] Delete Optima/FlexeraOptimaAccessRole.cft.json People are referencing this CFT instead of the correct one in the subdir by mistake --- Optima/FlexeraOptimaAccessRole.cft.json | 89 ------------------------- 1 file changed, 89 deletions(-) delete mode 100644 Optima/FlexeraOptimaAccessRole.cft.json diff --git a/Optima/FlexeraOptimaAccessRole.cft.json b/Optima/FlexeraOptimaAccessRole.cft.json deleted file mode 100644 index 094efb3..0000000 --- a/Optima/FlexeraOptimaAccessRole.cft.json +++ /dev/null @@ -1,89 +0,0 @@ -{ - "AWSTemplateFormatVersion": "2010-09-09", - "Resources": { - "IAMRole": { - "Type": "AWS::IAM::Role", - "Properties": { - "AssumeRolePolicyDocument": { - "Version": "2012-10-17", - "Statement": [ - { - "Effect": "Allow", - "Principal": { - "AWS": "arn:aws:iam::451234325714:role/production_customer_access" - }, - "Action": "sts:AssumeRole", - "Condition": { - "StringEquals": { - "sts:ExternalId": { "Ref": "FlexeraCMPOrgId" } - } - } - } - ] - }, - "Policies": [ - { - "PolicyDocument": { - "Version": "2012-10-17", - "Statement": [ - { - "Effect": "Allow", - "Action": [ - "s3:ListBucket", - "s3:GetBucketLocation" - ], - "Resource": [ - { "Fn::Join" : [ "", [ "arn:aws:s3:::", { "Ref" : "S3BillingBucket" } ] ] } - ] - }, - { - "Effect": "Allow", - "Action": [ - "s3:GetObject" - ], - "Resource": [ - { "Fn::Join" : [ "", [ "arn:aws:s3:::", { "Ref" : "S3BillingBucket" }, "/*" ] ] } - ] - }, - { - "Effect": "Allow", - "Action": [ - "organizations:Describe*", - "organizations:List*" - ], - "Resource": "*" - }, - { - "Effect": "Allow", - "Action": [ - "ce:GetReservationUtilization" - ], - "Resource": "*" - } - ] - }, - "PolicyName": "FlexeraOptimaAccessPolicy" - } - ], - "RoleName": "FlexeraOptimaAccessRole", - "Description": "Role that provides access for Flexera to Cost Explorer and HCUR S3 Bucket." - } - } - }, - "Parameters": { - "S3BillingBucket": { - "Description": "The name of the S3 bucket where your Hourly Cost and Usage Report is stored.", - "Type": "String" - }, - "FlexeraCMPOrgId": { - "Description": "The Id of your Flexera Organization", - "Type": "String" - } - }, - "Outputs": { - "RoleARN": { - "Description": "The ARN for the Role", - "Value": { "Fn::GetAtt" : ["IAMRole", "Arn"] } - } - } -} \ No newline at end of file