From c82353a80045ceb87ec5c7a012762245cf6d8d8f Mon Sep 17 00:00:00 2001 From: Cedric Lamoriniere Date: Thu, 15 Feb 2024 20:56:47 +0100 Subject: [PATCH] User public.ecr redis image to avoid rate limit --- components/datadog/apps/redis/ecs.go | 2 +- components/datadog/apps/redis/ecsFargate.go | 2 +- components/datadog/apps/redis/k8s.go | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/components/datadog/apps/redis/ecs.go b/components/datadog/apps/redis/ecs.go index 5b4de4090..4166c97ac 100644 --- a/components/datadog/apps/redis/ecs.go +++ b/components/datadog/apps/redis/ecs.go @@ -55,7 +55,7 @@ func EcsAppDefinition(e aws.Environment, clusterArn pulumi.StringInput, opts ... Containers: map[string]ecs.TaskDefinitionContainerDefinitionArgs{ "redis": { Name: pulumi.String("redis"), - Image: pulumi.String("redis:latest"), + Image: pulumi.String("public.ecr.aws/docker/library/redis:latest"), DockerLabels: pulumi.StringMap{ "com.datadoghq.ad.tags": pulumi.String("[\"ecs_launch_type:ec2\"]"), }, diff --git a/components/datadog/apps/redis/ecsFargate.go b/components/datadog/apps/redis/ecsFargate.go index 26f2e5824..5789ae254 100644 --- a/components/datadog/apps/redis/ecsFargate.go +++ b/components/datadog/apps/redis/ecsFargate.go @@ -49,7 +49,7 @@ func FargateAppDefinition(e aws.Environment, clusterArn pulumi.StringInput, apiK serverContainer := &ecs.TaskDefinitionContainerDefinitionArgs{ Name: pulumi.String("redis"), - Image: pulumi.String("redis:latest"), + Image: pulumi.String("public.ecr.aws/docker/library/redis:latest"), DockerLabels: pulumi.StringMap{ "com.datadoghq.ad.tags": pulumi.String("[\"ecs_launch_type:fargate\"]"), }, diff --git a/components/datadog/apps/redis/k8s.go b/components/datadog/apps/redis/k8s.go index 44a6823c2..5a7ec8701 100644 --- a/components/datadog/apps/redis/k8s.go +++ b/components/datadog/apps/redis/k8s.go @@ -73,7 +73,7 @@ func K8sAppDefinition(e config.CommonEnvironment, kubeProvider *kubernetes.Provi Containers: corev1.ContainerArray{ &corev1.ContainerArgs{ Name: pulumi.String("redis"), - Image: pulumi.String("redis:latest"), + Image: pulumi.String("public.ecr.aws/docker/library/redis:latest"), Args: pulumi.StringArray{ pulumi.String("--loglevel"), pulumi.String("verbose"),