You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
module"hcp_aws_transit_gateway_attachment" {
source="./modules/hcp/d/hcp_aws_transit_gateway_attachment"# hvn_id - (required) is a type of stringhvn_id=null# transit_gateway_attachment_id - (required) is a type of stringtransit_gateway_attachment_id=null# wait_for_active_state - (optional) is a type of boolwait_for_active_state=nulltimeouts=[{
default =null
}]
}
variable"hvn_id" {
description="(required) - The ID of the HashiCorp Virtual Network (HVN)."type=string
}
variable"transit_gateway_attachment_id" {
description="(required) - The user-settable name of the transit gateway attachment in HCP."type=string
}
variable"wait_for_active_state" {
description="(optional) - If `true`, Terraform will wait for the transit gateway attachment to reach an `ACTIVE` state before continuing. Default `false`."type=booldefault=null
}
variable"timeouts" {
description="nested block: NestingSingle, min items: 0, max items: 0"type=set(object(
{
default =string
}
))
default=[]
}
data"hcp_aws_transit_gateway_attachment""this" {
# hvn_id - (required) is a type of stringhvn_id=var.hvn_id# transit_gateway_attachment_id - (required) is a type of stringtransit_gateway_attachment_id=var.transit_gateway_attachment_id# wait_for_active_state - (optional) is a type of boolwait_for_active_state=var.wait_for_active_statedynamic"timeouts" {
for_each=var.timeoutscontent {
# default - (optional) is a type of stringdefault=timeouts.value["default"]
}
}
}