Repository navigation
Centralized VPC endpoints: show group and single consumption models - #21
Merged
pablo19sc merged 6 commits intoOct 21, 2026
Conversation
added 6 commits
October 20, 2026 14:18
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Updates the Centralized VPC Endpoints pattern to show both ways of consuming centralized interface endpoints through VPC Lattice, side by side:
group_domain = <region>.amazonaws.com) with one child per endpoint, associated with the service network once. VPC Lattice creates a private hosted zone for the whole group domain in the consumer VPC, so any AWS service under<region>.amazonaws.comthat isn't a child returns NXDOMAIN. That suits environments where VPCs must have no other path to AWS services.Each model has its own service network and consumer VPC, because two resource configurations with the same custom domain can't be in the same service network. The endpoints VPC, interface endpoints and resource gateway are shared. The pattern README explains why there are two models, compares them, and lists what to take into account for each.
Other changes:
centralized_endpoints,consumer_group,consumer_single, plus a smallmain/commonfor the items both consumers use. Terraform and CloudFormation have the same layout.CONVENTIONS.md§2 anddeploy-and-test.mdnow note that a pattern may split per role.service_network_log_type = RESOURCE, so resource traffic is recorded.hashicorp/awsexcept the group resource configuration, which stays onawsccuntilgroup_domainis supported (r/aws_vpclattice_resource_configuration: add support for group_domain attribute hashicorp/terraform-provider-aws#48843). The provider floors are unchanged.vpc_endpoints.yaml→centralized_endpoints.yaml,consumer.yaml→consumer_group.yaml), andcommon.yamlandconsumer_single.yamlare new. The Makefile deploys 4 stacks. The resource-configuration access-log subscriptions are chained withDependsOn, because creating them in parallel fails with a CloudWatch LogsOperationAbortedException.Where is the change?
patterns/— a new deployable patternpatterns/— an update to an existing patternpatterns/4-auth_policies/— the auth policies and signing reference toolkitSKILLS.mdorskills/— agent knowledgeREADME.md,CONVENTIONS.md,CONTRIBUTING.md,AGENTS.md,llms.txt,.github/)Checklist for every change
pre-commit run --all-filespasses locally (see CONTRIBUTING.md).:reason).llms.txt.llms.txtlinks them.AGENTS.mdreflects it.If the change adds or updates a pattern
AWS_IAMwith an open auth policy on service-exposing patterns.Testing
terraform fmt -checkandterraform validate,terraform-docs --output-check(v0.21.0), andcfn-lint1.57.2 on all 4 templates. Checkov reports 0 failed checks, but it can't parse templates using!Ref {Fn::Sub}insideForEach; the existing1-ec2_instancetemplates hit the same parse error. The fullpre-commit run --all-fileswasn't run.