Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/adithyapathipaka/terraform-aws-vpc-ips

AWS Terraform Module to Pull the IPs from the Network Interfaces
https://github.com/adithyapathipaka/terraform-aws-vpc-ips

aws iac-terraform terraform terraform-modules

Last synced: 1 day ago
JSON representation

AWS Terraform Module to Pull the IPs from the Network Interfaces

Awesome Lists containing this project

README

        

# AWS Terraform Module to Pull the IPs from the Network Interfaces
Terraform module to fetch the Ips from AWS VPC Network interfaces

# Usage

```hcl
module "vpc-ips" {
source = "adithyapathipaka/vpc-ips/aws"
# insert the 1 required variable here
}
```

## Input Variables
| Input Variable | Variable Description | Optional | Data Type | Allow Values |
| ------------- | ------------- | ------------- | ------------- | ------------- |
| `aws_vpc_id` | AWS VPC ID | `false` | string | |
| `aws_security_group_id` | AWS Security Group ID | `true` | list(string) | |
| `aws_interface_endpoint_type` | AWS VPC IP Interface Type | `true` | list(string) | `"api_gateway_managed", "aws_codestar_connections_managed", "branch", "efa", "gateway_load_balancer", "gateway_load_balancer_endpoint", "global_accelerator_managed", "interface", "iot_rules_managed", "lambda", "load_balancer", "nat_gateway", "network_load_balancer", "quicksight", "transit_gateway", "trunk", "vpc_endpoint"`|

## Output Variables
| Output Variable | Variable Description | Data Type |
| ------------- | ------------- | ------------- |
| `network_interfaces_ids` | Network Interfaces IDs | list |
| `network_interfaces` | Network Interfaces Info | list(string) |
| `network_interfaces_ips` | Network Interfaces IP's | list(string) |
| `aws_ip_address_base_info` | Network Interfaces Base Info | list(map)

> **Note**
> All the Outputs will be empty if no data is found with the given input