Terraform Example Code for AWS Windows Server with IP-Username-Password

aws_instance.example.*.password_data is a list of the password_data results from each of the EC2 instances. Each one must be decrypted separately with rsadecrypt.

In Terraform v0.11 requires using null_resource as a workaround to achieve a “for each” operation:

Rajesh Kumar
Follow me
Latest posts by Rajesh Kumar (see all)