title: Negate a Condition in CloudFormation Template
body: <p>I have the following condition, accordingly to that condition I create some resources, while if that condition is not met then I create other resources.</p>
  
  <pre><code>Conditions:
    ISProduction:
      "Fn::Equals":
        - !Ref Environment
        - staging
    ISNotProduction:
        "Fn::Not":
          - !Ref ISProduction
  </code></pre>
  
  <p>However, when I try to evaluate the template with the snippet above I get the error: </p>
  
  <blockquote>
    <p>Template error: every Fn::Not object requires one boolean parameter</p>
  </blockquote>
  
  <p>How can I negate a condition in a Cloud Formation Template?
  Or how can I use the negation of ISProduction?</p>
  
  <p>I also tried the Condition below in a resource creation, but I but the template do not pass the validation because "Every Condition member must be a string".   </p>
  
  <pre><code>Condition:
        "Fn::Not":
          - !Ref ISProduction
  </code></pre>