0

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
Cezar A
  • 104
  • 1
  • 5

1 Answers1

0

I believe it is not supported in 2.6.2. Update to 2.6.3 should solve your problem

Wilson.L
  • 91
  • 3