【问题标题】:how to add plugin in aws-sam template.yaml file如何在 aws-sam template.yaml 文件中添加插件
【发布时间】:2023-03-10 16:01:01
【问题描述】:

有没有办法在 aws-sam template.yaml 文件中添加自定义插件,例如 Serverless.yml 文件:

plugins:
  - plugin-1
  - plugin-2

custom:
  abc:
   accountId: "************"  

【问题讨论】:

标签: amazon-web-services aws-serverless aws-sam aws-sam-cli


【解决方案1】:

不,不完全是。但是,SAM 模板只是未转换的 Cloudformation 模板。因此,根据您想要实现的具体目标,创建 CFN Macro 可能是一种选择。

【讨论】:

    猜你喜欢
    • 2021-03-10
    • 2022-09-24
    • 2021-03-24
    • 1970-01-01
    • 2021-10-22
    • 2020-04-08
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多