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

fix: Add explicit parameters for S3 interface endpoint #604

Closed
wants to merge 1 commit into from

Conversation

bodgit
Copy link

@bodgit bodgit commented Feb 24, 2021

Description

This makes the existing S3 endpoint parameters purely for the gateway type and adds new parameters for the S3 interface type. The existing parameters that don't make sense for a gateway endpoint are removed as well as the parameter for choosing the type.

The missing outputs are also added for parity with existing endpoints.

Based on the work in #575.

Motivation and Context

The current module only allows either an interface or gateway endpoint however it's valid to have both types configured.

Fixes #603

Breaking Changes

Yes, sadly. It makes sense to keep the default endpoint type to be a gateway as that was first. Because new parameters are added explicitly for the new interface endpoint type, there are some parameters that now no longer make sense for gateway endpoint types (private DNS, subnet ID's, etc.). You could keep some of the current names however the parameter naming would be confusing and not follow the consistency and conventions of the other parameters in the module.

How Has This Been Tested?

I will update the tests shortly.

This makes the existing S3 endpoint parameters purely for the gateway
type and adds new parameters for the S3 interface type. The existing
parameters that don't make sense for a gateway endpoint are removed as
well as the parameter for choosing the type.

The missing outputs are also added for parity with existing endpoints.

Based on the work in terraform-aws-modules#575.

Fixes terraform-aws-modules#603
@github-actions
Copy link

I'm going to lock this pull request because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems related to this change, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Oct 31, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Allow both interface and gateway S3 VPC endpoints
1 participant