apex / apex/up

Choose Edge-optimized or Regional Endpoint Configuration for Custom Domain Names

未关闭
#682 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Go
星标
8.8k
派生
383
PR 合并指标
30 天内没有已合并 PR

描述

## Prerequisites

* [x] I am running the latest version. (`up upgrade`)
* [x] I searched to see if the issue already exists.
* [x] I inspected the verbose debug output with the `-v, --verbose` flag.
* [x] Are you an Up Pro subscriber?

## Description

I would like the ability to control the type of Custom Domain Name, whether edge-optimised or regional.

## Steps to Reproduce
Add to up.json
```
...
"production": {
"domain": "some-domain.example.com",
...
```
This has created a new Custom Domain name called "some-domain.example.com" AWS Console -> API Gateway -> Custom Domain Names. However this is edge-optimised. As this creates a Cloudfront distribution it incurs a cost. For this reason I would like to create a Regional Endpoint configuration, but I am not sure how to tell up to create one.

I wonder if this related to the underlying issue behind https://github.com/apex/up/issues/681.

## Love Up?

Absolutely! Already signed up for pro version

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。