Files
floci/src/main/java
Priamo Germosen f59990e270 fix(mwaa): put an environment's Airflow container on its VPC's network (#8470)
An environment's NetworkConfiguration names the subnets Amazon MWAA
runs its workers in, but the Airflow container stayed on Floci's own
network, so a DAG could not reach an EC2 instance, or anything else in
the VPC, at the private address EC2 reports.

Before the container starts, it now joins its VPC's Docker network at
an address leased from the first subnet, as EC2 instances and
VPC-configured Lambda functions do, and keeps the network it was
created on, where its metadata database is. The address goes back once
the container is removed, on delete or after a failed start. A subnet
EC2 does not know, or VPC networks switched off, leaves it as before.
2026-11-15 13:47:59 -04:00
..