aws-samples / aws-codepipeline-bitbucket-integration

Integrates AWS CodePipeline with the Bitbucket Server
MIT License
33 stars 37 forks source link

LBSubnet error while EndpointType is API Gateway #8

Open AmitThakkar opened 4 years ago

AmitThakkar commented 4 years ago

As documentation suggests:

Subnets where the Application Load Balancer run. Leave it blank if you are using the API Gateway endpoint type.

We leave empty for API Gateway, then we get below error while creating stack:

Parameter validation failed: parameter value for parameter name LBSubnets does not exist. Rollback requested by user.

Marakai commented 4 years ago

The PR by user @stevecookms would fix this but AWS seem to be slow in incorporating them. In the meantime you're likely better off forking and applying the PR yourself.

richmidwinter commented 4 years ago

Looks like it still doesn't work, the PR is still not merged and there's conflicts now. 😞

gauravsharmataj commented 4 years ago

As this LBSubnet is list type property I put the same subnet Id as used in Lambda and it works.

nirojshrestha019 commented 3 years ago

I am having the same issue. I am using API gateway as endpoint type and as per the readme file I left LBSubnets values empty. But I am getting the following error message while creating stack:

Parameter validation failed: parameter value for parameter name LBSubnets does not exist, parameter value for parameter name VPCID does not exist, parameter value for parameter name LambdaSubnets does not exist. Rollback requested by user.

I am new to AWS and still learning. Has anyone got the solution?