tfwriter

Terraform HCL code generator.

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

alicloud_cloud_storage_gateway_storage_bundle

back

Index

Terraform

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

top

Example Usage

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

  # description - (optional) is a type of string
  description = null
  # storage_bundle_name - (required) is a type of string
  storage_bundle_name = null
}

top

Variables

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

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

top

Resource

resource "alicloud_cloud_storage_gateway_storage_bundle" "this" {
  # description - (optional) is a type of string
  description = var.description
  # storage_bundle_name - (required) is a type of string
  storage_bundle_name = var.storage_bundle_name
}

top

Outputs

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

output "this" {
  value = alicloud_cloud_storage_gateway_storage_bundle.this
}

top