resource "akamai_appsec_configuration" "sec_config" { name = "${var.UserID}-csplab" description = "Security config for CSP lab hostname" contract_id = var.contract_id group_id = var.group_id host_names = ["${var.UserID}.fm.akamaiusec.com"] depends_on = [akamai_property_activation.activation_staging] } data "akamai_appsec_configuration" "sec_config" { name = "${var.UserID}-csplab" depends_on = [akamai_appsec_configuration.sec_config] } resource "akamai_appsec_security_policy" "CSPLab" { config_id = akamai_appsec_configuration.sec_config.config_id default_settings = true security_policy_name = "${var.UserID}-CSPLab" 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.CSPLab] match_target = <