我正在运行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 ls
和 aws 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/