Code Monkey home page Code Monkey logo

terraform-aws-microsoftad's Introduction

terraform-aws-microsoftad

Create a Microsoft Active Directory AWS Directory Service

Overview

Creates Microsoft AD AWS Directory Service

Requirements

This module requires Terraform version 0.10.x or newer.

Dependencies

This module depends on a correctly configured AWS Provider in your Terraform codebase.

Usage

module "ad" {
    source = "neillturner/microsoftad/aws"
    version = "0.1.0"
    domain_name     = "aws.example.com"
    short_name      = "corp"
    computer_ou     = "ou=aws,dc=example,dc=com"
    edition         = "Standard"
    admin_password  = "secret"
    vpc_id          = vpc-xxxxxx"
    subnet_ids      = "subnet-yyyyyyyyy"
  }

variables

terraform-aws-microsoftad's People

Contributors

neillturner avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

terraform-aws-microsoftad's Issues

Duplicate Policies

At the end of the deploy getting errors on policy that already exists. Are you trying to update the existing policy and something changed in way that's done. I had to update a lot of the variables to work with latest version of terraform. I'm two days into learning Terraform so sorry if I'm missing something simple...

aws_vpc_dhcp_options_association.my_microsoftad_dns_resolver: Creation complete after 0s [id=dopt-0b18e139b58f4408d-vpc-0fe972082b01d5b63]

Error: Error creating IAM policy ec2-ssm-policy: EntityAlreadyExists: A policy called ec2-ssm-policy already exists. Duplicate names are not allowed.
status code: 409, request id: e0e72560-d31d-48cd-812f-19862eec074c

on iam.tf line 26, in resource "aws_iam_policy" "ec2-ssm-policy":
26: resource "aws_iam_policy" "ec2-ssm-policy" {

Error: ClientException: Invalid VPC ID. : RequestId: a12399c5-da8a-42f2-8176-6b6a3cc5d1ce
{
RespMetadata: {
StatusCode: 400,
RequestID: "a12399c5-da8a-42f2-8176-6b6a3cc5d1ce"
},
Message_: "Invalid VPC ID. : RequestId: a12399c5-da8a-42f2-8176-6b6a3cc5d1ce",
RequestId: "a12399c5-da8a-42f2-8176-6b6a3cc5d1ce"
}

on .terraform\modules\ad\ad.tf line 1, in resource "aws_directory_service_directory" "my_microsoftad":
1: resource "aws_directory_service_directory" "my_microsoftad" {

Error: Error creating IAM Role ec2-ssm-role: EntityAlreadyExists: Role with name ec2-ssm-role already exists.
status code: 409, request id: d8fb8f3f-7d61-4a97-8355-242c11aab962

on .terraform\modules\ad\iam.tf line 7, in resource "aws_iam_role" "ec2-ssm-role":
7: resource "aws_iam_role" "ec2-ssm-role" {

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.