Skip to content

Validate private API config during packaging - #2191

Open
alexgromero wants to merge 2 commits into
masterfrom
validate-private-api-package
Open

Validate private API config during packaging#2191
alexgromero wants to merge 2 commits into
masterfrom
validate-private-api-package

Conversation

@alexgromero

Copy link
Copy Markdown
Contributor

Overview

Applies the existing API Gateway resource policy validation in the package path before generating package resources.

This keeps chalice package aligned with chalice deploy for PRIVATE APIs: when no explicit API Gateway policy file is provided, a VPC endpoint id is required so chalice can generate the default resource policy.

This is a fail-fast change for a PRIVATE API configuration that chalice deploy already rejects and that previously produced an invalid packaged template.

Testing

  • Adds regression coverage for the package path.
  • ran make prcheck.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@alexgromero
alexgromero requested a review from a team September 10, 2026 21:14
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.

1 participant