terraform aws remote state 源码
#backend.tf =>注释terraform {后端“ s3” {}} #如果尚未完成,请在新阶段创建工作空间terraform工作空间 #选择工作区,使工作区为ENV = stage workspace: @terraform workspace select $(ENV) || terraform workspace new $(ENV) #初始化项目的make init init: @terraform init 使远程状态为ENV = stage remote-state: @echo "Builds remote-state in S3 for Terraform
用户评论