You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
module"aws_codedeploy_deployment_config" {
source="./modules/aws/r/aws_codedeploy_deployment_config"# compute_platform - (optional) is a type of stringcompute_platform=null# deployment_config_name - (required) is a type of stringdeployment_config_name=nullminimum_healthy_hosts=[{
type =null
value =null
}]
traffic_routing_config=[{
time_based_canary = [{
interval =null
percentage =null
}]
time_based_linear = [{
interval =null
percentage =null
}]
type =null
}]
}
resource"aws_codedeploy_deployment_config""this" {
# compute_platform - (optional) is a type of stringcompute_platform=var.compute_platform# deployment_config_name - (required) is a type of stringdeployment_config_name=var.deployment_config_namedynamic"minimum_healthy_hosts" {
for_each=var.minimum_healthy_hostscontent {
# type - (optional) is a type of stringtype=minimum_healthy_hosts.value["type"]
# value - (optional) is a type of numbervalue=minimum_healthy_hosts.value["value"]
}
}
dynamic"traffic_routing_config" {
for_each=var.traffic_routing_configcontent {
# type - (optional) is a type of stringtype=traffic_routing_config.value["type"]
dynamic"time_based_canary" {
for_each=traffic_routing_config.value.time_based_canarycontent {
# interval - (optional) is a type of numberinterval=time_based_canary.value["interval"]
# percentage - (optional) is a type of numberpercentage=time_based_canary.value["percentage"]
}
}
dynamic"time_based_linear" {
for_each=traffic_routing_config.value.time_based_linearcontent {
# interval - (optional) is a type of numberinterval=time_based_linear.value["interval"]
# percentage - (optional) is a type of numberpercentage=time_based_linear.value["percentage"]
}
}
}
}
}