fun deploy ros 部署报错
- Dominant language
- JavaScript
- Stars
- 931
- Forks
- 128
- PR merge metrics
- No merged PRs in 30d
Description
### 重现 yml:
```
ROSTemplateFormatVersion: '2015-09-01'
Transform: 'Aliyun::Serverless-2018-04-03'
Resources:
temporary-domain:
Type: 'Aliyun::Serverless::Service'
Properties:
Description: helloworld
temporary-domain:
Type: 'Aliyun::Serverless::Function'
Properties:
Handler: index.handler
Runtime: nodejs8
CodeUri: ./
MemorySize: 768
Events:
httpTriggerBindCustomDomain:
Type: HTTP
Properties:
AuthType: ANONYMOUS
Methods:
- GET
temporary-domain1:
Type: 'Aliyun::Serverless::Service'
Properties:
Description: helloworld
temporary-domain1:
Type: 'Aliyun::Serverless::Function'
Properties:
Handler: index.handler
Runtime: nodejs8
CodeUri: ./
MemorySize: 768
Events:
httpTrigger:
Type: HTTP
Properties:
AuthType: ANONYMOUS
Methods:
- GET
my_domain:
Type: Aliyun::Serverless::CustomDomain
Properties:
DomainName: Auto
Protocol: HTTP
RouteConfig:
Routes:
"/":
ServiceName: temporary-domain
FunctionName: temporary-domain
```
### 报错信息
fun pacakge + fun deploy ros 后报错如下:

Contributor guide
No contributing guide indexed for this repository
Research direction
Start by running the reported `fun package + fun deploy ros` command with the reproduced YAML configuration and inspect the error shown in the linked screenshot. Compare the deployment behavior for the two services and the custom-domain route; the issue is resolved when this configuration deploys without the reported error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, nodejs
- Domain
- cli, cloud
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100