Skip to content

Commit

Permalink
[IT-3953] Update same region bucket lambda (#416)
Browse files Browse the repository at this point in the history
The cfn-cr-same-region-bucket-download lambda was failing to
deploy with the scicomp-provisioner[1] with the following error..

```
[2024-10-18 16:34:58] - prod/htan2-testing1 IPAddressRestictionLambda
AWS::CloudFormation::Stack CREATE_FAILED Embedded stack
arn:aws:cloudformation:us-east-1:***:stack/htan2-testing1-IPAddressRestictionLambda-1534XYHGZI8V8/cd414320-8d6e-11ef-a975-0affca4facf5
was not successfully created: The following resource(s) failed to create: [RestrictBucketDownloadRegionFunction].
```

We neglected to update the S3 template to use the latest
version of the lambda  which was missing an update of
dependencies[2].

[1] https://github.com/Sage-Bionetworks/scicomp-provisioner
[2] Sage-Bionetworks-IT/cfn-cr-same-region-bucket-download@0316d97
  • Loading branch information
zaro0508 authored Oct 22, 2024
1 parent 137375f commit 7b5313f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/S3/synapse-external-bucket.j2
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ Resources:
Condition: CreateIPAddressRestrictionLambda
Properties:
# lambda from https://github.com/Sage-Bionetworks-IT/cfn-cr-same-region-bucket-download
TemplateURL: 'https://bootstrap-awss3cloudformationbucket-19qromfd235z9.s3.amazonaws.com/cfn-cr-same-region-bucket-download/1.0.1/cfn-cr-same-region-bucket-download.yaml'
TemplateURL: 'https://bootstrap-awss3cloudformationbucket-19qromfd235z9.s3.amazonaws.com/cfn-cr-same-region-bucket-download/1.0.2/cfn-cr-same-region-bucket-download.yaml'
Parameters:
BucketName: !Ref Bucket

Expand Down

0 comments on commit 7b5313f

Please sign in to comment.