Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
The WireGroup resource represents a group of redundant wires between interconnects in two different metros.
google_compute_wire_group
The WireGroup resource represents a group of redundant wires between interconnects in two different metros. Each WireGroup belongs to a CrossSiteNetwork. A wire group defines endpoints and the wires which exist between them.
~> Warning: This resource is in beta, and should be used with the terraform-provider-google-beta provider.
See Provider Versions for more details on beta resources.
To get more information about WireGroup, see:
Example Usage - Compute Wire Group Basic
Argument Reference
The following arguments are supported:
name-(Required)
Name of the resource. Provided by the client when the resource is created. The name must be
1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters
long and match the regular expression
[a-z]([-a-z0-9]*[a-z0-9])?which means the firstcharacter must be a lowercase letter, and all following characters must be a dash,
lowercase letter, or digit, except the last character, which cannot be a dash.
cross_site_network-(Required)
Required cross site network to which wire group belongs.
description-(Optional)
An optional description of this resource. Provide this property when you create the resource.
endpoints-(Optional)
Endpoints grouped by location, each mapping to interconnect configurations.
Structure is documented below.
admin_enabled-(Optional)
Indicates whether the wire group is administratively enabled.
wire_group_properties-(Optional)
Properties specific to the wire group.
Structure is documented below.
wire_properties-(Optional)
Default properties for wires within the group.
Structure is documented below.
project- (Optional) The ID of the project in which the resource belongs.If it is not provided, the provider project is used.
The
endpointsblock supports:endpoint- (Required) The identifier for this object. Format specified above.interconnects-(Optional)
Structure is documented below.
The
interconnectsblock supports:interconnect_name- (Required) The identifier for this object. Format specified above.interconnect-(Optional)
vlan_tags-(Optional)
VLAN tags for the interconnect.
The
wire_group_propertiesblock supports:type-(Optional)
Type of wire group (enum).
WIRE: a single pseudowire over two Interconnect connections with no redundancy.
REDUNDANT: two pseudowires over four Interconnect connections, with two connections in one metro and two connections in another metro.
BOX_AND_CROSS: four pseudowires over four Interconnect connections, with two connections in one metro and two connections in another metro.
The
wire_propertiesblock supports:bandwidth_unmetered-(Optional)
The unmetered bandwidth setting.
fault_response-(Optional)
Response when a fault is detected in a pseudowire:
NONE: default.
DISABLE_PORT: set the port line protocol down when inline probes detect a fault. This setting is only permitted on port mode pseudowires.
Attributes Reference
In addition to the arguments listed above, the following computed attributes are exported:
id- an identifier for the resource with formatprojects/{{project}}/global/crossSiteNetworks/{{cross_site_network}}/wireGroups/{{name}}creation_timestamp-Creation timestamp in RFC3339 text format.
wires-The single/redundant wire(s) managed by the wire group.
Structure is documented below.
topology-Topology details for the wire group configuration.
Structure is documented below.
The
wiresblock contains:label-(Output)
endpoints-(Output)
'Wire endpoints are specific Interconnect connections.'
Structure is documented below.
wire_properties-(Output)
A nested object resource.
Structure is documented below.
admin_enabled-(Output)
The
endpointsblock contains:interconnect-(Output)
vlan_tag-(Output)
The
wire_propertiesblock contains:bandwidth_unmetered-(Optional)
fault_response-(Optional)
The
topologyblock contains:endpoints-(Output)
Structure is documented below.
The
endpointsblock contains:label-(Output)
city-(Output)
Timeouts
This resource provides the following
Timeouts configuration options:
create- Default is 20 minutes.update- Default is 20 minutes.delete- Default is 20 minutes.Import
WireGroup can be imported using any of these accepted formats:
projects/{{project}}/global/crossSiteNetworks/{{cross_site_network}}/wireGroups/{{name}}{{project}}/{{cross_site_network}}/{{name}}{{cross_site_network}}/{{name}}In Terraform v1.5.0 and later, use an
importblock to import WireGroup using one of the formats above. For example:When using the
terraform importcommand, WireGroup can be imported using one of the formats above. For example:User Project Overrides
This resource supports User Project Overrides.
Derived from GoogleCloudPlatform/magic-modules#14271