Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix read only filesystem security hub error #188

Merged
merged 3 commits into from
Sep 6, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions serverless-resources.yml
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,7 @@ rBuildsBatchJobDefinitionUbuntu2004:
JobRoleArn:
"Fn::GetAtt": [ rBuildsEcsTaskIamRole, Arn ]
Image: "#{AWS::AccountId}.dkr.ecr.#{AWS::Region}.amazonaws.com/r-builds:ubuntu-2004"
ReadOnlyRootFilesystem: true
Timeout:
AttemptDurationSeconds: 7200
rBuildsBatchJobDefinitionUbuntu2204:
Expand All @@ -161,6 +162,7 @@ rBuildsBatchJobDefinitionUbuntu2204:
JobRoleArn:
"Fn::GetAtt": [ rBuildsEcsTaskIamRole, Arn ]
Image: "#{AWS::AccountId}.dkr.ecr.#{AWS::Region}.amazonaws.com/r-builds:ubuntu-2204"
ReadOnlyRootFilesystem: true
Timeout:
AttemptDurationSeconds: 7200
rBuildsBatchJobDefinitionDebian10:
Expand All @@ -175,6 +177,7 @@ rBuildsBatchJobDefinitionDebian10:
JobRoleArn:
"Fn::GetAtt": [ rBuildsEcsTaskIamRole, Arn ]
Image: "#{AWS::AccountId}.dkr.ecr.#{AWS::Region}.amazonaws.com/r-builds:debian-10"
ReadOnlyRootFilesystem: true
Timeout:
AttemptDurationSeconds: 7200
rBuildsBatchJobDefinitionDebian11:
Expand All @@ -189,6 +192,7 @@ rBuildsBatchJobDefinitionDebian11:
JobRoleArn:
"Fn::GetAtt": [ rBuildsEcsTaskIamRole, Arn ]
Image: "#{AWS::AccountId}.dkr.ecr.#{AWS::Region}.amazonaws.com/r-builds:debian-11"
ReadOnlyRootFilesystem: true
Timeout:
AttemptDurationSeconds: 7200
rBuildsBatchJobDefinitionDebian12:
Expand All @@ -203,6 +207,7 @@ rBuildsBatchJobDefinitionDebian12:
JobRoleArn:
"Fn::GetAtt": [ rBuildsEcsTaskIamRole, Arn ]
Image: "#{AWS::AccountId}.dkr.ecr.#{AWS::Region}.amazonaws.com/r-builds:debian-12"
ReadOnlyRootFilesystem: true
Timeout:
AttemptDurationSeconds: 7200
rBuildsBatchJobDefinitionCentos7:
Expand All @@ -217,6 +222,7 @@ rBuildsBatchJobDefinitionCentos7:
JobRoleArn:
"Fn::GetAtt": [ rBuildsEcsTaskIamRole, Arn ]
Image: "#{AWS::AccountId}.dkr.ecr.#{AWS::Region}.amazonaws.com/r-builds:centos-7"
ReadOnlyRootFilesystem: true
Timeout:
AttemptDurationSeconds: 7200
rBuildsBatchJobDefinitionCentos8:
Expand All @@ -231,6 +237,7 @@ rBuildsBatchJobDefinitionCentos8:
JobRoleArn:
"Fn::GetAtt": [ rBuildsEcsTaskIamRole, Arn ]
Image: "#{AWS::AccountId}.dkr.ecr.#{AWS::Region}.amazonaws.com/r-builds:centos-8"
ReadOnlyRootFilesystem: true
Timeout:
AttemptDurationSeconds: 7200
rBuildsBatchJobDefinitionRhel9:
Expand All @@ -245,6 +252,7 @@ rBuildsBatchJobDefinitionRhel9:
JobRoleArn:
"Fn::GetAtt": [ rBuildsEcsTaskIamRole, Arn ]
Image: "#{AWS::AccountId}.dkr.ecr.#{AWS::Region}.amazonaws.com/r-builds:rhel-9"
ReadOnlyRootFilesystem: true
Timeout:
AttemptDurationSeconds: 7200
rBuildsBatchJobDefinitionOpensuse154:
Expand All @@ -259,6 +267,7 @@ rBuildsBatchJobDefinitionOpensuse154:
JobRoleArn:
"Fn::GetAtt": [ rBuildsEcsTaskIamRole, Arn ]
Image: "#{AWS::AccountId}.dkr.ecr.#{AWS::Region}.amazonaws.com/r-builds:opensuse-154"
ReadOnlyRootFilesystem: true
Timeout:
AttemptDurationSeconds: 7200
rBuildsBatchJobDefinitionFedora37:
Expand All @@ -273,6 +282,7 @@ rBuildsBatchJobDefinitionFedora37:
JobRoleArn:
"Fn::GetAtt": [ rBuildsEcsTaskIamRole, Arn ]
Image: "#{AWS::AccountId}.dkr.ecr.#{AWS::Region}.amazonaws.com/r-builds:fedora-37"
ReadOnlyRootFilesystem: true
Timeout:
AttemptDurationSeconds: 7200
rBuildsBatchJobDefinitionFedora38:
Expand All @@ -287,6 +297,7 @@ rBuildsBatchJobDefinitionFedora38:
JobRoleArn:
"Fn::GetAtt": [ rBuildsEcsTaskIamRole, Arn ]
Image: "#{AWS::AccountId}.dkr.ecr.#{AWS::Region}.amazonaws.com/r-builds:fedora-38"
ReadOnlyRootFilesystem: true
Timeout:
AttemptDurationSeconds: 7200

Expand Down