tfwriter

Terraform HCL code generator.

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

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