Tag Archives: s3

Create AWS Cloudfront Distribution using Terraform

In this post, we’ll create the¬†AWS Cloudfront Distribution using Terraform and for this, we need the latest version of Terraform.

Terraform v0.6.15
  • Complete Cloudfront Terraform Plan as gist
  • Complete Variables as gist

Before using the terraform, we need to export AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY as environment variables:

export AWS_ACCESS_KEY_ID="xxxxxxxxxxxxxxxx"
export AWS_SECRET_ACCESS_KEY="yyyyyyyyyyyyyyyyyyyy"

Read more of this post


Amazon IAM user creation for single S3 bucket access

Login to AWS Management Console and from there select IAM:


Read more of this post

%d bloggers like this: