provider "aws" {
  region = var.aws_region
}

# Terraform backends cannot contain interpolations
terraform {
  backend "s3" {
    bucket  = "orcd-terraform-state"
    key     = "prod/iam/groups/sme-content-protection/terraform.tfstate"
    region  = "us-east-1"
    encrypt = "true"
  }
}

module "group_with_attachments" {
  source = "git@github.com:theorchard/terraform-iam-policies.git//modules/groups?ref=1.22.2"

  group_name = "sme-content-protection"
  users = sort([
    "bamen",
    "kali",
    "ozorrilla",
  ])
  application_families_to_access = []
}
