【发布时间】:2021-04-27 02:16:34
【问题描述】:
我正在尝试使用带有“配置文件”变量(无需提供静态访问密钥)的打包程序,我正在使用 aws configure sso 命令配置该变量 - 但是在尝试运行打包程序命令时出现错误:
错误:NoCredentialProviders:链中没有有效的提供者。已弃用。 有关详细消息,请参阅 aws.Config.CredentialsChainVerboseErrors
在我的打包器 variables.json 我有 "aws_profile": "sandbox" 在我的 environment.json 我有
"builders": [
{
"type": "amazon-ebs",
"profile": "{{user `aws_profile`}}"
是我遗漏了什么还是无法做到这一点?
【问题讨论】:
标签: amazon-web-services packer