微信公众号搜"智元新知"关注
微信扫一扫可直接关注哦!

将 Akamai 属性导入 Pulumi 时无法加载 edgegrid 配置

如何解决将 Akamai 属性导入 Pulumi 时无法加载 edgegrid 配置

我正在为 Akamai 资产试用新的 import functionality。当我在 pulumi 项目中运行 import 命令时,我收到以下错误消息。这个 .edgerc 文件是什么?我该如何创建它?

    Type                      Name                      Plan       Info
 +   pulumi:pulumi:Stack       vdp-akamai-akamai-import  create     1 error
 =   └─ akamai:index:Property  example                   import     1 error

Diagnostics:
  pulumi:pulumi:Stack (vdp-akamai-akamai-import):
    error: preview Failed

  akamai:index:Property (example):
    error: Preview Failed: 1 error occurred:
        * Failed to load edgegrid config: unable to load config from environment or .edgerc file: loading config file: open /Users/vcui/.edgerc: no such file or directory

解决方法

从 Akamai 文档来看,它看起来像是一个配置文件,您可以在其中存储凭据。

Documentation found here

版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。