From 17f7b40ab121328dfb7689024190ef22547905c9 Mon Sep 17 00:00:00 2001 From: Allison Reinheimer Moore Date: Fri, 19 Jan 2024 12:12:49 -0500 Subject: [PATCH] DOP-2345: Add redirect rule for php library from master -> current (#967) * Add redirect rule for php library from master -> current * master to UPCOMING, I meant --- infrastructure/ecs-main/buckets.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/infrastructure/ecs-main/buckets.yml b/infrastructure/ecs-main/buckets.yml index 24fd72f7d..f4f7dfcea 100644 --- a/infrastructure/ecs-main/buckets.yml +++ b/infrastructure/ecs-main/buckets.yml @@ -78,6 +78,12 @@ Resources: Protocol: "https" HostName: ${self:custom.site.host.${self:provider.stage}} ReplaceKeyPrefixWith: ${self:custom.site.prefix.${self:provider.stage}}/atlas/cli/v1.1 + - RoutingRuleCondition: + KeyPrefixEquals: ${self:custom.site.prefix.${self:provider.stage}}/php-library/master + RedirectRule: + Protocol: "https" + HostName: ${self:custom.site.host.${self:provider.stage}} + ReplaceKeyPrefixWith: ${self:custom.site.prefix.${self:provider.stage}}/php-library/upcoming DocAtlasBucket: Type: "AWS::S3::Bucket" Properties: