File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -73,13 +73,16 @@ Parameters:
7373   Type : AWS::EC2::Subnet::Id 
7474 KmsKeyArn :
7575   Description : " The KMS Key to use for Encryption" 
76-    Type : AWS::KMS::Key::Id 
76+    Type : String 
7777
7878Resources : 
7979  RedshiftLoaderIamPolicy : 
8080    Type : " AWS::IAM::Policy" 
8181    Properties :
8282      PolicyName : " RedshiftLambdaLoaderPolicy" 
83+       Roles :
84+           - !Ref  EC2ContainerRole 
85+           - !Ref  LambdaTriggerRole 
8386      PolicyDocument : 
8487        Version : " 2012-10-17" 
8588        Statement : 
@@ -147,8 +150,6 @@ Resources:
147150            Action : 
148151              - sts:AssumeRole 
149152      Path : " /" 
150-       Policies : 
151-         - !Ref  RedshiftLoaderIamPolicy 
152153
153154  LambdaTriggerRole : 
154155    Type : " AWS::IAM::Role" 
@@ -164,8 +165,6 @@ Resources:
164165            Action : 
165166              - sts:AssumeRole 
166167      Path : " /" 
167-       Policies : 
168-         - !Ref  RedshiftLoaderIamPolicy 
169168
170169  MyInstanceProfile :
171170      Type : AWS::IAM::InstanceProfile 
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments