amazon-web-services - Cannon 在我的本地 Windows 机器上安装 AWS CodeDeploy 代理
问题描述
我正在尝试在我的本地 Windows 机器上安装 AWS CodeDeploy 代理,这是我得到的:
aws deploy install --override-config --config-file codedeploy.onpremises.yml
Creating the on-premises instance configuration file... DONE
Installing the AWS CodeDeploy Agent... ERROR
a bytes-like object is required, not 'str'
Install the AWS CodeDeploy Agent on the on-premises instance by following the instructions in "Configure Existing On-Premises Instances by Using AWS CodeDeploy" in the AWS CodeDeploy User Guide.
请注意上面第 3-4 行的错误:
Installing the AWS CodeDeploy Agent... ERROR
a bytes-like object is required, not 'str'
我应该注意,我可以成功为 CodeDeploy 注册机器,我可以在 AWS 控制台 -> CodeDeploy -> 本地实例上看到注册
以下是环境的详细信息:
- 本地实例操作系统: Windows Server 2016 标准评估
- 系统类型: 64 位操作系统,基于 x64 的处理器
- 蟒蛇--版本: 3.6.5
- 点子--版本: 9.0.3
- aws --version: aws-cli/1.16.9 Python/3.6.5 Windows/10 botocore/1.11.9
我可以做些什么来解决这个错误?
解决方案
推荐阅读
- angular - 错误句柄角度 7
- c# - 联网 AR Unity 无法让子弹成为地平面阶段的子项
- c# - net core 2.2,跨应用程序共享数据保护令牌
- c++ - 有没有办法访问/取消引用并查找存储在双指针向量中的元素的值?
- c# - 如何在自定义目标之后运行构建后事件?
- c# - 存储库模式:如何在基于过滤器的更新/删除时跟踪实体状态?
- tensorflow - 如何在训练时在 Keras 中使用具有三个输入的指标(GAP 指标)?
- c - GCC C 警告“重复 'const' 声明”
- optimization - 我应该将约束优化转换为无约束优化吗?
- javascript - 返回的结果不显示预输入