In the last post, I discussed the steps involved in installing AWS.Tools module for PowerShell on Amazon EC2 using user data and Terraform. This post lists the steps to install the AWS CLI on an Windows Amazon EC2 instance. I used Amazon EC2 user data and Terraform to automate AWS CLI installation as part of … Continue reading Install AWS CLI on a Windows Amazon EC2 instance using Terraform and user data
Tag: Amazon EC2 userdata
Install AWS.Tools module for PowerShell on Amazon EC2 using user data and Terraform
I was under the impression that all Amazon EC2 instances have the latest version of AWS CLI installed. So, I was in for a shock when I discovered that is not always the case. However, I was required to use the AWS CLI, and since this was an Amazon EC2 with Windows OS, I proceeded … Continue reading Install AWS.Tools module for PowerShell on Amazon EC2 using user data and Terraform
Manage sensitive variables in Amazon EC2 user data with Terraform and PowerShell
If you have worked with Amazon EC2 user data, you'd have noticed a shortcoming in the approach -the inability to pass command-line arguments to the user data script at run time. Let me explain why I believe that to be a problem. User data is a capability associated with an Amazon EC2 instance as part … Continue reading Manage sensitive variables in Amazon EC2 user data with Terraform and PowerShell
Attach IAM role to Amazon EC2 instance using Terraform
I have a reasonable level of understanding of the relationship between AWS Identity and Access Management (IAM) policy, role, user, and group. I have also implemented the concept of assumed-role and the trusted and trusting account association. You can read more about that at -Creating IAM assume-role relationship between two AWS accounts. So, when I … Continue reading Attach IAM role to Amazon EC2 instance using Terraform



