File tree 3 files changed +6
-6
lines changed
aws-ts-url-shortener-cache-http
3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -130,5 +130,5 @@ let airflowWorkers = new awsx.ecs.EC2Service("airflowworkers", {
130
130
} ,
131
131
} ) ;
132
132
133
- export let airflowEndpoint = airflowControllerListener . endpoint ( ) . hostname ;
134
- export let flowerEndpoint = airflowerListener . endpoint ( ) . hostname ;
133
+ export let airflowEndpoint = airflowControllerListener . endpoint . hostname ;
134
+ export let flowerEndpoint = airflowerListener . endpoint . hostname ;
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ import * as config from "./config";
8
8
// A simple cache abstraction that wraps Redis.
9
9
export class Cache {
10
10
private readonly redis : awsx . ecs . FargateService ;
11
- private readonly endpoint : pulumi . Output < aws . apigateway . x . Endpoint > ;
11
+ private readonly endpoint : pulumi . Output < awsx . elasticloadbalancingv2 . ListenerEndpoint > ;
12
12
13
13
constructor ( name : string , memory : number = 128 ) {
14
14
let pw = config . redisPassword ;
@@ -26,7 +26,7 @@ export class Cache {
26
26
} ,
27
27
} ) ;
28
28
29
- this . endpoint = listener . endpoint ( ) ;
29
+ this . endpoint = listener . endpoint ;
30
30
}
31
31
32
32
public get ( key : string ) : Promise < string > {
Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ let redisCache = new awsx.ecs.FargateService("voting-app-cache", {
24
24
} ,
25
25
} ) ;
26
26
27
- let redisEndpoint = redisListener . endpoint ( ) ;
27
+ let redisEndpoint = redisListener . endpoint ;
28
28
29
29
// A custom container for the frontend, which is a Python Flask app
30
30
// 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", {
48
48
} ) ;
49
49
50
50
// Export a variable that will be displayed during 'pulumi up'
51
- export let frontendURL = frontendListener . endpoint ( ) ;
51
+ export let frontendURL = frontendListener . endpoint ;
You can’t perform that action at this time.
0 commit comments