title: Could not create AWS::ECS::Service via cloudformation yaml, got Model validation failed
body: <p>During creation of <code>AWS::ECS::Service</code> via cloudformation i got the error: <code>Model validation failed</code></p>
  <p>The error is related to <code>#HealthCheckGracePeriodSeconds</code> and some other properties. Error detail is:  <code>expected type: Number, found: String</code>.</p>
  <p>In yaml it is already a number. It's not clear to me whats going wrong. Already tried to desclare it as string or as parameter with type Number.</p>
  <p>I need some hint because i am stuck in the muck at this point.</p>
  <p>Error is:</p>
  <pre><code>Model validation failed 
      (
      #/HealthCheckGracePeriodSeconds: expected type: Number, found: String 
      #/DesiredCount: expected type: Number, found: String 
      #/DeploymentConfiguration/MaximumPercent: expected type: Number, found: String 
      #/DeploymentConfiguration/MinimumHealthyPercent: expected type: Number, found: String
      )
  </code></pre>
  <p>Definition in template.yaml is:</p>
  <pre><code>ServiceDefinition:
    Type: AWS::ECS::Service
    Properties:
      ServiceName: !Ref ServiceName
      Cluster: !Ref ClusterName
      TaskDefinition: !Ref TaskDefinition
      DeploymentConfiguration:
        MinimumHealthyPercent: 100
        MaximumPercent: 200
      DesiredCount: 1
      HealthCheckGracePeriodSeconds: 60
      LaunchType: FARGATE
      NetworkConfiguration:
        AwsVpcConfiguration:
          AssignPublicIP: ENABLED
          SecurityGroups: !FindInMap [Env2SecurityGroups, !Ref AWS::AccountId, securitygroup]
          Subnets: !FindInMap [Env2PublicSubnets, !Ref AWS::AccountId, subnets]
  </code></pre>