Fix WG_HOST environment variable interpolation in user data

This commit is contained in:
vickytechkey 2026-08-06 11:25:21 +05:30
parent b7a563fa36
commit bbf1df9b6c

View file

@ -81,7 +81,7 @@ export class AwsCdkStack extends cdk.Stack {
' image: weejewel/wg-easy',
' container_name: wg-easy',
' environment:',
' - WG_HOST=\\${PUBLIC_IP}',
' - WG_HOST=${PUBLIC_IP}',
' - PASSWORD=admin123',
' volumes:',
' - ./config:/etc/wireguard',