Browse Source

Edited CICD lab script

main
kusum 1 year ago
parent
commit
e6ef70848f

+ 5
- 0
cicd-lab/configuration.tf View File

@@ -20,6 +20,11 @@ data "akamai_property_rules_template" "rules-template" {
value = "${var.UserID}"
type = "string"
}
variables {
name = "labname"
value = "${var.labname}"
type = "string"
}
}

resource "akamai_property" "lab_property" {

+ 1
- 1
cicd-lab/property-snippets/Add_testheader.json View File

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

+ 1
- 1
cicd-lab/property-snippets/Offload_origin.json View File

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

+ 2
- 2
cicd-lab/terraform.tfvars View File

@@ -1,2 +1,2 @@
UserID = "<UserID>cicd"
email = "<Your Email>"
UserID = "<UserID>"
email = "<Email>"

+ 1
- 1
cicd-lab/variables.tf View File

@@ -42,7 +42,7 @@ variable "edge_hostname" {
}
variable "labname" {
type = string
default = "tflab"
default = "cicdlab"
}
variable "email" {
type = string

Loading…
Cancel
Save