This module creates and attaches a policy to alllow the specified instances to read/write from an s3 bucket for code deploy purposes. It also attaches the default AWSCodeDeployRole.

It assumes the instance role already exists. It assumes the S3 bucket already exists and is named deployments-${var.service_name}.

Required inputs:
service_name - Should be the sevice you are deploying to, typically matches the git repo
account - Name of the aws profile to use that has access to the account being deployed to.
instance_profile - Name of the profile to attach the policy to.

Optional inputs: 
policy_arn - Specify this if the policy already exists in the account.
region - Only used for the provider, should not need to be changed even if deploying to another region.
