Skip to content

Feat/make private api work#68

Open
globart wants to merge 3 commits into
cloudposse:mainfrom
globart:feat/make-private-api-work
Open

Feat/make private api work#68
globart wants to merge 3 commits into
cloudposse:mainfrom
globart:feat/make-private-api-work

Conversation

@globart

@globart globart commented Jun 30, 2026

Copy link
Copy Markdown
Contributor

what

Introduced a new Terraform variable ip_address_type to allow explicit configuration of the network addressing scheme for the API infrastructure.

Configured the variable by default to dualstack, enabling native support for both IPv4 and IPv6 traffic routing.

Implemented built-in Terraform validation to enforce strict compliance with valid AWS networking configurations (ipv4, ipv6, or dualstack), catching invalid inputs early during the plan phase.

why

Making the private API functional requires alignment with internal VPC routing architectures, especially when dealing with modern dual-stack environments or legacy IPv4-only networks.

Hardcoding the IP address type limits module reusability across different environments; exposing this parameter allows downstream deployments to adapt the API endpoints to local subnet restrictions.

Utilizing dualstack as the default ensures future-proof compatibility and seamless internal communication without breaking existing IPv4 workflows.

references

@globart globart requested review from a team as code owners June 30, 2026 16:53
@mergify mergify Bot added the triage Needs triage label Jun 30, 2026
@globart

globart commented Jul 4, 2026

Copy link
Copy Markdown
Contributor Author

Veronika Gnilitska (@gberenice) could you please check this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

triage Needs triage

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant