DevOps Articles

Curated articles, resources, tips and trends from the DevOps World.

Terraform EC2 windows instance managed by Ansible

4 years ago towardsaws.com
Terraform EC2 windows instance managed by Ansible

Summary: This is a summary of an article originally published by the source. Read the full original article here →

So here you can find how we can userdata of EC2 to make-instance availa ble for configuration with Ansible. The idea for this came from the article, where the fleet of windows instances are added to the domain.

And also for keeping this simple I need to use Ansible windows authentication, where we can use is using simple local username password and do our configs.

In the Value, you can put whatever password you want to use and just make sure you are in the same region you want your infra to be.

Details step for terraform is mentioned in ReadMe for the repo: So in the script we have opened both RDP and winRM protocols open for the instance so that you can use them both to test.

Made with pure grit © 2024 Jetpack Labs Inc. All rights reserved. www.jetpacklabs.com