我使用aws配置cli并使用我能够读取aws、S3桶和tf状态对象的凭据来配置AWS凭据。Error: error configuring S3 Backend: no valid credential sources for S3Backend found.│ Please see https://www.terraform.io/docs/language
Error: Unable to find remote state
15: data "terraform_remote_state" "project_data" {
No stored state was found for the given workspaceError: Unable to find remote
我想知道是否可以在调用terraform中的数据源时使用变量:data.terraform_remote_state.dev_vpcdata.terraform_remote_state${var.stage}_vpc错误:无效属性名21: n in data.terraform_remote_state
我有两个计划,在这两个计划中,我创建了两个不同的服务器(只是举个例子,否则它真的很复杂)。在一个计划中,我像这样输出安全组的值: value = "${aws_security_group.security_group.id}"我有第二个计划,在这个计划中,我想使用那个价值,我如何实现它,我已经尝试了几个方法,但都没有对我起作用。