将 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

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)