diff --git a/aws-ts-airflow/index.ts b/aws-ts-airflow/index.ts index e57b8bdd1..55244c417 100644 --- a/aws-ts-airflow/index.ts +++ b/aws-ts-airflow/index.ts @@ -130,5 +130,5 @@ let airflowWorkers = new awsx.ecs.EC2Service("airflowworkers", { }, }); -export let airflowEndpoint = airflowControllerListener.endpoint().hostname; -export let flowerEndpoint = airflowerListener.endpoint().hostname; +export let airflowEndpoint = airflowControllerListener.endpoint.hostname; +export let flowerEndpoint = airflowerListener.endpoint.hostname; diff --git a/aws-ts-url-shortener-cache-http/cache.ts b/aws-ts-url-shortener-cache-http/cache.ts index 7accf1731..549ce1d14 100644 --- a/aws-ts-url-shortener-cache-http/cache.ts +++ b/aws-ts-url-shortener-cache-http/cache.ts @@ -8,7 +8,7 @@ import * as config from "./config"; // A simple cache abstraction that wraps Redis. export class Cache { private readonly redis: awsx.ecs.FargateService; - private readonly endpoint: pulumi.Output; + private readonly endpoint: pulumi.Output; constructor(name: string, memory: number = 128) { let pw = config.redisPassword; @@ -26,7 +26,7 @@ export class Cache { }, }); - this.endpoint = listener.endpoint(); + this.endpoint = listener.endpoint; } public get(key: string): Promise { diff --git a/aws-ts-voting-app/index.ts b/aws-ts-voting-app/index.ts index f33a3c875..6813ca58c 100644 --- a/aws-ts-voting-app/index.ts +++ b/aws-ts-voting-app/index.ts @@ -24,7 +24,7 @@ let redisCache = new awsx.ecs.FargateService("voting-app-cache", { }, }); -let redisEndpoint = redisListener.endpoint(); +let redisEndpoint = redisListener.endpoint; // A custom container for the frontend, which is a Python Flask app // Use the 'build' property to specify a folder that contains a Dockerfile. @@ -48,4 +48,4 @@ let frontend = new awsx.ecs.FargateService("voting-app-frontend", { }); // Export a variable that will be displayed during 'pulumi up' -export let frontendURL = frontendListener.endpoint(); +export let frontendURL = frontendListener.endpoint;