Skip to content

Latest commit

 

History

History
92 lines (70 loc) · 1.35 KB

alicloud_ram_group.md

File metadata and controls

92 lines (70 loc) · 1.35 KB

alicloud_ram_group

back

Index

Terraform

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

top

Example Usage

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

  # comments - (optional) is a type of string
  comments = null
  # force - (optional) is a type of bool
  force = null
  # name - (required) is a type of string
  name = null
}

top

Variables

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

variable "force" {
  description = "(optional)"
  type        = bool
  default     = null
}

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

top

Resource

resource "alicloud_ram_group" "this" {
  # comments - (optional) is a type of string
  comments = var.comments
  # force - (optional) is a type of bool
  force = var.force
  # name - (required) is a type of string
  name = var.name
}

top

Outputs

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

output "this" {
  value = alicloud_ram_group.this
}

top