Skip to content

Active Directory Federation Services provisionado com Packer e Terraform

License

Notifications You must be signed in to change notification settings

gui-sousa/adfs-packer-terraform

Repository files navigation

adfs-packer-terraform

Table of Contents
  1. About The Project
  2. Getting Started
  3. Usage
  4. License
  5. Contact
  6. Acknowledgments

About The Project

Active Directory Federation Services provisioned autonomously on Cloud Provider, this project can be used for testing SSO login implementation scenarios, as well as production use (as long as the necessary security changes are made in the code).

Furthermore, the stack used shows the power of the combined IaC tools as well as the possibility to use them in Windows Server environments.

For more details about the project, see this article

(back to top)

Built With

  • Packer
  • Terraform
  • Ansible
  • Poweshell

(back to top)

Prerequisites

  • Free the firewall ports for WinRM (5985, 5986) and HTTP (80, 443) in GCP
  • Make sure to set the project variables in variables.tf, packer-adfs.json and powershell script, for your use
  • Make sure you have installed the Packer, Terraform and Ansible binaries
  • If you are going to use HTTPS (recommended) generate a certificate, put it in the scripts folder. Change config-adfs.ps1 with the password and the thumbprint of the certificate

Installation

  1. Clone the repo
    git clone https://github.com/github_username/repo_name.git
  2. Run Packer Build
    packer build ./packer-adfs.json
  3. Run Plan and Apply
    terraform plan -out YourPlan.log && terraform apply "YourPlan.log"
  4. Take the IP at the end of the process and put in your DNS for HTTPS access

(back to top)

Usage

For more examples, please refer to the Documentation

(back to top)

License

Distributed under the MIT License. See license.md for more information.

(back to top)

Contact

Gui Sousa - @Guira_kun

Project Link: https://github.com/github_username/repo_name

(back to top)

Acknowledgments

  • Thiago for his continuous support
  • 42574720504F525240212121-13

(back to top)

About

Active Directory Federation Services provisionado com Packer e Terraform

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published