Skip to content

Commit a5ae37b

Browse files
committed
update
1 parent 3f54291 commit a5ae37b

File tree

3 files changed

+0
-62
lines changed

3 files changed

+0
-62
lines changed

outputs.tf

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1123,21 +1123,6 @@ output "vpc_endpoint_auto_scaling_plans_dns_entry" {
11231123
value = flatten(aws_vpc_endpoint.auto_scaling_plans.*.dns_entry)
11241124
}
11251125

1126-
output "vpc_endpoint_application_auto_scaling_id" {
1127-
description = "The ID of VPC endpoint for Application Auto Scaling"
1128-
value = concat(aws_vpc_endpoint.application_auto_scaling.*.id, [""])[0]
1129-
}
1130-
1131-
output "vpc_endpoint_application_auto_scaling_network_interface_ids" {
1132-
description = "One or more network interfaces for the VPC Endpoint for Application Auto Scaling."
1133-
value = flatten(aws_vpc_endpoint.application_auto_scaling.*.network_interface_ids)
1134-
}
1135-
1136-
output "vpc_endpoint_application_auto_scaling_dns_entry" {
1137-
description = "The DNS entries for the VPC Endpoint for Application Auto Scaling."
1138-
value = flatten(aws_vpc_endpoint.application_auto_scaling.*.dns_entry)
1139-
}
1140-
11411126
output "vpc_endpoint_ebs_id" {
11421127
description = "The ID of VPC endpoint for EBS"
11431128
value = concat(aws_vpc_endpoint.ebs.*.id, [""])[0]

variables.tf

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1323,30 +1323,6 @@ variable "cloud_directory_endpoint_private_dns_enabled" {
13231323
default = false
13241324
}
13251325

1326-
variable "enable_application_auto_scaling_endpoint" {
1327-
description = "Should be true if you want to provision an Application Auto Scaling endpoint to the VPC"
1328-
type = bool
1329-
default = false
1330-
}
1331-
1332-
variable "application_auto_scaling_endpoint_security_group_ids" {
1333-
description = "The ID of one or more security groups to associate with the network interface for Application Auto Scaling endpoint"
1334-
type = list(string)
1335-
default = []
1336-
}
1337-
1338-
variable "application_auto_scaling_endpoint_subnet_ids" {
1339-
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."
1340-
type = list(string)
1341-
default = []
1342-
}
1343-
1344-
variable "application_auto_scaling_endpoint_private_dns_enabled" {
1345-
description = "Whether or not to associate a private hosted zone with the specified VPC for Application Auto Scaling endpoint"
1346-
type = bool
1347-
default = false
1348-
}
1349-
13501326
variable "enable_auto_scaling_plans_endpoint" {
13511327
description = "Should be true if you want to provision an Auto Scaling Plans endpoint to the VPC"
13521328
type = bool

vpc-endpoints.tf

Lines changed: 0 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1027,29 +1027,6 @@ resource "aws_vpc_endpoint" "cloud_directory" {
10271027
tags = local.vpce_tags
10281028
}
10291029

1030-
#######################
1031-
# VPC Endpoint for Application Auto Scaling
1032-
#######################
1033-
data "aws_vpc_endpoint_service" "application_auto_scaling" {
1034-
count = var.create_vpc && var.enable_application_auto_scaling_endpoint ? 1 : 0
1035-
1036-
service = "application-autoscaling"
1037-
}
1038-
1039-
resource "aws_vpc_endpoint" "application_auto_scaling" {
1040-
count = var.create_vpc && var.enable_application_auto_scaling_endpoint ? 1 : 0
1041-
1042-
vpc_id = local.vpc_id
1043-
service_name = data.aws_vpc_endpoint_service.application_auto_scaling[0].service_name
1044-
vpc_endpoint_type = "Interface"
1045-
1046-
security_group_ids = var.application_auto_scaling_endpoint_security_group_ids
1047-
subnet_ids = coalescelist(var.application_auto_scaling_endpoint_subnet_ids, aws_subnet.private.*.id)
1048-
private_dns_enabled = var.application_auto_scaling_endpoint_private_dns_enabled
1049-
1050-
tags = local.vpce_tags
1051-
}
1052-
10531030
#######################
10541031
# VPC Endpoint for Auto Scaling Plans
10551032
#######################

0 commit comments

Comments
 (0)