Skip to content

Latest commit

 

History

History

reachability-analyzer-path

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

reachability-analyzer-path

This module creates following resources.

  • aws_ec2_network_insights_path
  • aws_ec2_network_insights_analysis (optional)

Requirements

Name Version
terraform >= 1.5
aws >= 4.58

Providers

Name Version
aws 5.19.0

Modules

Name Source Version
resource_group tedilabs/misc/aws//modules/resource-group ~> 0.10.0

Resources

Name Type
aws_ec2_network_insights_analysis.this resource
aws_ec2_network_insights_path.this resource

Inputs

Name Description Type Default Required
destination_network (Required) The configuration of destination network for analysis. destination_network as defined below.
(Required) id - The ID of resource which is the destination of the path. Can be an Instance, Internet Gateway, Network Interface, Transit Gateway, Transit Gateway Attachment, VPC Endpoint Service, VPC Endpoint, VPC Peering Connection or VPN Gateway.
(Optional) ip_address - The IP address of the destination resource.
(Optional) port - The port number of destination to analyze access to.
object({
id = string
ip_address = optional(string)
port = optional(number)
})
n/a yes
name (Required) The name of the reachability analyzer path. string n/a yes
source_network (Required) The configuration of source network for analysis. source_network as defined below.
(Required) id - The ID of resource which is the source of the path. Can be an Instance, Internet Gateway, Network Interface, Transit Gateway, Transit Gateway Attachment, VPC Endpoint Service, VPC Endpoint, VPC Peering Connection or VPN Gateway.
(Optional) ip_address - The IP address of the source resource.
object({
id = string
ip_address = optional(string)
})
n/a yes
analyses (Optional) The configuration of analyses to run with the reachability analyzer path. Each block of analyses as defined below.
(Required) name - A name of the analysis with the reachability analyzer path.
(Optional) required_intermediate_components - A list of ARNs for resources the path must traverse. Intermediate components include Load Balancers, NAT Gateways, and Network Firewall, Transit Gateways, Transit Gateway Attachments, VPC Peering Connections. You cannot use security groups, network access control lists, network interfaces, or route tables as intermediate components.
(Optional) wait_for_completion - Whether to wait for the analysis status to change to succeeded or failed. Setting this to false will skip the process. Defaults to true.
list(object({
name = string

required_intermediate_components = optional(list(string), [])
wait_for_completion = optional(bool, true)
}))
[] no
module_tags_enabled (Optional) Whether to create AWS Resource Tags for the module informations. bool true no
protocol (Optional) The protocol to use for analysis. Valid values are TCP or UDP. string "TCP" no
resource_group_description (Optional) The description of Resource Group. string "Managed by Terraform." no
resource_group_enabled (Optional) Whether to create Resource Group to find and group AWS resources which are created by this module. bool true no
resource_group_name (Optional) The name of Resource Group. A Resource Group name can have a maximum of 127 characters, including letters, numbers, hyphens, dots, and underscores. The name cannot start with AWS or aws. string "" no
tags (Optional) A map of tags to add to all resources. map(string) {} no

Outputs

Name Description
analyses A list of histories of the analysis with the reachability analyzer path.
arn The ARN of the reachability analyzer path.
destination_network The configuration of destination network for analysis.
id The ID of the reachability analyzer path.
name The name of the reachability analyzer path.
protocol The protocol to use for analysis.
source_network The configuration of source network for analysis.