diff --git a/pkg/infra/iac3/templates/aws/ecs_service/factory.ts b/pkg/infra/iac3/templates/aws/ecs_service/factory.ts index 52afe3c48..d345c07d9 100644 --- a/pkg/infra/iac3/templates/aws/ecs_service/factory.ts +++ b/pkg/infra/iac3/templates/aws/ecs_service/factory.ts @@ -54,6 +54,7 @@ function create(args: Args): aws.ecs.Service { }, //TMPL {{- end }} taskDefinition: args.TaskDefinition.arn, + waitForSteadyState: true, }, { dependsOn: args.dependsOn } ) diff --git a/pkg/infra/iac3/templates/aws/rds_instance/factory.ts b/pkg/infra/iac3/templates/aws/rds_instance/factory.ts index 6e754a541..2a132301a 100644 --- a/pkg/infra/iac3/templates/aws/rds_instance/factory.ts +++ b/pkg/infra/iac3/templates/aws/rds_instance/factory.ts @@ -51,3 +51,14 @@ function properties(object: aws.rds.Instance, args: Args) { Endpoint: object.endpoint, } } + +function infraExports( + object: ReturnType, + args: Args, + props: ReturnType +) { + return { + Address: object.address, + Endpoint: object.endpoint, + } +}