back
terraform {
required_providers {
aws = ">= 3.35.0"
}
}
top
module "aws_iam_group" {
source = "./modules/aws/d/aws_iam_group"
# group_name - (required) is a type of string
group_name = null
}
top
variable "group_name" {
description = "(required)"
type = string
}
top
data "aws_iam_group" "this" {
# group_name - (required) is a type of string
group_name = var.group_name
}
top
output "arn" {
description = "returns a string"
value = data.aws_iam_group.this.arn
}
output "group_id" {
description = "returns a string"
value = data.aws_iam_group.this.group_id
}
output "id" {
description = "returns a string"
value = data.aws_iam_group.this.id
}
output "path" {
description = "returns a string"
value = data.aws_iam_group.this.path
}
output "users" {
description = "returns a list of object"
value = data.aws_iam_group.this.users
}
output "this" {
value = aws_iam_group.this
}
top