Skip to content

Commit

Permalink
Remove unused comments
Browse files Browse the repository at this point in the history
  • Loading branch information
jerry-shao committed Apr 6, 2024
1 parent f088602 commit 297e3c6
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,6 @@ export class ElasticBeanstalkDeployAction extends Action {

// Per https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/AWSHowTo.iam.managed-policies.html
// it doesn't seem we can scope this down further for the codepipeline action.
// options.role.addManagedPolicy({ managedPolicyArn: `arn:${Aws.PARTITION}:iam::aws:policy/AdministratorAccess-AWSElasticBeanstalk` });
options.role.addManagedPolicy(ManagedPolicy.fromAwsManagedPolicyName('AdministratorAccess-AWSElasticBeanstalk'));

// the Action's Role needs to read from the Bucket to get artifacts
Expand Down

0 comments on commit 297e3c6

Please # to comment.