File tree Expand file tree Collapse file tree 2 files changed +7
-4
lines changed Expand file tree Collapse file tree 2 files changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -13,7 +13,9 @@ These types of resources are supported:
13
13
* [ Internet Gateway] ( https://www.terraform.io/docs/providers/aws/r/internet_gateway.html )
14
14
* [ NAT Gateway] ( https://www.terraform.io/docs/providers/aws/r/nat_gateway.html )
15
15
* [ VPN Gateway] ( https://www.terraform.io/docs/providers/aws/r/vpn_gateway.html )
16
- * [ VPC Endpoint] ( https://www.terraform.io/docs/providers/aws/r/vpc_endpoint.html ) (Gateway: S3, DynamoDB; Interface: EC2, SSM)
16
+ * [ VPC Endpoint] ( https://www.terraform.io/docs/providers/aws/r/vpc_endpoint.html ) :
17
+ * Gateway: S3, DynamoDB
18
+ * Interface: EC2, SSM, EC2 Messages, SSM Messages
17
19
* [ RDS DB Subnet Group] ( https://www.terraform.io/docs/providers/aws/r/db_subnet_group.html )
18
20
* [ ElastiCache Subnet Group] ( https://www.terraform.io/docs/providers/aws/r/elasticache_subnet_group.html )
19
21
* [ Redshift Subnet Group] ( https://www.terraform.io/docs/providers/aws/r/redshift_subnet_group.html )
Original file line number Diff line number Diff line change @@ -45,22 +45,23 @@ module "vpc" {
45
45
# VPC endpoint for SSM
46
46
enable_ssm_endpoint = true
47
47
ssm_endpoint_private_dns_enabled = true
48
- ssm_endpoint_security_group_ids = [" ${ data . aws_security_group . default . id } " ]
49
-
50
- // ssm_endpoint_subnet_ids = ["..."]
48
+ ssm_endpoint_security_group_ids = [" ${ data . aws_security_group . default . id } " ] # ssm_endpoint_subnet_ids = ["..."]
51
49
52
50
# VPC endpoint for SSMMESSAGES
53
51
enable_ssmmessages_endpoint = true
54
52
ssmmessages_endpoint_private_dns_enabled = true
55
53
ssmmessages_endpoint_security_group_ids = [" ${ data . aws_security_group . default . id } " ]
54
+
56
55
# VPC Endpoint for EC2
57
56
enable_ec2_endpoint = true
58
57
ec2_endpoint_private_dns_enabled = true
59
58
ec2_endpoint_security_group_ids = [" ${ data . aws_security_group . default . id } " ]
59
+
60
60
# VPC Endpoint for EC2MESSAGES
61
61
enable_ec2messages_endpoint = true
62
62
ec2messages_endpoint_private_dns_enabled = true
63
63
ec2messages_endpoint_security_group_ids = [" ${ data . aws_security_group . default . id } " ]
64
+
64
65
tags = {
65
66
Owner = " user"
66
67
Environment = " staging"
You can’t perform that action at this time.
0 commit comments