{
  "AWSTemplateFormatVersion": "2010-09-09",
  "Metadata": {},
  "Parameters": {},
  "Rules": {},
  "Mappings": {},
  "Conditions": {
    "Always": {
      "Fn::Equals": [
        "1",
        "1"
      ]
    }
  },
  "Resources": {
    "AnotherThing": {
      "Type": "AWS::SNS::Topic"
    },
    "MyRole": {
      "Type": "AWS::IAM::Role",
      "Condition": "Always",
      "DependsOn": "AnotherThing",
      "Properties": {
        "ManagedPolicyArns": [
          "arn:aws:iam::123456789012:policy/fake"
        ],
        "MaxSessionDuration": 3600,
        "Path": "/fake/",
        "RoleName": "my-role",
        "Tags": [
          {
            "Key": "pipeline-name",
            "Value": "test"
          }
        ],
        "AssumeRolePolicyDocument": {
          "Statement": [
            {
              "Effect": "Allow",
              "Action": "sts:AssumeRole",
              "Principal": {
                "Service": "ec2.amazonaws.com"
              }
            }
          ]
        },
        "Policies": [
          {
            "PolicyName": "main",
            "PolicyDocument": {
              "Version": "2012-10-17",
              "Statement": [
                {
                  "Effect": "Allow",
                  "Action": "s3:GetObject",
                  "Resource": "arn:aws:s3:::fake/data"
                }
              ]
            }
          }
        ]
      }
    }
  },
  "Outputs": {}
}