Skip to content

Commit 4848ee7

Browse files
Merge pull request #209 from harshithNayakRelevanceLab/topic-release
Update the base account policy to modify the S3 bucket policy, update the command to pull the latest version of FUSE, and add permission to describe VPCs in the project account Role.
2 parents e166ea8 + d23eb4c commit 4848ee7

4 files changed

Lines changed: 10 additions & 3 deletions

File tree

config/access-policy.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,7 @@
9090
"ec2:CopyImage",
9191
"ec2:CreateDefaultVpc",
9292
"ec2:AttachVolume",
93+
"ec2:DescribeVpcs",
9394
"elasticloadbalancing:CreateLoadBalancer",
9495
"elasticloadbalancing:DeleteLoadBalancer",
9596
"elasticloadbalancing:ModifyLoadBalancerAttributes",

config/access-secure-policy.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,7 @@
106106
"ec2:DeleteVolume",
107107
"ec2:DescribeInstanceTypes",
108108
"ec2:AssociateIamInstanceProfile",
109+
"ec2:DescribeVpcs",
109110
"elasticloadbalancing:CreateLoadBalancer",
110111
"elasticloadbalancing:DeleteLoadBalancer",
111112
"elasticloadbalancing:ModifyLoadBalancerAttributes",

rg_main_stack.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,8 @@ Resources:
128128
- elasticloadbalancing:RegisterTargets
129129
- sts:AssumeRole
130130
- kms:Decrypt
131+
- kms:GetKeyPolicy
132+
- kms:PutKeyPolicy
131133
Resource: "*"
132134
- Sid: "RoleRelatedPermissions"
133135
Effect: Allow

scripts/bootstrap-scripts/bootstrap.sh

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -96,15 +96,18 @@ OS_VERSION=`cat /etc/os-release | grep VERSION= | sed 's/VERSION="//' | sed 's/"
9696
# Apply updates to environments based on environment type
9797
case "$(env_type)" in
9898
"ec2-linux") # Add mount script to bash profile
99-
yum install -y fuse-2.9.2
99+
yum install -y fuse fuse-common
100+
modprobe fuse
100101
printf "\n# Mount S3 study data\nmount_s3.sh\n\n" >> "/home/ec2-user/.bash_profile"
101102
;;
102103
"rstudio") # Add mount script to bash profile
103-
yum install -y fuse-2.9.2
104+
yum install -y fuse fuse-common
105+
modprobe fuse
104106
printf "\n# Mount S3 study data\nmount_s3.sh\n\n" >> "/home/${RSTUDIO_USER}/.bash_profile"
105107
;;
106108
"nextflow") # Add mount script to bash profile
107-
yum install -y fuse-2.9.2
109+
yum install -y fuse fuse-common
110+
modprobe fuse
108111
printf "\n# Mount S3 study data\nmount_s3.sh\n\n" >> "/home/ec2-user/.bash_profile"
109112
;;
110113
"sagemaker") # Update config and restart Jupyter

0 commit comments

Comments
 (0)