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

[IT-3953] disable SameRegionResourceAccessToBucket #648

Closed
wants to merge 1 commit into from

Conversation

zaro0508
Copy link
Member

issue https://sagebionetworks.jira.com/browse/IT-3953 caused the AWS deployment to fail so we need to temporarily disable SameRegionResourceAccessToBucket

issue https://sagebionetworks.jira.com/browse/IT-3953 caused the AWS
deployment to fail so we need to temporarily disable
SameRegionResourceAccessToBucket

We should revert this change after fixing that issue.
@zaro0508 zaro0508 requested review from a team as code owners October 21, 2024 16:39
Copy link
Member

@brucehoff brucehoff left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The error you put in IT-3953 says, "failed to create RestrictBucketDownloadRegionFunction". If the currently existing buckets already have the IPAddressRestictionLambda, why are they affected by a failure to create the Lambda? Shouldn't the problem affect only new buckets?

If we merge this PR then seven buckets will lose their protection against costly egress. How is this risk mitigated?

@zaro0508
Copy link
Member Author

The error you put in IT-3953 says, "failed to create RestrictBucketDownloadRegionFunction". If the currently existing buckets already have the IPAddressRestictionLambda, why are they affected by a failure to create the Lambda? Shouldn't the problem affect only new buckets?

It's affecting existing buckets because there was a change to update tags on existing buckets.

If we merge this PR then seven buckets will lose their protection against costly egress. How is this risk mitigated?

There are PRs in this repo waiting to merge so my idea was to temporarily disable RestrictBucketDownloadRegionFunction to keep deployments working. The alternative is to fix IT-3953 instead of temporarily disabling RestrictBucketDownloadRegionFunction. Another alternative is to manually deploy PRs until we fix IT-3953. Is there an option that you prefer @brucehoff ?

@brucehoff
Copy link
Member

The error you put in IT-3953 says, "failed to create RestrictBucketDownloadRegionFunction". If the currently existing buckets already have the IPAddressRestictionLambda, why are they affected by a failure to create the Lambda? Shouldn't the problem affect only new buckets?

It's affecting existing buckets because there was a change to update tags on existing buckets.

If we merge this PR then seven buckets will lose their protection against costly egress. How is this risk mitigated?

There are PRs in this repo waiting to merge so my idea was to temporarily disable RestrictBucketDownloadRegionFunction to keep deployments working. The alternative is to fix IT-3953 instead of temporarily disabling RestrictBucketDownloadRegionFunction. Another alternative is to manually deploy PRs until we fix IT-3953. Is there an option that you prefer @brucehoff ?

Thank you for presenting these options. As suggested in our meeting today, can you please prioritize fixing IT-3953?

@zaro0508
Copy link
Member Author

replaced with PRs Sage-Bionetworks/aws-infra#416 and #649

@zaro0508 zaro0508 closed this Oct 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants