bhavikkumar / terraform-master

Terraform project to setup the AWS account structure with state and roles
MIT License
5 stars 3 forks source link

The iam-assume-roles module does not set read only to admin role #19

Closed bhavikkumar closed 5 years ago

bhavikkumar commented 5 years ago

The following still attached full admin rights to the Admin role

module "iam-assume-roles" {
  source                     = "./modules/iam-assume-roles"
  account_id                 = "${aws_organizations_account.identity.id}"
  enable_read_only_for_admin = true
  tags                       = "${merge(local.common_tags, var.tags)}"

  providers = {
    aws = "aws.test"
  }
}