File tree Expand file tree Collapse file tree 3 files changed +0
-62
lines changed Expand file tree Collapse file tree 3 files changed +0
-62
lines changed Original file line number Diff line number Diff line change @@ -1108,21 +1108,6 @@ output "vpc_endpoint_auto_scaling_plans_dns_entry" {
11081108 value = flatten (aws_vpc_endpoint. auto_scaling_plans . * . dns_entry )
11091109}
11101110
1111- output "vpc_endpoint_application_auto_scaling_id" {
1112- description = " The ID of VPC endpoint for Application Auto Scaling"
1113- value = concat (aws_vpc_endpoint. application_auto_scaling . * . id , [" " ])[0 ]
1114- }
1115-
1116- output "vpc_endpoint_application_auto_scaling_network_interface_ids" {
1117- description = " One or more network interfaces for the VPC Endpoint for Application Auto Scaling."
1118- value = flatten (aws_vpc_endpoint. application_auto_scaling . * . network_interface_ids )
1119- }
1120-
1121- output "vpc_endpoint_application_auto_scaling_dns_entry" {
1122- description = " The DNS entries for the VPC Endpoint for Application Auto Scaling."
1123- value = flatten (aws_vpc_endpoint. application_auto_scaling . * . dns_entry )
1124- }
1125-
11261111output "vpc_endpoint_ebs_id" {
11271112 description = " The ID of VPC endpoint for EBS"
11281113 value = concat (aws_vpc_endpoint. ebs . * . id , [" " ])[0 ]
Original file line number Diff line number Diff line change @@ -1298,30 +1298,6 @@ variable "cloud_directory_endpoint_private_dns_enabled" {
12981298 default = false
12991299}
13001300
1301- variable "enable_application_auto_scaling_endpoint" {
1302- description = " Should be true if you want to provision an Application Auto Scaling endpoint to the VPC"
1303- type = bool
1304- default = false
1305- }
1306-
1307- variable "application_auto_scaling_endpoint_security_group_ids" {
1308- description = " The ID of one or more security groups to associate with the network interface for Application Auto Scaling endpoint"
1309- type = list (string )
1310- default = []
1311- }
1312-
1313- variable "application_auto_scaling_endpoint_subnet_ids" {
1314- description = " The ID of one or more subnets in which to create a network interface for Application Auto Scaling endpoint. Only a single subnet within an AZ is supported. Ifomitted, private subnets will be used."
1315- type = list (string )
1316- default = []
1317- }
1318-
1319- variable "application_auto_scaling_endpoint_private_dns_enabled" {
1320- description = " Whether or not to associate a private hosted zone with the specified VPC for Application Auto Scaling endpoint"
1321- type = bool
1322- default = false
1323- }
1324-
13251301variable "enable_auto_scaling_plans_endpoint" {
13261302 description = " Should be true if you want to provision an Auto Scaling Plans endpoint to the VPC"
13271303 type = bool
Original file line number Diff line number Diff line change @@ -1004,29 +1004,6 @@ resource "aws_vpc_endpoint" "cloud_directory" {
10041004 tags = local. vpce_tags
10051005}
10061006
1007- # ######################
1008- # VPC Endpoint for Application Auto Scaling
1009- # ######################
1010- data "aws_vpc_endpoint_service" "application_auto_scaling" {
1011- count = var. create_vpc && var. enable_application_auto_scaling_endpoint ? 1 : 0
1012-
1013- service = " application-autoscaling"
1014- }
1015-
1016- resource "aws_vpc_endpoint" "application_auto_scaling" {
1017- count = var. create_vpc && var. enable_application_auto_scaling_endpoint ? 1 : 0
1018-
1019- vpc_id = local. vpc_id
1020- service_name = data. aws_vpc_endpoint_service . application_auto_scaling [0 ]. service_name
1021- vpc_endpoint_type = " Interface"
1022-
1023- security_group_ids = var. application_auto_scaling_endpoint_security_group_ids
1024- subnet_ids = coalescelist (var. application_auto_scaling_endpoint_subnet_ids , aws_subnet. private . * . id )
1025- private_dns_enabled = var. application_auto_scaling_endpoint_private_dns_enabled
1026-
1027- tags = local. vpce_tags
1028- }
1029-
10301007# ######################
10311008# VPC Endpoint for Auto Scaling Plans
10321009# ######################
You can’t perform that action at this time.
0 commit comments