Resource: aws_networkmanager_device

Creates a device in a global network. If you specify both a site ID and a location, the location of the site is used for visualization in the Network Manager console.

Example Usage

resource "aws_networkmanager_device" "example" {
  global_network_id = aws_networkmanager_global_network.example.id
  site_id           = aws_networkmanager_site.example.id
}

Argument Reference

This resource supports the following arguments:

The aws_location object supports the following:

The location object supports the following:

Attribute Reference

This resource exports the following attributes in addition to the arguments above:

Import

In Terraform v1.5.0 and later, use an import block to import aws_networkmanager_device using the device ARN. For example:

import {
  to = aws_networkmanager_device.example
  id = "arn:aws:networkmanager::123456789012:device/global-network-0d47f6t230mz46dy4/device-07f6fd08867abc123"
}

Using terraform import, import aws_networkmanager_device using the device ARN. For example:

% terraform import aws_networkmanager_device.example arn:aws:networkmanager::123456789012:device/global-network-0d47f6t230mz46dy4/device-07f6fd08867abc123