Skip to content

Latest commit

 

History

History
92 lines (69 loc) · 1.26 KB

aws_iam_group.md

File metadata and controls

92 lines (69 loc) · 1.26 KB

aws_iam_group

back

Index

Terraform

terraform {
  required_providers {
    aws = ">= 3.35.0"
  }
}

top

Example Usage

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

Variables

variable "name" {
  description = "(required)"
  type        = string
}

variable "path" {
  description = "(optional)"
  type        = string
  default     = null
}

top

Resource

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

Outputs

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