Skip to content

Commit

Permalink
Merge branch 'dev' into prod
Browse files Browse the repository at this point in the history
  • Loading branch information
thomasyu888 committed Jul 17, 2023
2 parents fec1923 + 9b0bbd9 commit 0398156
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 2 deletions.
2 changes: 1 addition & 1 deletion config/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ profile: {{ var.profile | default() }}
region: {{ var.region | default("us-east-1") }}
aws_infra_templates_root_url: https://raw.githubusercontent.com/Sage-Bionetworks/aws-infra
admincentral_cf_bucket: bootstrap-awss3cloudformationbucket-19qromfd235z9
tower_version: v22.4.1
tower_version: v23.1.3
default_stack_tags:
Department: IBC
Project: Infrastructure
Expand Down
32 changes: 31 additions & 1 deletion templates/nextflow-forge-iam-policy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ Resources:
PolicyDocument:
Version: 2012-10-17
Statement:
- Effect: Allow
- Sid: TowerForge0
Effect: Allow
Action:
- ssm:GetParameters
- iam:CreateInstanceProfile
Expand Down Expand Up @@ -60,6 +61,35 @@ Resources:
- elasticfilesystem:PutLifecycleConfiguration
- elasticfilesystem:TagResource
Resource: "*"
- Sid: TowerLaunch0
Effect: Allow
Action:
- s3:Get*
- s3:List*
- batch:DescribeJobQueues
- batch:CancelJob
- batch:SubmitJob
- batch:ListJobs
- batch:DescribeComputeEnvironments
- batch:TerminateJob
- batch:DescribeJobs
- batch:RegisterJobDefinition
- batch:DescribeJobDefinitions
- ecs:DescribeTasks
- ec2:DescribeInstances
- ec2:DescribeInstanceTypes
- ec2:DescribeInstanceAttribute
- ecs:DescribeContainerInstances
- ec2:DescribeInstanceStatus
- ec2:DescribeImages
- logs:Describe*
- logs:Get*
- logs:List*
- logs:StartQuery
- logs:StopQuery
- logs:TestMetricFilter
- logs:FilterLogEvents
Resource: "*"
Outputs:
NextFlowForgePolicyArn:
Value: !Ref NextFlowForgePolicy
Expand Down

0 comments on commit 0398156

Please sign in to comment.