kierans777
10/15/2021, 3:26 AMApiGatewayV1Api
construct feels the need to
1. Prefix the restApiName
with the stage, even though the stage is being set in the gateway which means the API Gateway instance can be reused with other stages
2. Overwrites me attempt to set the restApiName
myself.
Are there any specific reasons, or should I just file a bug report and fix it?Frank
Frank
kierans777
10/15/2021, 4:17 AMkierans777
10/15/2021, 4:23 AMprod
in three AWS regions (being a regional gateway) with three APIGW instances. However if I want to develop in my home region, when I deploy my stack to "dev" the APIGW instance in that region just gets a new stage.Frank
kierans777
10/16/2021, 9:06 AMprod
stage. However I attach different APIGW stages (dev, test, etc) as required to an APIGW instance.
The approach you've taken is similar to what AWS Amplify does. It also deploys a separate APIGW instance for each logical env (dev, test, prod, etc) with a single APIGW stage. So with SST if I deploy dev, test and prod as SST stages I get three APIGW instances, each with only one stage.
I just don't understand the need to create multiple APIGW instances when you can create one per API and use the APIGW stages to manage the logical envs/stages you want to deploy.Frank
kierans777
10/17/2021, 1:36 AMkierans777
10/17/2021, 1:37 AMkierans777
10/20/2021, 11:10 PM