执行以下命令部署应用。fun deploy -y
返回结果如下。using template: template.yml
using region: cn-hangzhou
using accountId: ***********3743using accessKeyId: ***********Ptgk
using timeout: 60
Collecting your services information, in order to caculate devlopment changes...
Resources Changes(Beta version! Only FC resources changes will be displayed):
┌────────────┬──────────────────────────────┬────────┬──────────┐
│ Resource │ ResourceType │ Action │ Property │
├────────────┼──────────────────────────────┼────────┼──────────┤
│ │ │ │ Handler │
│ │ │ ├──────────┤
│ pythondemo │ Aliyun::Serverless::Function │ Add │ Runtime │
│ │ │ ├──────────┤
│ │ │ │ CodeUri │
└────────────┴──────────────────────────────┴────────┴──────────┘
Waiting for service FunDemo to be deployed...
Waiting for function pythondemo to be deployed...
Waiting for packaging function pythondemo code...
The function pythondemo has been packaged. A total of 51 files were compressed and the final size was 114.35 KB
function pythondemo deploy success
service FunDemo deploy success