Skip to content

Commit 2b60f4e

Browse files
committed
feat: Added support for more VPC endpoints (terraform-aws-modules#369)
1 parent 8ab019e commit 2b60f4e

File tree

3 files changed

+801
-1
lines changed

3 files changed

+801
-1
lines changed

outputs.tf

Lines changed: 195 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1092,6 +1092,201 @@ output "vpc_endpoint_cloud_directory_dns_entry" {
10921092
value = flatten(aws_vpc_endpoint.cloud_directory.*.dns_entry)
10931093
}
10941094

1095+
output "vpc_endpoint_elasticmapreduce_id" {
1096+
description = "The ID of VPC endpoint for EMR"
1097+
value = concat(aws_vpc_endpoint.emr.*.id, [""])[0]
1098+
}
1099+
1100+
output "vpc_endpoint_elasticmapreduce_network_interface_ids" {
1101+
description = "One or more network interfaces for the VPC Endpoint for EMR."
1102+
value = flatten(aws_vpc_endpoint.emr.*.network_interface_ids)
1103+
}
1104+
1105+
output "vpc_endpoint_elasticmapreduce_dns_entry" {
1106+
description = "The DNS entries for the VPC Endpoint for EMR."
1107+
value = flatten(aws_vpc_endpoint.emr.*.dns_entry)
1108+
}
1109+
1110+
output "vpc_endpoint_sms_id" {
1111+
description = "The ID of VPC endpoint for SMS"
1112+
value = concat(aws_vpc_endpoint.sms.*.id, [""])[0]
1113+
}
1114+
1115+
output "vpc_endpoint_sms_network_interface_ids" {
1116+
description = "One or more network interfaces for the VPC Endpoint for SMS."
1117+
value = flatten(aws_vpc_endpoint.sms.*.network_interface_ids)
1118+
}
1119+
1120+
output "vpc_endpoint_sms_dns_entry" {
1121+
description = "The DNS entries for the VPC Endpoint for SMS."
1122+
value = flatten(aws_vpc_endpoint.sms.*.dns_entry)
1123+
}
1124+
1125+
output "vpc_endpoint_states_id" {
1126+
description = "The ID of VPC endpoint for Step Function"
1127+
value = concat(aws_vpc_endpoint.states.*.id, [""])[0]
1128+
}
1129+
1130+
output "vpc_endpoint_states_network_interface_ids" {
1131+
description = "One or more network interfaces for the VPC Endpoint for Step Function."
1132+
value = flatten(aws_vpc_endpoint.states.*.network_interface_ids)
1133+
}
1134+
1135+
output "vpc_endpoint_states_dns_entry" {
1136+
description = "The DNS entries for the VPC Endpoint for Step Function."
1137+
value = flatten(aws_vpc_endpoint.states.*.dns_entry)
1138+
}
1139+
1140+
output "vpc_endpoint_elastic_inference_runtime_id" {
1141+
description = "The ID of VPC endpoint for Elastic Inference Runtime"
1142+
value = concat(aws_vpc_endpoint.elastic_inference_runtime.*.id, [""])[0]
1143+
}
1144+
1145+
output "vpc_endpoint_elastic_inference_runtime_network_interface_ids" {
1146+
description = "One or more network interfaces for the VPC Endpoint for Elastic Inference Runtime."
1147+
value = flatten(aws_vpc_endpoint.elastic_inference_runtime.*.network_interface_ids)
1148+
}
1149+
1150+
output "vpc_endpoint_elastic_inference_runtime_dns_entry" {
1151+
description = "The DNS entries for the VPC Endpoint for Elastic Inference Runtime."
1152+
value = flatten(aws_vpc_endpoint.elastic_inference_runtime.*.dns_entry)
1153+
}
1154+
1155+
output "vpc_endpoint_elasticbeanstalk_id" {
1156+
description = "The ID of VPC endpoint for Elastic Beanstalk"
1157+
value = concat(aws_vpc_endpoint.elasticbeanstalk.*.id, [""])[0]
1158+
}
1159+
1160+
output "vpc_endpoint_elasticbeanstalk_network_interface_ids" {
1161+
description = "One or more network interfaces for the VPC Endpoint for Elastic Beanstalk."
1162+
value = flatten(aws_vpc_endpoint.elasticbeanstalk.*.network_interface_ids)
1163+
}
1164+
1165+
output "vpc_endpoint_elasticbeanstalk_dns_entry" {
1166+
description = "The DNS entries for the VPC Endpoint for Elastic Beanstalk."
1167+
value = flatten(aws_vpc_endpoint.elasticbeanstalk.*.dns_entry)
1168+
}
1169+
1170+
output "vpc_endpoint_elasticbeanstalk_health_id" {
1171+
description = "The ID of VPC endpoint for Elastic Beanstalk Health"
1172+
value = concat(aws_vpc_endpoint.elasticbeanstalk_health.*.id, [""])[0]
1173+
}
1174+
1175+
output "vpc_endpoint_elasticbeanstalk_health_network_interface_ids" {
1176+
description = "One or more network interfaces for the VPC Endpoint for Elastic Beanstalk Health."
1177+
value = flatten(aws_vpc_endpoint.elasticbeanstalk_health.*.network_interface_ids)
1178+
}
1179+
1180+
output "vpc_endpoint_elasticbeanstalk_health_dns_entry" {
1181+
description = "The DNS entries for the VPC Endpoint for Elastic Beanstalk Health."
1182+
value = flatten(aws_vpc_endpoint.elasticbeanstalk_health.*.dns_entry)
1183+
}
1184+
1185+
output "vpc_endpoint_workspaces_id" {
1186+
description = "The ID of VPC endpoint for Workspaces"
1187+
value = concat(aws_vpc_endpoint.workspaces.*.id, [""])[0]
1188+
}
1189+
1190+
output "vpc_endpoint_workspaces_network_interface_ids" {
1191+
description = "One or more network interfaces for the VPC Endpoint for Workspaces."
1192+
value = flatten(aws_vpc_endpoint.workspaces.*.network_interface_ids)
1193+
}
1194+
1195+
output "vpc_endpoint_workspaces_dns_entry" {
1196+
description = "The DNS entries for the VPC Endpoint for Workspaces."
1197+
value = flatten(aws_vpc_endpoint.workspaces.*.dns_entry)
1198+
}
1199+
1200+
output "vpc_endpoint_auto_scaling_plans_id" {
1201+
description = "The ID of VPC endpoint for Auto Scaling Plans"
1202+
value = concat(aws_vpc_endpoint.auto_scaling_plans.*.id, [""])[0]
1203+
}
1204+
1205+
output "vpc_endpoint_auto_scaling_plans_network_interface_ids" {
1206+
description = "One or more network interfaces for the VPC Endpoint for Auto Scaling Plans."
1207+
value = flatten(aws_vpc_endpoint.auto_scaling_plans.*.network_interface_ids)
1208+
}
1209+
1210+
output "vpc_endpoint_auto_scaling_plans_dns_entry" {
1211+
description = "The DNS entries for the VPC Endpoint for Auto Scaling Plans."
1212+
value = flatten(aws_vpc_endpoint.auto_scaling_plans.*.dns_entry)
1213+
}
1214+
1215+
output "vpc_endpoint_ebs_id" {
1216+
description = "The ID of VPC endpoint for EBS"
1217+
value = concat(aws_vpc_endpoint.ebs.*.id, [""])[0]
1218+
}
1219+
1220+
output "vpc_endpoint_ebs_network_interface_ids" {
1221+
description = "One or more network interfaces for the VPC Endpoint for EBS."
1222+
value = flatten(aws_vpc_endpoint.ebs.*.network_interface_ids)
1223+
}
1224+
1225+
output "vpc_endpoint_ebs_dns_entry" {
1226+
description = "The DNS entries for the VPC Endpoint for EBS."
1227+
value = flatten(aws_vpc_endpoint.ebs.*.dns_entry)
1228+
}
1229+
1230+
output "vpc_endpoint_qldb_session_id" {
1231+
description = "The ID of VPC endpoint for QLDB Session"
1232+
value = concat(aws_vpc_endpoint.qldb_session.*.id, [""])[0]
1233+
}
1234+
1235+
output "vpc_endpoint_qldb_session_network_interface_ids" {
1236+
description = "One or more network interfaces for the VPC Endpoint for QLDB Session."
1237+
value = flatten(aws_vpc_endpoint.qldb_session.*.network_interface_ids)
1238+
}
1239+
1240+
output "vpc_endpoint_qldb_session_dns_entry" {
1241+
description = "The DNS entries for the VPC Endpoint for QLDB Session."
1242+
value = flatten(aws_vpc_endpoint.qldb_session.*.dns_entry)
1243+
}
1244+
1245+
output "vpc_endpoint_datasync_id" {
1246+
description = "The ID of VPC endpoint for DataSync"
1247+
value = concat(aws_vpc_endpoint.datasync.*.id, [""])[0]
1248+
}
1249+
1250+
output "vpc_endpoint_datasync_network_interface_ids" {
1251+
description = "One or more network interfaces for the VPC Endpoint for DataSync."
1252+
value = flatten(aws_vpc_endpoint.datasync.*.network_interface_ids)
1253+
}
1254+
1255+
output "vpc_endpoint_datasync_dns_entry" {
1256+
description = "The DNS entries for the VPC Endpoint for DataSync."
1257+
value = flatten(aws_vpc_endpoint.datasync.*.dns_entry)
1258+
}
1259+
1260+
output "vpc_endpoint_access_analyzer_id" {
1261+
description = "The ID of VPC endpoint for Access Analyzer"
1262+
value = concat(aws_vpc_endpoint.access_analyzer.*.id, [""])[0]
1263+
}
1264+
1265+
output "vpc_endpoint_access_analyzer_network_interface_ids" {
1266+
description = "One or more network interfaces for the VPC Endpoint for Access Analyzer."
1267+
value = flatten(aws_vpc_endpoint.access_analyzer.*.network_interface_ids)
1268+
}
1269+
1270+
output "vpc_endpoint_access_analyzer_dns_entry" {
1271+
description = "The DNS entries for the VPC Endpoint for Access Analyzer."
1272+
value = flatten(aws_vpc_endpoint.access_analyzer.*.dns_entry)
1273+
}
1274+
1275+
output "vpc_endpoint_acm_pca_id" {
1276+
description = "The ID of VPC endpoint for ACM PCA"
1277+
value = concat(aws_vpc_endpoint.access_analyzer.*.id, [""])[0]
1278+
}
1279+
1280+
output "vpc_endpoint_acm_pca_network_interface_ids" {
1281+
description = "One or more network interfaces for the VPC Endpoint for ACM PCA."
1282+
value = flatten(aws_vpc_endpoint.acm_pca.*.network_interface_ids)
1283+
}
1284+
1285+
output "vpc_endpoint_acm_pca_dns_entry" {
1286+
description = "The DNS entries for the VPC Endpoint for ACM PCA."
1287+
value = flatten(aws_vpc_endpoint.acm_pca.*.dns_entry)
1288+
}
1289+
10951290
output "vpc_endpoint_ses_id" {
10961291
description = "The ID of VPC endpoint for SES"
10971292
value = concat(aws_vpc_endpoint.ses.*.id, [""])[0]
@@ -1107,7 +1302,6 @@ output "vpc_endpoint_ses_dns_entry" {
11071302
value = flatten(aws_vpc_endpoint.ses.*.dns_entry)
11081303
}
11091304

1110-
11111305
# VPC flow log
11121306
output "vpc_flow_log_id" {
11131307
description = "The ID of the Flow Log resource"

0 commit comments

Comments
 (0)