resource "akamai_appsec_configuration" "sec_config" { name = "${var.UserID}-cprlab" description = "Security config for API Security lab hostname" contract_id = var.contract_id group_id = var.group_id host_names = ["${var.UserID}.cpr-akashop.com"] depends_on = [akamai_property_activation.activation_staging] } data "akamai_appsec_configuration" "sec_config" { name = "${var.UserID}-cprlab" depends_on = [akamai_appsec_configuration.sec_config] } resource "akamai_appsec_security_policy" "CPRLab" { config_id = akamai_appsec_configuration.sec_config.config_id default_settings = true security_policy_name = "${var.UserID}-CPRLab" security_policy_prefix = "0001" } resource "akamai_appsec_match_target" "match_target" { config_id = akamai_appsec_configuration.sec_config.config_id depends_on = [akamai_appsec_security_policy.CPRLab] match_target = <