Explorar el Código

Added remote backend spec

main
kusum hace 1 año
padre
commit
0683169a25
Se han modificado 1 ficheros con 19 adiciones y 11 borrados
  1. 19
    11
      cicd-lab/akamai.tf

+ 19
- 11
cicd-lab/akamai.tf Ver fichero

@@ -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
}

Cargando…
Cancelar
Guardar