Skip to content

Commit

Permalink
DOP-4452: Add bucket routing rule to rehome Realm docs from /docs/rea…
Browse files Browse the repository at this point in the history
…lm to /docs/atlas/device-sdks (#1026)

* adding bucket routing rule

* bucket rules

* prerpd

* release preprd

* taking back preprd

* PREPRD AGAIN

* back to preprd

* let go of preprd
  • Loading branch information
mayaraman19 authored Apr 16, 2024
1 parent 1a2ff58 commit 6d698e2
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions infrastructure/ecs-main/buckets.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,24 @@ Resources:
Protocol: "https"
HostName: ${self:custom.site.host.${self:provider.stage}}
ReplaceKeyPrefixWith: ${self:custom.site.prefix.${self:provider.stage}}/php-library/upcoming
- RoutingRuleCondition:
KeyPrefixEquals: ${self:custom.site.prefix.${self:provider.stage}}/realm/sdk
RedirectRule:
Protocol: "https"
HostName: ${self:custom.site.host.${self:provider.stage}}
ReplaceKeyPrefixWith: ${self:custom.site.prefix.${self:provider.stage}}/atlas/device-sdks/sdk
- RoutingRuleCondition:
KeyPrefixEquals: ${self:custom.site.prefix.${self:provider.stage}}/realm/web
RedirectRule:
Protocol: "https"
HostName: ${self:custom.site.host.${self:provider.stage}}
ReplaceKeyPrefixWith: ${self:custom.site.prefix.${self:provider.stage}}/atlas/device-sdks/web
- RoutingRuleCondition:
KeyPrefixEquals: ${self:custom.site.prefix.${self:provider.stage}}/realm/studio
RedirectRule:
Protocol: "https"
HostName: ${self:custom.site.host.${self:provider.stage}}
ReplaceKeyPrefixWith: ${self:custom.site.prefix.${self:provider.stage}}/atlas/device-sdks/studio
DocAtlasBucket:
Type: "AWS::S3::Bucket"
Properties:
Expand Down

0 comments on commit 6d698e2

Please sign in to comment.