AWS::NetworkManager::CoreNetwork Resource Type Definition.
resource "awscc_networkmanager_global_network" "example" {}
resource "awscc_networkmanager_core_network" "example" {
global_network_id = awscc_networkmanager_global_network.example.id
description = "example"
tags = [{
key = "Modified By"
value = "AWSCC"
}]
}
Note that the AWS provider data source for aws_networkmanager_core_network_policy_document is used.
resource "awscc_networkmanager_global_network" "example" {}
data "aws_networkmanager_core_network_policy_document" "example" {
core_network_configuration {
asn_ranges = ["65022-65534"]
edge_locations {
location = "us-west-2"
}
}
segments {
name = "segment"
}
}
resource "awscc_networkmanager_core_network" "example" {
global_network_id = awscc_networkmanager_global_network.example.id
description = "example"
policy_document = data.aws_networkmanager_core_network_policy_document.example.json
}
global_network_id
(String) The ID of the global network that your core network is a part of.description
(String) The description of core networkpolicy_document
(String) Live policy document for the core network, you must provide PolicyDocument in Json Formattags
(Attributes Set) The tags for the global network. (see below for nested schema)core_network_arn
(String) The ARN (Amazon resource name) of core networkcore_network_id
(String) The Id of core networkcreated_at
(String) The creation time of core networkedges
(Attributes List) The edges within a core network. (see below for nested schema)id
(String) Uniquely identifies the resource.owner_account
(String) Owner of the core networksegments
(Attributes List) The segments within a core network. (see below for nested schema)state
(String) The state of core networktags
Required:
key
(String) The key name of the tag. You can specify a value that is 1 to 128 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.value
(String) The value for the tag. You can specify a value that is 0 to 256 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.edges
Read-Only:
asn
(Number) The ASN of a core network edge.edge_location
(String) The Region where a core network edge is located.inside_cidr_blocks
(List of String)segments
Read-Only:
edge_locations
(List of String)name
(String) Name of segmentshared_segments
(List of String)Import is supported using the following syntax:
$ terraform import awscc_networkmanager_core_network.example <resource ID>