标签: jenkins-pipeline terraform terraform-provider-aws
Jenkins作业1创建一个s3存储桶并将其状态存储在s3中
Jenkins作业2读取了存储桶的名称,并像这样传递了它
export TF_CLI_ARGS_init='-backend-config="bucket=-${this should be read from the testate file stored on s3 }"'