Skip to content

Latest commit

 

History

History
20 lines (16 loc) · 568 Bytes

README.md

File metadata and controls

20 lines (16 loc) · 568 Bytes

Creates a standalone secretsmanager secret, encrypted with a kms key.

terraform-kms-secret

module "your_secret"{
  source = "github.com/turnerlabs/terraform-kms-secret?ref=v1.1"
  region = var.region
  secret_id = "your-secret-id"
  secrets_saml_users = ["peoplein@org.com", "yourcompany@org.com"]
  saml_role = var.saml_role
  tags = var.tags
  additional_roles = [
    data.aws_iam_role.ecsTaskExecutionRole.name
  ]
}

Big thanks to John for creating the original code, which I refactored into this standalone module.