浏览代码

Edited CICD lab script

main
kusum 1年前
父节点
当前提交
e6ef70848f

+ 5
- 0
cicd-lab/configuration.tf 查看文件

value = "${var.UserID}" value = "${var.UserID}"
type = "string" type = "string"
} }
variables {
name = "labname"
value = "${var.labname}"
type = "string"
}
} }


resource "akamai_property" "lab_property" { resource "akamai_property" "lab_property" {

+ 1
- 1
cicd-lab/property-snippets/Add_testheader.json 查看文件

"options": { "options": {
"matchOperator": "IS_ONE_OF", "matchOperator": "IS_ONE_OF",
"values": [ "values": [
"${env.UserID}tflab-test.akaudevops.com"
"${env.UserID}${env.labname}-test.akaudevops.com"
] ]
} }
} }

+ 1
- 1
cicd-lab/property-snippets/Offload_origin.json 查看文件

"options": { "options": {
"matchOperator": "IS_ONE_OF", "matchOperator": "IS_ONE_OF",
"values": [ "values": [
"${env.UserID}tflab-test.akaudevops.com"
"${env.UserID}${env.labname}-test.akaudevops.com"
] ]
} }
} }

+ 2
- 2
cicd-lab/terraform.tfvars 查看文件

UserID = "<UserID>cicd"
email = "<Your Email>"
UserID = "<UserID>"
email = "<Email>"

+ 1
- 1
cicd-lab/variables.tf 查看文件

} }
variable "labname" { variable "labname" {
type = string type = string
default = "tflab"
default = "cicdlab"
} }
variable "email" { variable "email" {
type = string type = string

正在加载...
取消
保存