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

When running the existing example under live/core, Error creating in VPC endpoint #18

Open
synthKyel opened this issue Nov 8, 2023 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@synthKyel
Copy link

Describe the bug

When run for the first time with the default configuration. It fails creating a secrets manager linked to the VPC

Expected Behavior

Be able to attach secrets manager to the VPC endpoint

Current Behavior

throws an error with this message

 Error: creating EC2 VPC Endpoint (com.amazonaws.us-west-2.secretsmanager): InvalidParameter: Subnet IDs are only supported for Interface and GatewayLoadBalancer type VPC Endpoints.
│       status code: 400, request id: c3858cb1-8278-4dea-a6d2-177948dcf477
│
│   with module.vpc.aws_vpc_endpoint.secrets_manager,
│   on ..\..\modules\vpc\endpoints.tf line 3, in resource "aws_vpc_endpoint" "secrets_manager":
│    3: resource "aws_vpc_endpoint" "secrets_manager" {

Reproduction Steps

Run through the default example

Possible Solution

No response

Additional Information/Context

No response

Version used

latest

Environment details (OS name and version, etc.)

windows 10

@synthKyel synthKyel added the bug Something isn't working label Nov 8, 2023
@ulises-jeremias
Copy link
Member

hey! @synthKyel thanks for creating this issue! for now I decided to remove the creation of the endpoint from the boilerplate just to unblock others to use this boilerplate but will make the needed changes on other Pull Request to let you create the VPC Endpoint for Secrets Manager using this boilerplate 😊

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants