resource "akamai_appsec_configuration" "sec_config" { name = "${var.UserID}-apiseclab" description = "Security config for API Security lab hostname" contract_id = var.contract_id group_id = var.group_id host_names = ["${var.UserID}-apisecuritylab.com"] depends_on = [akamai_property_activation.activation_prod] } output "sec_config_id" { value = akamai_appsec_configuration.sec_config.config_id } data "akamai_appsec_configuration" "sec_config" { name = "${var.UserID}-apiseclab" depends_on = [akamai_appsec_configuration.sec_config] } resource "akamai_appsec_security_policy" "APISecLab" { config_id = akamai_appsec_configuration.sec_config.config_id default_settings = true security_policy_name = "${var.UserID}-APISecLab" 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.APISecLab] match_target = <