Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/adithyapathipaka/terraform-aws-vpc-ips
- Owner: adithyapathipaka
- License: mit
- Created: 2023-06-14T06:13:37.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-06-15T15:34:39.000Z (over 1 year ago)
- Last Synced: 2024-09-22T04:30:54.689Z (6 days ago)
- Topics: aws, iac-terraform, terraform, terraform-modules
- Language: HCL
- Homepage: https://registry.terraform.io/modules/adithyapathipaka/vpc-ips/aws/latest
- Size: 13.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGES.md
- License: LICENSE
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