Add terraform support for CrossSiteNetwork. #22632
Merged
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.
Represents a cross-site-network resource.A CrossSiteNetwork is used to establish L2 connectivity between groups of Interconnects.
~> 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 CrossSiteNetwork, see:
Example Usage - Compute Cross Site Network 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.
description
-(Optional)
An optional description of this resource. Provide this property when you create the resource.
project
- (Optional) The ID of the project in which the resource belongs.If it is not provided, the provider project is used.
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/{{name}}
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
CrossSiteNetwork can be imported using any of these accepted formats:
projects/{{project}}/global/crossSiteNetworks/{{name}}
{{project}}/{{name}}
{{name}}
In Terraform v1.5.0 and later, use an
import
block to import CrossSiteNetwork using one of the formats above. For example:When using the
terraform import
command, CrossSiteNetwork 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#13799