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

Commit

Permalink
Revert "[feat] Use S3VPCE to prevent S3 access outside of VPC (#1183)"
Browse files Browse the repository at this point in the history
This reverts commit 6db5a8f.
  • Loading branch information
aws-tyler authored Apr 28, 2023
1 parent c75600c commit 54836d7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1228,9 +1228,7 @@ Outputs:
Condition: isAppStreamAndCustomDomain
Value: !Ref Route53HostedZone

S3VPCE:
S3VpcEndpoint:
Description: S3 interface endpoint
Condition: isAppStream
Value: !Ref S3Endpoint
Export:
Name: !Join [ '', [ Ref: Namespace, '-S3VPCE' ] ]
Value: !Ref S3Endpoint
Original file line number Diff line number Diff line change
Expand Up @@ -122,14 +122,6 @@ Resources:
- sagemaker:DescribeNotebookInstance
- sagemaker:StopNotebookInstance
Resource: '*'
- Effect: Deny
Action: 's3:*'
Resource: '*'
Condition:
StringNotEquals:
aws:SourceVpce:
Fn::ImportValue: !Sub '${SolutionNamespace}-S3VPCE'


IAMRoleSageMakerURL:
Type: 'AWS::IAM::Role'
Expand Down

0 comments on commit 54836d7

Please sign in to comment.