Skip to content

Commit

Permalink
feat: Added support for more VPC endpoints (terraform-aws-modules#369)
Browse files Browse the repository at this point in the history
  • Loading branch information
DrFaust92 committed Jun 20, 2020
1 parent 8ab019e commit 2b60f4e
Show file tree
Hide file tree
Showing 3 changed files with 801 additions and 1 deletion.
196 changes: 195 additions & 1 deletion outputs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -1092,6 +1092,201 @@ output "vpc_endpoint_cloud_directory_dns_entry" {
value = flatten(aws_vpc_endpoint.cloud_directory.*.dns_entry)
}

output "vpc_endpoint_elasticmapreduce_id" {
description = "The ID of VPC endpoint for EMR"
value = concat(aws_vpc_endpoint.emr.*.id, [""])[0]
}

output "vpc_endpoint_elasticmapreduce_network_interface_ids" {
description = "One or more network interfaces for the VPC Endpoint for EMR."
value = flatten(aws_vpc_endpoint.emr.*.network_interface_ids)
}

output "vpc_endpoint_elasticmapreduce_dns_entry" {
description = "The DNS entries for the VPC Endpoint for EMR."
value = flatten(aws_vpc_endpoint.emr.*.dns_entry)
}

output "vpc_endpoint_sms_id" {
description = "The ID of VPC endpoint for SMS"
value = concat(aws_vpc_endpoint.sms.*.id, [""])[0]
}

output "vpc_endpoint_sms_network_interface_ids" {
description = "One or more network interfaces for the VPC Endpoint for SMS."
value = flatten(aws_vpc_endpoint.sms.*.network_interface_ids)
}

output "vpc_endpoint_sms_dns_entry" {
description = "The DNS entries for the VPC Endpoint for SMS."
value = flatten(aws_vpc_endpoint.sms.*.dns_entry)
}

output "vpc_endpoint_states_id" {
description = "The ID of VPC endpoint for Step Function"
value = concat(aws_vpc_endpoint.states.*.id, [""])[0]
}

output "vpc_endpoint_states_network_interface_ids" {
description = "One or more network interfaces for the VPC Endpoint for Step Function."
value = flatten(aws_vpc_endpoint.states.*.network_interface_ids)
}

output "vpc_endpoint_states_dns_entry" {
description = "The DNS entries for the VPC Endpoint for Step Function."
value = flatten(aws_vpc_endpoint.states.*.dns_entry)
}

output "vpc_endpoint_elastic_inference_runtime_id" {
description = "The ID of VPC endpoint for Elastic Inference Runtime"
value = concat(aws_vpc_endpoint.elastic_inference_runtime.*.id, [""])[0]
}

output "vpc_endpoint_elastic_inference_runtime_network_interface_ids" {
description = "One or more network interfaces for the VPC Endpoint for Elastic Inference Runtime."
value = flatten(aws_vpc_endpoint.elastic_inference_runtime.*.network_interface_ids)
}

output "vpc_endpoint_elastic_inference_runtime_dns_entry" {
description = "The DNS entries for the VPC Endpoint for Elastic Inference Runtime."
value = flatten(aws_vpc_endpoint.elastic_inference_runtime.*.dns_entry)
}

output "vpc_endpoint_elasticbeanstalk_id" {
description = "The ID of VPC endpoint for Elastic Beanstalk"
value = concat(aws_vpc_endpoint.elasticbeanstalk.*.id, [""])[0]
}

output "vpc_endpoint_elasticbeanstalk_network_interface_ids" {
description = "One or more network interfaces for the VPC Endpoint for Elastic Beanstalk."
value = flatten(aws_vpc_endpoint.elasticbeanstalk.*.network_interface_ids)
}

output "vpc_endpoint_elasticbeanstalk_dns_entry" {
description = "The DNS entries for the VPC Endpoint for Elastic Beanstalk."
value = flatten(aws_vpc_endpoint.elasticbeanstalk.*.dns_entry)
}

output "vpc_endpoint_elasticbeanstalk_health_id" {
description = "The ID of VPC endpoint for Elastic Beanstalk Health"
value = concat(aws_vpc_endpoint.elasticbeanstalk_health.*.id, [""])[0]
}

output "vpc_endpoint_elasticbeanstalk_health_network_interface_ids" {
description = "One or more network interfaces for the VPC Endpoint for Elastic Beanstalk Health."
value = flatten(aws_vpc_endpoint.elasticbeanstalk_health.*.network_interface_ids)
}

output "vpc_endpoint_elasticbeanstalk_health_dns_entry" {
description = "The DNS entries for the VPC Endpoint for Elastic Beanstalk Health."
value = flatten(aws_vpc_endpoint.elasticbeanstalk_health.*.dns_entry)
}

output "vpc_endpoint_workspaces_id" {
description = "The ID of VPC endpoint for Workspaces"
value = concat(aws_vpc_endpoint.workspaces.*.id, [""])[0]
}

output "vpc_endpoint_workspaces_network_interface_ids" {
description = "One or more network interfaces for the VPC Endpoint for Workspaces."
value = flatten(aws_vpc_endpoint.workspaces.*.network_interface_ids)
}

output "vpc_endpoint_workspaces_dns_entry" {
description = "The DNS entries for the VPC Endpoint for Workspaces."
value = flatten(aws_vpc_endpoint.workspaces.*.dns_entry)
}

output "vpc_endpoint_auto_scaling_plans_id" {
description = "The ID of VPC endpoint for Auto Scaling Plans"
value = concat(aws_vpc_endpoint.auto_scaling_plans.*.id, [""])[0]
}

output "vpc_endpoint_auto_scaling_plans_network_interface_ids" {
description = "One or more network interfaces for the VPC Endpoint for Auto Scaling Plans."
value = flatten(aws_vpc_endpoint.auto_scaling_plans.*.network_interface_ids)
}

output "vpc_endpoint_auto_scaling_plans_dns_entry" {
description = "The DNS entries for the VPC Endpoint for Auto Scaling Plans."
value = flatten(aws_vpc_endpoint.auto_scaling_plans.*.dns_entry)
}

output "vpc_endpoint_ebs_id" {
description = "The ID of VPC endpoint for EBS"
value = concat(aws_vpc_endpoint.ebs.*.id, [""])[0]
}

output "vpc_endpoint_ebs_network_interface_ids" {
description = "One or more network interfaces for the VPC Endpoint for EBS."
value = flatten(aws_vpc_endpoint.ebs.*.network_interface_ids)
}

output "vpc_endpoint_ebs_dns_entry" {
description = "The DNS entries for the VPC Endpoint for EBS."
value = flatten(aws_vpc_endpoint.ebs.*.dns_entry)
}

output "vpc_endpoint_qldb_session_id" {
description = "The ID of VPC endpoint for QLDB Session"
value = concat(aws_vpc_endpoint.qldb_session.*.id, [""])[0]
}

output "vpc_endpoint_qldb_session_network_interface_ids" {
description = "One or more network interfaces for the VPC Endpoint for QLDB Session."
value = flatten(aws_vpc_endpoint.qldb_session.*.network_interface_ids)
}

output "vpc_endpoint_qldb_session_dns_entry" {
description = "The DNS entries for the VPC Endpoint for QLDB Session."
value = flatten(aws_vpc_endpoint.qldb_session.*.dns_entry)
}

output "vpc_endpoint_datasync_id" {
description = "The ID of VPC endpoint for DataSync"
value = concat(aws_vpc_endpoint.datasync.*.id, [""])[0]
}

output "vpc_endpoint_datasync_network_interface_ids" {
description = "One or more network interfaces for the VPC Endpoint for DataSync."
value = flatten(aws_vpc_endpoint.datasync.*.network_interface_ids)
}

output "vpc_endpoint_datasync_dns_entry" {
description = "The DNS entries for the VPC Endpoint for DataSync."
value = flatten(aws_vpc_endpoint.datasync.*.dns_entry)
}

output "vpc_endpoint_access_analyzer_id" {
description = "The ID of VPC endpoint for Access Analyzer"
value = concat(aws_vpc_endpoint.access_analyzer.*.id, [""])[0]
}

output "vpc_endpoint_access_analyzer_network_interface_ids" {
description = "One or more network interfaces for the VPC Endpoint for Access Analyzer."
value = flatten(aws_vpc_endpoint.access_analyzer.*.network_interface_ids)
}

output "vpc_endpoint_access_analyzer_dns_entry" {
description = "The DNS entries for the VPC Endpoint for Access Analyzer."
value = flatten(aws_vpc_endpoint.access_analyzer.*.dns_entry)
}

output "vpc_endpoint_acm_pca_id" {
description = "The ID of VPC endpoint for ACM PCA"
value = concat(aws_vpc_endpoint.access_analyzer.*.id, [""])[0]
}

output "vpc_endpoint_acm_pca_network_interface_ids" {
description = "One or more network interfaces for the VPC Endpoint for ACM PCA."
value = flatten(aws_vpc_endpoint.acm_pca.*.network_interface_ids)
}

output "vpc_endpoint_acm_pca_dns_entry" {
description = "The DNS entries for the VPC Endpoint for ACM PCA."
value = flatten(aws_vpc_endpoint.acm_pca.*.dns_entry)
}

output "vpc_endpoint_ses_id" {
description = "The ID of VPC endpoint for SES"
value = concat(aws_vpc_endpoint.ses.*.id, [""])[0]
Expand All @@ -1107,7 +1302,6 @@ output "vpc_endpoint_ses_dns_entry" {
value = flatten(aws_vpc_endpoint.ses.*.dns_entry)
}


# VPC flow log
output "vpc_flow_log_id" {
description = "The ID of the Flow Log resource"
Expand Down
Loading

0 comments on commit 2b60f4e

Please sign in to comment.