我不小心从S3删除了远程文件,如何推送我的本地文件?我尝试过terraform remote push -force。它在错误下面抛出。Failed to load state: Remote state found, but state file 'terraform.tfstate' also present.
在带有S3锁的DynamoDB桶中使用具有远程状态的Terraform0.12。地球造地自动化的一个常见模式似乎大致是这样的:但是,也许我忽略了一些显而易见的东西,不能保证其他terraform apply调用没有在上面的1到3之间更新基础设施。“地形lock"terraform plan -out=planreview planterraform
我想知道是否可以在调用terraform中的数据源时使用变量:data.terraform_remote_state.dev_vpcdata.terraform_remote_state${var.stage}_vpc错误:无效属性名21: n in data.terraform_remote_state