{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Effect": "Allow",
      "Action": [
        "lightsail:GetRegions",
        "lightsail:GetBundles",
        "lightsail:GetBlueprints",
        "lightsail:GetInstance",
        "lightsail:GetInstances",
        "lightsail:GetOperation",
        "lightsail:GetStaticIp",
        "lightsail:AllocateStaticIp",
        "lightsail:TagResource"
      ],
      "Resource": "*"
    },
    {
      "Effect": "Allow",
      "Action": "lightsail:CreateInstances",
      "Resource": "*",
      "Condition": {
        "Null": {
          "aws:RequestTag/wordpane-deployment": "false"
        }
      }
    },
    {
      "Effect": "Allow",
      "Action": [
        "lightsail:PutInstancePublicPorts",
        "lightsail:DeleteInstance"
      ],
      "Resource": "arn:aws:lightsail:*:*:Instance/*",
      "Condition": {
        "Null": {
          "aws:ResourceTag/wordpane-deployment": "false"
        }
      }
    },
    {
      "Effect": "Allow",
      "Action": [
        "lightsail:AttachStaticIp",
        "lightsail:ReleaseStaticIp"
      ],
      "Resource": [
        "arn:aws:lightsail:*:*:Instance/*",
        "arn:aws:lightsail:*:*:StaticIp/*"
      ],
      "Condition": {
        "Null": {
          "aws:ResourceTag/wordpane-deployment": "false"
        }
      }
    }
  ]
}