Skip to content

Commit

Permalink
no attachments bucket
Browse files Browse the repository at this point in the history
  • Loading branch information
BearHanded committed Jul 8, 2024
1 parent 863c7fc commit 4318edd
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 13 deletions.
1 change: 0 additions & 1 deletion serverless-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ services:
# SarFormBucketName: ${database.SarFormBucketName}
# SarReportTableName: ${database.SarReportTableName}
# SarReportTableStreamArn: ${database.SarReportTableStreamArn}
# AttachmentsBucketName: ${uploads.AttachmentsBucketName}

# wave 3: depends on many
ui-auth:
Expand Down
12 changes: 0 additions & 12 deletions services/ui-auth/serverless.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@ custom:
- val
- production
sesSourceEmailAddress: ${ssm:/configuration/${self:custom.stage}/sesSourceEmailAddress, ssm:/configuration/default/sesSourceEmailAddress, ""}
attachments_bucket_arn: ${param:AttachmentsBucketArn}
api_gateway_rest_api_name: ${param:ApiGatewayRestApiName, ""}
application_endpoint_url: ${param:ApplicationEndpointUrl}
bootstrapUsersEnabled: ${ssm:/configuration/${self:custom.stage}/cognito/bootstrapUsers/enabled, ssm:/configuration/default/cognito/bootstrapUsers/enabled, ""}
Expand Down Expand Up @@ -269,17 +268,6 @@ resources:
Action:
- "execute-api:Invoke"
Resource: !Sub arn:aws:execute-api:${AWS::Region}:${AWS::AccountId}:${self:custom.api_gateway_rest_api_name}/*
- Effect: "Allow"
Action:
- "s3:*"
Resource:
# Must use Join here. See: https://github.com/serverless/serverless/issues/3565
- Fn::Join:
- ""
- - ${self:custom.attachments_bucket_arn}
- "/protected/"
- "$"
- "{cognito-identity.amazonaws.com:sub}/*"
CognitoUserPoolIdParameter:
Type: AWS::SSM::Parameter
Properties:
Expand Down

0 comments on commit 4318edd

Please sign in to comment.