Skip to content

Instantly share code, notes, and snippets.

@thecraftman
Last active July 16, 2021 18:25
Show Gist options
  • Save thecraftman/d82e98dc9441624240b0491ab4c78cb8 to your computer and use it in GitHub Desktop.
Save thecraftman/d82e98dc9441624240b0491ab4c78cb8 to your computer and use it in GitHub Desktop.
Equal function
Fn::Equals
# Returns true if two values are equal else it will return false.
- Syntax: Fn:Equals: [value_1, value_2]
- short syntax: !Equals[value_1, value_2]
Example:
UserProdCondition:
!Equals [!Ref EnvironmentType, prod]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment