Skip to content

f5xc_cloud_link Resource - terraform-provider-f5xc

Manages new CloudLink with configured parameters. in F5 Distributed Cloud.

~> Note For more information about this resource, please refer to the F5 XC API Documentation.

# Cloud Link Resource Example
# Manages new CloudLink with configured parameters. in F5 Distributed Cloud.
terraform {
required_version = ">= 1.0"
required_providers {
f5xc = {
source = "f5xc-salesdemos/f5xc"
version = ">= 0.1.0"
}
}
}
# Basic Cloud Link configuration
resource "f5xc_cloud_link" "example" {
name = "example-cloud-link"
namespace = "staging"
labels = {
environment = "production"
managed_by = "terraform"
}
annotations = {
"owner" = "platform-team"
}
# Resource-specific configuration
# [OneOf: aws, gcp] Amazon Web Services(AWS) CloudLink Prov...
aws {
# Configure aws settings
}
# Type establishes a direct reference from one object(the r...
aws_cred {
# Configure aws_cred settings
}
# Bring Your Own Connections. List of Bring You Own Connect...
byoc {
# Configure byoc settings
}
}

🔶 High Risk Operations — Some operations on this resource have high danger level. Destructive operations may require confirmation.

name - Required String
Name of the Cloud Link. Must be unique within the namespace

namespace - Required String
Namespace where the Cloud Link will be created

annotations - Optional Map
Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata

description - Optional String
Human readable description for the object

disable - Optional Bool
A value of true will administratively disable the object

labels - Optional Map
Labels is a user defined key value map that can be attached to resources for organization and filtering

-> One of the following:aws - Optional Block
Amazon Web Services(AWS) CloudLink Provider. CloudLink for AWS Cloud Provider
See AWS below for details.

gcp - Optional Block
Google Cloud Platform (GCP) CloudLink Provider. CloudLink for GCP Cloud Provider
See GCP below for details.

-> One of the following:disabled - Optional Block
Enable this option

enabled - Optional Block
CloudLink AND Network Config
See Enabled below for details.

timeouts - Optional Block
See Timeouts below for details.

In addition to all arguments above, the following attributes are exported:

id - Optional String
Unique identifier for the resource


An aws block supports the following:

aws_cred - Optional Block
Type establishes a direct reference from one object(the referrer) to another(the referred). Such a reference is in form of tenant/namespace/name
See AWS Cred below.

byoc - Optional Block
Bring Your Own Connections. List of Bring You Own Connection
See Byoc below.

custom_asn - Optional Number
F5XC will use custom ASN to create a Direct Connect Gateway

An aws_cred block (within aws) supports the following:

name - Optional String
When a configuration object(e.g. Virtual_host) refers to another(e.g route) then name will hold the referred object’s(e.g. Route’s) name

namespace - Optional String
When a configuration object(e.g. Virtual_host) refers to another(e.g route) then namespace will hold the referred object’s(e.g. Route’s) namespace

tenant - Optional String
When a configuration object(e.g. Virtual_host) refers to another(e.g route) then tenant will hold the referred object’s(e.g. Route’s) tenant

A byoc block (within aws) supports the following:

connections - Optional Block
List of Bring You Own Connections. These AWS Direct Connect connections are not managed by F5XC but will be used for connecting sites and REs
See Connections below.

A connections block (within aws.byoc) supports the following:

auth_key - Optional Block
SecretType is used in an object to indicate a sensitive/confidential field
See Auth Key below.

bgp_asn - Optional Number
The Border Gateway Protocol (BGP) Autonomous System Number (ASN) of your on-premises router for the new virtual interface to be configured on AWS

connection_id - Optional String
ID of the existing AWS Direct Connect Connection

ipv4 - Optional Block
Configure BGP IPv4 peering for endpoints
See IPv4 below.

metadata - Optional Block
MessageMetaType is metadata (common attributes) of a message that only certain messages have. This information is propagated to the metadata of a child object that gets created from the containing message during view processing. The information in this type can be specified by user during create
See Metadata below.

region - Optional String
Region where the connection is setup

system_generated_name - Optional Block
Enable this option

tags - Optional Block
AWS Tags is a label consisting of a user-defined key and value. It helps to manage, identify, organize, search for, and filter resources in AWS console. Specified tags will be added to Virtual interface along with any F5XC specific tags

user_assigned_name - Optional String
User is managing the AWS resource name

virtual_interface_type - Optional String Defaults to PRIVATE
[Enum: PRIVATE] Defines the type of virtual interface that needs to be configured on AWS - PRIVATE: Private A private virtual interface should be used to access an Amazon VPC using private IP addresses. - TRANSIT: Transit A transit virtual interface is a VLAN that transports traffic from a Direct Connect.. The only possible value is PRIVATE

vlan - Optional Number
Virtual Local Area Network number for the new virtual interface to be configured on the AWS. This tag is required for any traffic traversing the AWS Direct Connect connection

An auth_key block (within aws.byoc.connections) supports the following:

blindfold_secret_info - Optional Block
BlindfoldSecretInfoType specifies information about the Secret managed by F5XC Secret Management
See Blindfold Secret Info below.

clear_secret_info - Optional Block
ClearSecretInfoType specifies information about the Secret that is not encrypted
See Clear Secret Info below.

AWS Byoc Connections Auth Key Blindfold Secret Info

Section titled “AWS Byoc Connections Auth Key Blindfold Secret Info”

Deeply nested Info block collapsed for readability.

AWS Byoc Connections Auth Key Clear Secret Info

Section titled “AWS Byoc Connections Auth Key Clear Secret Info”

Deeply nested Info block collapsed for readability.

An ipv4 block (within aws.byoc.connections) supports the following:

aws_router_peer_address - Optional String
The BGP peer IP configured on the AWS endpoint

router_peer_address - Optional String
The BGP peer IP configured on your (customer) endpoint

A metadata block (within aws.byoc.connections) supports the following:

description_spec - Optional String
Description. Human readable description

name - Optional String
Name of the message. The value of name has to follow DNS-1035 format

An enabled block supports the following:

cloudlink_network_name - Optional String
Establish private connectivity with the F5 Distributed Cloud Global Network using a Private AND network. To provision a Private AND network, please contact F5 Distributed Cloud support

A gcp block supports the following:

byoc - Optional Block
GCP Bring Your Own Connections. List of GCP Bring You Own Connections
See Byoc below.

gcp_cred - Optional Block
Type establishes a direct reference from one object(the referrer) to another(the referred). Such a reference is in form of tenant/namespace/name
See GCP Cred below.

A byoc block (within gcp) supports the following:

connections - Optional Block
Each ‘Bring Your Own Connection’ represents a virtual connection that the customer has provisioned in the Cloud (
See Connections below.

A connections block (within gcp.byoc) supports the following:

interconnect_attachment_name - Optional String
Name of already-existing GCP Cloud Interconnect Attachment

metadata - Optional Block
MessageMetaType is metadata (common attributes) of a message that only certain messages have. This information is propagated to the metadata of a child object that gets created from the containing message during view processing. The information in this type can be specified by user during create
See Metadata below.

project - Optional String
Specify a GCP Project for the interconnect attachment

region - Optional String
GCP Region in which the GCP Cloud Interconnect attachment is configured

same_as_credential - Optional Block
Configuration parameter for same as credential

A metadata block (within gcp.byoc.connections) supports the following:

description_spec - Optional String
Description. Human readable description

name - Optional String
Name of the message. The value of name has to follow DNS-1035 format

A gcp_cred block (within gcp) supports the following:

name - Optional String
When a configuration object(e.g. Virtual_host) refers to another(e.g route) then name will hold the referred object’s(e.g. Route’s) name

namespace - Optional String
When a configuration object(e.g. Virtual_host) refers to another(e.g route) then namespace will hold the referred object’s(e.g. Route’s) namespace

tenant - Optional String
When a configuration object(e.g. Virtual_host) refers to another(e.g route) then tenant will hold the referred object’s(e.g. Route’s) tenant

A timeouts block supports the following:

create - Optional String (Defaults to 10 minutes)
Used when creating the resource

delete - Optional String (Defaults to 10 minutes)
Used when deleting the resource

read - Optional String (Defaults to 5 minutes)
Used when retrieving the resource

update - Optional String (Defaults to 10 minutes)
Used when updating the resource


The following type definitions are used throughout this resource. See the full definition here rather than repeated inline.

Object Reference {#common-object-reference}

Section titled “Object Reference {#common-object-reference}”

Object references establish a direct reference from one configuration object to another in F5 Distributed Cloud. References use the format tenant/namespace/name.

FieldTypeDescription
nameStringName of the referenced object
namespaceStringNamespace containing the referenced object
tenantStringTenant of the referenced object (system-managed)

Transformers apply transformations to input values before matching. Multiple transformers can be applied in order.

ValueDescription
LOWER_CASEConvert to lowercase
UPPER_CASEConvert to uppercase
BASE64_DECODEDecodebase64 content
NORMALIZE_PATHNormalize URL path
REMOVE_WHITESPACERemove whitespace characters
URL_DECODEDecode URL-encoded characters
TRIM_LEFTTrim leading whitespace
TRIM_RIGHTTrim trailing whitespace
TRIMTrim both leading and trailing whitespace

HTTP methods used for request matching.

ValueDescription
ANYMatch any HTTP method
GETHTTP GET request
HEADHTTP HEAD request
POSTHTTP POST request
PUTHTTP PUT request
DELETEHTTP DELETE request
CONNECTHTTP CONNECT request
OPTIONSHTTP OPTIONS request
TRACEHTTP TRACE request
PATCHHTTP PATCH request
COPYHTTP COPY request (WebDAV)

TLS Fingerprints {#common-tls-fingerprints}

Section titled “TLS Fingerprints {#common-tls-fingerprints}”

TLS fingerprint categories for malicious client detection.

ValueDescription
TLS_FINGERPRINT_NONENo fingerprint matching
ANY_MALICIOUS_FINGERPRINTMatch any known malicious fingerprint
ADWAREAdware-associated fingerprints
DRIDEXDridex malware fingerprints
GOOTKITGootkit malware fingerprints
RANSOMWARERansomware-associated fingerprints
TRICKBOTTrickbot malware fingerprints

IP Threat Categories {#common-ip-threat-categories}

Section titled “IP Threat Categories {#common-ip-threat-categories}”

IP address threat categories for security filtering.

ValueDescription
SPAM_SOURCESKnown spam sources
WINDOWS_EXPLOITSWindows exploit sources
WEB_ATTACKSWeb attack sources
BOTNETSKnown botnet IPs
SCANNERSNetwork scanner IPs
REPUTATIONPoor reputation IPs
PHISHINGPhishing-related IPs
PROXYAnonymous proxy IPs
MOBILE_THREATSMobile threat sources
TOR_PROXYTor exit nodes
DENIAL_OF_SERVICEDoS attack sources
NETWORKKnown bad network ranges

Import is supported using the following syntax:

Terminal window
# Import using namespace/name format
terraform import f5xc_cloud_link.example system/example