back
terraform {
required_providers {
aws = ">= 3.35.0"
}
}
top
module "aws_iam_group" {
source = "./modules/aws/r/aws_iam_group"
# name - (required) is a type of string
name = null
# path - (optional) is a type of string
path = null
}
top
variable "name" {
description = "(required)"
type = string
}
variable "path" {
description = "(optional)"
type = string
default = null
}
top
resource "aws_iam_group" "this" {
# name - (required) is a type of string
name = var.name
# path - (optional) is a type of string
path = var.path
}
top
output "arn" {
description = "returns a string"
value = aws_iam_group.this.arn
}
output "id" {
description = "returns a string"
value = aws_iam_group.this.id
}
output "unique_id" {
description = "returns a string"
value = aws_iam_group.this.unique_id
}
output "this" {
value = aws_iam_group.this
}
top