Skip to content

Commit

Permalink
User public.ecr redis image to avoid rate limit
Browse files Browse the repository at this point in the history
  • Loading branch information
clamoriniere committed Feb 15, 2024
1 parent ee108d1 commit c82353a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion components/datadog/apps/redis/ecs.go
Original file line number Diff line number Diff line change
Expand Up @@ -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\"]"),
},
Expand Down
2 changes: 1 addition & 1 deletion components/datadog/apps/redis/ecsFargate.go
Original file line number Diff line number Diff line change
Expand Up @@ -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\"]"),
},
Expand Down
2 changes: 1 addition & 1 deletion components/datadog/apps/redis/k8s.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"),
Expand Down

0 comments on commit c82353a

Please sign in to comment.