Skip to content

Commit

Permalink
add pulumi exports for rds and wait for ecs (#793)
Browse files Browse the repository at this point in the history
  • Loading branch information
jhsinger-klotho authored Nov 28, 2023
1 parent b8ead47 commit c4ca781
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
1 change: 1 addition & 0 deletions pkg/infra/iac3/templates/aws/ecs_service/factory.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ function create(args: Args): aws.ecs.Service {
},
//TMPL {{- end }}
taskDefinition: args.TaskDefinition.arn,
waitForSteadyState: true,
},
{ dependsOn: args.dependsOn }
)
Expand Down
11 changes: 11 additions & 0 deletions pkg/infra/iac3/templates/aws/rds_instance/factory.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,3 +51,14 @@ function properties(object: aws.rds.Instance, args: Args) {
Endpoint: object.endpoint,
}
}

function infraExports(
object: ReturnType<typeof create>,
args: Args,
props: ReturnType<typeof properties>
) {
return {
Address: object.address,
Endpoint: object.endpoint,
}
}

0 comments on commit c4ca781

Please sign in to comment.