tfwriter

Terraform HCL code generator.

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

alicloud_cloud_connect_network_grant

back

Index

Terraform

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

top

Example Usage

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

  # ccn_id - (required) is a type of string
  ccn_id = null
  # cen_id - (required) is a type of string
  cen_id = null
  # cen_uid - (required) is a type of string
  cen_uid = null
}

top

Variables

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

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

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

top

Resource

resource "alicloud_cloud_connect_network_grant" "this" {
  # ccn_id - (required) is a type of string
  ccn_id = var.ccn_id
  # cen_id - (required) is a type of string
  cen_id = var.cen_id
  # cen_uid - (required) is a type of string
  cen_uid = var.cen_uid
}

top

Outputs

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

output "this" {
  value = alicloud_cloud_connect_network_grant.this
}

top