Skip to content

Latest commit

 

History

History
81 lines (60 loc) · 1.27 KB

alicloud_route_table_attachment.md

File metadata and controls

81 lines (60 loc) · 1.27 KB

alicloud_route_table_attachment

back

Index

Terraform

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

top

Example Usage

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

  # route_table_id - (required) is a type of string
  route_table_id = null
  # vswitch_id - (required) is a type of string
  vswitch_id = null
}

top

Variables

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

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

top

Resource

resource "alicloud_route_table_attachment" "this" {
  # route_table_id - (required) is a type of string
  route_table_id = var.route_table_id
  # vswitch_id - (required) is a type of string
  vswitch_id = var.vswitch_id
}

top

Outputs

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

output "this" {
  value = alicloud_route_table_attachment.this
}

top