tfwriter

Terraform HCL code generator.

Download as .zip Download as .tar.gz View on GitHub

alicloud_ram_group_membership

back

Index

Terraform

terraform {
  required_providers {
    alicloud = ">= 1.120.0"
  }
}

top

Example Usage

module "alicloud_ram_group_membership" {
  source = "./modules/alicloud/r/alicloud_ram_group_membership"

  # group_name - (required) is a type of string
  group_name = null
  # user_names - (required) is a type of set of string
  user_names = []
}

top

Variables

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

variable "user_names" {
  description = "(required)"
  type        = set(string)
}

top

Resource

resource "alicloud_ram_group_membership" "this" {
  # group_name - (required) is a type of string
  group_name = var.group_name
  # user_names - (required) is a type of set of string
  user_names = var.user_names
}

top

Outputs

output "id" {
  description = "returns a string"
  value       = alicloud_ram_group_membership.this.id
}

output "this" {
  value = alicloud_ram_group_membership.this
}

top