我使用的是terraform 0.12.9,状态保存在s3存储桶中。我想按terraformstate list列出所有资源。基于这个文档,https://www.terraform.io/docs/commands/state/list.html,它说的是-state=path - Path to the state fileDefau
我正在尝试从terraform远程状态获取一些引用,并注意到了terraformstate资源/数据与使用terraform_remote_state数据对象之间的一些差异。在该模块中,我可以看到状态中的所有资源-例如,terraformstate show aws_directory_service_directory.ad给出了目录的详细信息-目录ID、DNS服务