Rafaf Tahsin

Rafaf Tahsin @rafaftahsin

About: Mostly, a DevOps Engineer

Location:
Dhaka, Bangladesh
Joined:
May 10, 2023

Rafaf Tahsin
articles - 11 total

bash conditions

If any command runs successfully inside if conditional expression then if treats it as true. if...

Learn More 0 0Oct 9 '23

How to import existing dynamodb in terrafrom

Well I was having difficult time importing dynamodb and trying with arn, but it was db name that...

Learn More 0 0Aug 16 '23

How to restrict AWS access from office Ips only

Use Source IP condition in IAM policy. {     "Version": "2012-10-17",     "Statement": [        ...

Learn More 0 0Aug 11 '23

Migrate an EC2 instance from one AWS account to another

Create an AMI of the instance aws ec2 create-image \ --instance-id...

Learn More 0 0Jul 23 '23

DRY your terraform code using dynamic block

Without dynamic block a security group resource looks like this resource "aws_security_group"...

Learn More 0 0Jul 17 '23

aws cred to env

Sometimes it's tidy to export aws credentials manually. It can be done by the following...

Learn More 0 0Jul 12 '23

Any better way to calculate AWS CodeArtifact Usage?

I needed to know consumed total storage in AWS CodeArtifact. I didn't get this from AWS Console or...

Learn More 0 2Jul 3 '23

How to restrict a user to use single region in AWS

IAM policy to restrict user to a single region { "Version": "2012-10-17", "Statement": [ ...

Learn More 0 0Jun 20 '23

How to enforce MFA in AWS - Part I - Create User, Role & Policy

In this tutorial I will demonstrate How to enfornce 2FA in both AWS CLI and AWS Console. Later in the...

Learn More 0 0Jun 20 '23

How to enforce MFA in AWS - Part II - Using `aws` CLI and terraform with MFA

Part I => How to enforce MFA in AWS CLI - Part I Here in Part II we will discuss how to access...

Learn More 3 0Jun 20 '23

You can't create aws virtual mfa with terrafrom

It's just an FYI. Though theoretically you can create an aws virtual mfa device through terraform but...

Learn More 0 3Jun 18 '23