Skip to content

CloudFront Origin Group #79

Description

Describe the Feature

CloudFront has a future to create Origin Group which is very usefully for high availability configuration.

Expected Behavior

A way to configure Origin Group, like

  origin_groups = {
    primary_origin_id  = null # will get translated to the origin id of the origin created by this module.
    failover_origin_id = module.s3_bucket.bucket_id
    failover_criteria  = [
      403,
      404,
      500,
      502
    ]
  }

Use Case

Optimizing high availability with CloudFront origin failover

Describe Ideal Solution

Such an option is already supported in the module cloudposse/cloudfront-s3-cdn/aws. Something similar will be a good option.

Thank you!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions