An open API service indexing awesome lists of open source software.

https://github.com/kramerc/x.mer.vg

Public file share on AWS and ShareX destination
https://github.com/kramerc/x.mer.vg

aws cloudfront cloudfront-distribution s3 s3-bucket sharex terraform

Last synced: about 1 month ago
JSON representation

Public file share on AWS and ShareX destination

Awesome Lists containing this project

README

          

# x.mer.vg

An Amazon S3 bucket and CloudFront distribution managed with Terraform, mainly used with [ShareX](https://getsharex.com/) as a destination.

## Set up

Attach the following IAM policies to your IAM user:
- AmazonDynamoDBFullAccess
- AmazonRoute53FullAccess
- AmazonS3FullAccess
- AWSCertificateManagerFullAccess
- CloudFrontFullAccess

A [custom policy](https://docs.aws.amazon.com/IAM/latest/UserGuide/access_controlling.html) can be created to further lockdown the IAM user to the specific resources and actions used by this module.

Obtain [access keys](https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_access-keys.html) for your AWS IAM user.
```
export AWS_ACCESS_KEY_ID=xxx
export AWS_SECRET_ACCESS_KEY=xxx
```

Then init:
```shell
terraform init
```

Terraform is now ready.