执行以下命令部署应用。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

Logo

GitCode 天启AI是一款由 GitCode 团队打造的智能助手,基于先进的LLM(大语言模型)与多智能体 Agent 技术构建,致力于为用户提供高效、智能、多模态的创作与开发支持。它不仅支持自然语言对话,还具备处理文件、生成 PPT、撰写分析报告、开发 Web 应用等多项能力,真正做到“一句话,让 Al帮你完成复杂任务”。

更多推荐