aptible / terraform-provider-aptible

The official Terraform provider for Aptible Deploy
https://registry.terraform.io/providers/aptible/aptible/latest
10 stars 13 forks source link

sc-16403 - added container_ports support to endpoints in array form #101

Closed madhuravius closed 1 year ago

madhuravius commented 1 year ago

Note - I used caddy as it has multiple exposed ports on their base docker image https://hub.docker.com/_/caddy for integration tests

This correctly will validate (https not allowed this, container_port and container_ports being mutually exclusive and/or only usable for tcp/tls):

image image

It will also correctly create:

image image image


Integration tests and unit tests also pass:

image


This is needed for merge: https://github.com/aptible/go-deploy/pull/63

shortcut-integration[bot] commented 1 year ago

This pull request has been linked to Shortcut Story #16403: Update Terraform Provider to properly support TCP/TLS endpoints.

madhuravius commented 1 year ago

After most recent changes, tests continue to pass:

ports

image

port

image

db

image