Browse Source

Added remote backend spec

main
kusum 1 year ago
parent
commit
0683169a25
1 changed files with 19 additions and 11 deletions
  1. 19
    11
      cicd-lab/akamai.tf

+ 19
- 11
cicd-lab/akamai.tf View File

@@ -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…
Cancel
Save