浏览代码

Added remote backend spec

main
kusum 1年前
父节点
当前提交
0683169a25
共有 1 个文件被更改,包括 19 次插入11 次删除
  1. 19
    11
      cicd-lab/akamai.tf

+ 19
- 11
cicd-lab/akamai.tf 查看文件

@@ -1,12 +1,20 @@
terraform {
required_providers {
akamai = {
source = "akamai/akamai"
version = "5.2.0"
}
}
}
provider "akamai" {
edgerc = var.edgerc
config_section = var.section
}
backend "s3" {
bucket = "akau-devops"
key = "<UserID>-<GiteaRepoName>.tfstate"
region = "us-iad-1"
endpoint = "us-iad-1.linodeobjects.com"
skip_credentials_validation = true
skip_region_validation = true
}
required_providers {
akamai = {
source = "akamai/akamai"
version = "5.2.0"
}
}
}
provider "akamai" {
edgerc = var.edgerc
config_section = var.section
}

正在加载...
取消
保存