back
terraform {
required_providers {
alicloud = ">= 1.120.0"
}
}
top
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
variable "comments" {
description = "(optional)"
type = string
default = null
}
variable "force" {
description = "(optional)"
type = bool
default = null
}
variable "name" {
description = "(required)"
type = string
}
top
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
output "id" {
description = "returns a string"
value = alicloud_ram_group.this.id
}
output "this" {
value = alicloud_ram_group.this
}
top