Skip to content

Commit

Permalink
Merge pull request #7 from spreaker/document-required-iam-privileges
Browse files Browse the repository at this point in the history
Documented required IAM privileges
  • Loading branch information
Marco Pracucci authored Apr 3, 2019
2 parents 43df2d8 + 7bdaddc commit 778c825
Showing 1 changed file with 37 additions and 0 deletions.
37 changes: 37 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,43 @@ The application features an integrated Prometheus exporter. The following metric
| `aws_cloud_unmap_last_reconcile_success_timestamp_seconds` | `service_id` | The timestamp (in seconds) of the last successful reconciliation |


## Required IAM privileges

In order to successfully run, this application requires the following IAM privileges:

```
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "DescribeEC2Instances",
"Effect": "Allow",
"Action": [ "ec2:DescribeInstances" ],
"Resource": "*"
},{
"Sid": "ListAndDeregisterServiceInstances",
"Effect": "Allow",
"Action": [
"servicediscovery:ListInstances",
"servicediscovery:DeregisterInstance",
"route53:GetHealthCheck",
"route53:DeleteHealthCheck",
"route53:UpdateHealthCheck"
],
"Resource": "*"
},{
"Sid": "UpdateDnsWhileDeregisteringServiceInstances",
"Effect": "Allow",
"Action": [ "route53:ChangeResourceRecordSets" ],
"Resource": [
"ARN-OF-YOUR-ROUTE53-HOSTEDZONE"
]
}
]
}
```


## Development

Run the development environment:
Expand Down

0 comments on commit 778c825

Please sign in to comment.