Skip to content

Commit

Permalink
note AWS IAM requirements
Browse files Browse the repository at this point in the history
  • Loading branch information
daroczig committed Jan 28, 2024
1 parent 305ad96 commit c5f197e
Showing 1 changed file with 30 additions and 1 deletion.
31 changes: 30 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,36 @@ Generate `CREATE TABLE` statements for a MySQL database:
sc-crawler schema mysql
```

Fetch datacenter, zone, products etc data into a SQLite file:
Fetch and standardize datacenter, zone, products etc data into a single SQLite file:

<details>

<summary>Required permissions for AWS</summary>

You will need the following IAM permissions to be able to run the Crawler in AWS:

```json
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "AllowCrawler",
"Effect": "Allow",
"Action": [
"pricing:ListPriceLists",
"pricing:GetPriceListFileUrl",
"pricing:GetProducts",
"ec2:DescribeRegions",
"ec2:DescribeAvailabilityZones",
"ec2:DescribeInstanceTypes"
],
"Resource": "*"
}
]
}
```

</details>

```shell
rm sc_crawler.db; sc-crawler pull --cache --log-level DEBUG --include-vendor aws
Expand Down

0 comments on commit c5f197e

Please sign in to comment.