瀏覽代碼

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
}

Loading…
取消
儲存