this is likely because we are looking for errors in property vertex evaluation, but sometimes we dont evaluate in order so that assumption is broken.
repro
[
{
"error": {
"chain": [
"required property AutoScalingGroupProvider.AutoScalingGroupArn is not set on resource aws:ecs_capacity_provider:stackpacks-capacity-provider"
]
},
"error_code": "config_invalid",
"property": "AutoScalingGroupProvider.AutoScalingGroupArn",
"resource": "aws:ecs_capacity_provider:stackpacks-capacity-provider",
"validation_error": "required property AutoScalingGroupProvider.AutoScalingGroupArn is not set on resource aws:ecs_capacity_provider:stackpacks-capacity-provider",
"value": null
},
{
"error": {
"chain": [
"required property Cluster is not set on resource aws:ecs_cluster_capacity_provider:stackpacks-cluster-capacity-provider"
]
},
"error_code": "config_invalid",
"property": "Cluster",
"resource": "aws:ecs_cluster_capacity_provider:stackpacks-cluster-capacity-provider",
"validation_error": "required property Cluster is not set on resource aws:ecs_cluster_capacity_provider:stackpacks-cluster-capacity-provider",
"value": null
},
{
"error": {
"chain": [
"required property CapacityProviders is not set on resource aws:ecs_cluster_capacity_provider:stackpacks-cluster-capacity-provider"
]
},
"error_code": "config_invalid",
"property": "CapacityProviders",
"resource": "aws:ecs_cluster_capacity_provider:stackpacks-cluster-capacity-provider",
"validation_error": "required property CapacityProviders is not set on resource aws:ecs_cluster_capacity_provider:stackpacks-cluster-capacity-provider",
"value": null
},
{
"error": {
"chain": [
"required property DefaultCapacityProviderStrategy is not set on resource aws:ecs_cluster_capacity_provider:stackpacks-cluster-capacity-provider"
]
},
"error_code": "config_invalid",
"property": "DefaultCapacityProviderStrategy",
"resource": "aws:ecs_cluster_capacity_provider:stackpacks-cluster-capacity-provider",
"validation_error": "required property DefaultCapacityProviderStrategy is not set on resource aws:ecs_cluster_capacity_provider:stackpacks-cluster-capacity-provider",
"value": null
}
]
this is likely because we are looking for errors in property vertex evaluation, but sometimes we dont evaluate in order so that assumption is broken.
repro
constraints