Creates a link for a site.
resource "aws_networkmanager_link" "example" {
global_network_id = aws_networkmanager_global_network.example.id
site_id = aws_networkmanager_site.example.id
bandwidth {
upload_speed = 10
download_speed = 50
}
provider_name = "MegaCorp"
}
This resource supports the following arguments:
bandwidth
- (Required) The upload speed and download speed in Mbps. Documented below.description
- (Optional) A description of the link.global_network_id
- (Required) The ID of the global network.provider_name
- (Optional) The provider of the link.site_id
- (Required) The ID of the site.tags
- (Optional) Key-value tags for the link. If configured with a provider default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level.type
- (Optional) The type of the link.The bandwidth
object supports the following:
download_speed
- (Optional) Download speed in Mbps.upload_speed
- (Optional) Upload speed in Mbps.This resource exports the following attributes in addition to the arguments above:
arn
- Link Amazon Resource Name (ARN).tags_all
- A map of tags assigned to the resource, including those inherited from the provider default_tags
configuration block.In Terraform v1.5.0 and later, use an import
block to import aws_networkmanager_link
using the link ARN. For example:
import {
to = aws_networkmanager_link.example
id = "arn:aws:networkmanager::123456789012:link/global-network-0d47f6t230mz46dy4/link-444555aaabbb11223"
}
Using terraform import
, import aws_networkmanager_link
using the link ARN. For example:
% terraform import aws_networkmanager_link.example arn:aws:networkmanager::123456789012:link/global-network-0d47f6t230mz46dy4/link-444555aaabbb11223