gpt4 book ai didi

terraform - 检查 "s3"后端中的状态时出错 : NoSuchBucket: The specified bucket does not exist

转载 作者:行者123 更新时间:2023-12-04 13:07:54 24 4
gpt4 key购买 nike

我正在运行terraform init在我的 terraform 模块文件夹中,我正在下方。

Error inspecting states in the "s3" backend:
NoSuchBucket: The specified bucket does not exist
status code: 404, request id: 6667B0A661F9C62F, host id: 3mC8DNrS/gGHtp7mhVMRtpIUeMaNXs2cEozEY+akZf1ixFD6x2qQx7c3mX02M1BIbyfYowYt35s=

最佳答案

我遇到了同样的问题。

使用 aws 命令 aws s3 lsaws s3api list-objects --bucket bucket-name
我可以列出内容,但仍然遇到同样的问题。

Error inspecting states in the "s3" backend: NoSuchBucket: The specified bucket does not exist status code: 404, request id: xxxxx, host id: xxxxxx



删除了 ./terraform目录,它解决了我的问题。

关于terraform - 检查 "s3"后端中的状态时出错 : NoSuchBucket: The specified bucket does not exist,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/50844085/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com