https://pulumi.com logo
#general
Title
# general
b

bored-car-93231

11/24/2023, 7:23 PM
Any support available??
e

echoing-dinner-19531

11/24/2023, 11:31 PM
That looks like a rendering bug in the CLI. If you raise an issue at https://github.com/pulumi/pulumi/issues including which version of the CLI your using and any other error output then engineering can take a look
b

bored-car-93231

11/25/2023, 8:01 PM
Looks like I'm running across this error, I think that is what's timing my deployment out since it's never successful.
ResourceInitializationError: failed to validate logger args: create stream has been retried 7 times: failed to create Cloudwatch log stream: RequestError: send request failed caused by: Post "<https://logs.undefined.amazonaws.com/>": dial tcp: lookup <http://logs.undefined.amazonaws.com|logs.undefined.amazonaws.com> on 172.31.0.2:53: no such host : exit status 1
I've added cloudwatch log group instead of using "aws logs", hopefully this fixes the issue? log_group = aws.cloudwatch.LogGroup("log_group") repository = awsx.ecr.Repository("repository") image = awsx.ecr.Image("image", repository_url=repository.url, context="..", platform='linux/x86_64', builder_version="BuilderBuildKit", args={"BUILDKIT_INLINE_CACHE": "1"}, ) cluster = aws.ecs.Cluster("cluster") lb = awsx.lb.ApplicationLoadBalancer("lb", default_target_group_port=8000) service = awsx.ecs.FargateService("service", cluster=cluster.arn, assign_public_ip=True, desired_count=2, platform_version="LATEST", task_definition_args=awsx.ecs.FargateServiceTaskDefinitionArgs( container=awsx.ecs.TaskDefinitionContainerDefinitionArgs( name="chainlit", image=image.image_uri, port_mappings=[awsx.ecs.TaskDefinitionPortMappingArgs( target_group=lb.default_target_group, )], cpu=1024, memory=4096, essential=True, ), log_group=log_group )) pulumi.export("url", lb.load_balancer.dns_name) for a separate issue, my build time for the image is very long. I will need a cache_from argument correct, and what should the value look like?