An Amazon S3 bucket and CloudFront distribution managed with Terraform, mainly used with ShareX as a destination.
Attach the following IAM policies to your IAM user:
- AmazonDynamoDBFullAccess
- AmazonRoute53FullAccess
- AmazonS3FullAccess
- AWSCertificateManagerFullAccess
- CloudFrontFullAccess
A custom policy can be created to further lockdown the IAM user to the specific resources and actions used by this module.
Obtain access keys for your AWS IAM user.
export AWS_ACCESS_KEY_ID=xxx
export AWS_SECRET_ACCESS_KEY=xxx
Then init:
terraform init
Terraform is now ready.