Troposphere module version: 2.6.2.
Python script:
import troposphere.ecs as ecs
from ecs import *
...
template.add_resource(ecs.Cluster(
"Cluster",
CapacityProviders=["FARGATE", "FARGATE_SPOT"]
))
...
Why am i getting this error when running the script that creates the template?
AWS::ECS::Cluster object does not support attribute CapacityProviders