Skip to content
This repository has been archived by the owner on Oct 4, 2024. It is now read-only.

Commit

Permalink
Merge pull request #35 from holt-calder/main
Browse files Browse the repository at this point in the history
Modifying s3 bucket for regional buckets in aws-quickstart
  • Loading branch information
sshvans authored Feb 25, 2021
2 parents 57a4cd8 + bf2881d commit 4ca95b3
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions templates/sagemaker-for-tableau-workload.template
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,7 @@ Conditions:
LaunchToVpc: !Equals
- !Ref LaunchToVpc
- 'Yes'
UsingDefaultBucket: !Equals [!Ref QSS3BucketName, 'aws-quickstart']

Resources:
VPCEndpoint:
Expand Down Expand Up @@ -183,7 +184,7 @@ Resources:
Type: AWS::Serverless::Function
Properties:
CodeUri:
Bucket: !Ref QSS3BucketName
Bucket: !If [UsingDefaultBucket, !Sub '${QSS3BucketName}-${AWS::Region}', !Ref QSS3BucketName]
Key: !Sub "${QSS3KeyPrefix}scripts/Info/Info.zip"
Handler: lambda_function.lambda_handler
Events:
Expand All @@ -202,7 +203,7 @@ Resources:
Type: AWS::Serverless::Function
Properties:
CodeUri:
Bucket: !Ref QSS3BucketName
Bucket: !If [UsingDefaultBucket, !Sub '${QSS3BucketName}-${AWS::Region}', !Ref QSS3BucketName]
Key: !Sub "${QSS3KeyPrefix}scripts/Evaluate/Evaluate.zip"
Handler: lambda_function.lambda_handler
Policies:
Expand Down Expand Up @@ -319,7 +320,7 @@ Resources:
Type: AWS::Serverless::Function
Properties:
CodeUri:
Bucket: !Ref QSS3BucketName
Bucket: !If [UsingDefaultBucket, !Sub '${QSS3BucketName}-${AWS::Region}', !Ref QSS3BucketName]
Key: !Sub "${QSS3KeyPrefix}scripts/Authorizer/Authorizer.zip"

Handler: lambda_function.lambda_handler
Expand Down

0 comments on commit 4ca95b3

Please sign in to comment.