@@ -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" { |
@@ -16,7 +16,7 @@ | |||
"options": { | |||
"matchOperator": "IS_ONE_OF", | |||
"values": [ | |||
"${env.UserID}tflab-test.akaudevops.com" | |||
"${env.UserID}${env.labname}-test.akaudevops.com" | |||
] | |||
} | |||
} |
@@ -388,7 +388,7 @@ | |||
"options": { | |||
"matchOperator": "IS_ONE_OF", | |||
"values": [ | |||
"${env.UserID}tflab-test.akaudevops.com" | |||
"${env.UserID}${env.labname}-test.akaudevops.com" | |||
] | |||
} | |||
} |
@@ -1,2 +1,2 @@ | |||
UserID = "<UserID>cicd" | |||
email = "<Your Email>" | |||
UserID = "<UserID>" | |||
email = "<Email>" |
@@ -42,7 +42,7 @@ variable "edge_hostname" { | |||
} | |||
variable "labname" { | |||
type = string | |||
default = "tflab" | |||
default = "cicdlab" | |||
} | |||
variable "email" { | |||
type = string |