apex / apex/up

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

Đang mở
#682 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Go
Star
8.8k
Fork
383
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

## 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

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.