====================================================================
Subscribe : / @dgruploads
====================================================================
Hello,
In this session, we will look at how we can attach an existing IAM role to the EC2 instance launched using Terraform. Here, we will make use of the data source block to fetch the information about the existing role and then use that information and pass it to the resource block of the EC2 instance and attach that role to the newly launched EC2 instance.
GitHub link :
https://github.com/Dgruploads/Terrafo...
Happy learning!!
Watch video Terraform | Attaching existing IAM role to EC2 instance using Terraform | Using data source IAM role online without registration, duration hours minute second in high quality. This video was added by user DGR Uploads 08 May 2023, don't forget to share it with your friends and acquaintances, it has been viewed on our site 1,313 once and liked it 23 people.