Creating and attaching an AWS IAM role, with a policy to an EC2 instance using Terraform scripts
This is an infrastructure as a code, which is equivalent to the AWS CloudFormation, that allows the user to create, update, and version any of the Amazon Web Services (AWS) infrastructure. Terraform…