Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
T
terraform-aws-vpc
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Container Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Terraform Modules
terraform-aws-vpc
Commits
0bc8d6f4
Unverified
Commit
0bc8d6f4
authored
Apr 25, 2019
by
Anton Babenko
Committed by
GitHub
Apr 25, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added missing VPC endpoints outputs (resolves #246) (#247)
parent
2870b5fc
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
59 additions
and
0 deletions
+59
-0
README.md
README.md
+9
-0
main.tf
examples/simple-vpc/main.tf
+5
-0
outputs.tf
outputs.tf
+45
-0
No files found.
README.md
View file @
0bc8d6f4
...
@@ -387,6 +387,9 @@ Terraform version 0.10.3 or newer is required for this module to work.
...
@@ -387,6 +387,9 @@ Terraform version 0.10.3 or newer is required for this module to work.
| vpc
\_
cidr
\_
block | The CIDR block of the VPC |
| vpc
\_
cidr
\_
block | The CIDR block of the VPC |
| vpc
\_
enable
\_
dns
\_
hostnames | Whether or not the VPC has DNS hostname support |
| vpc
\_
enable
\_
dns
\_
hostnames | Whether or not the VPC has DNS hostname support |
| vpc
\_
enable
\_
dns
\_
support | Whether or not the VPC has DNS support |
| vpc
\_
enable
\_
dns
\_
support | Whether or not the VPC has DNS support |
| vpc
\_
endpoint
\_
apigw
\_
dns
\_
entry | The DNS entries for the VPC Endpoint for APIGW. |
| vpc
\_
endpoint
\_
apigw
\_
id | The ID of VPC endpoint for APIGW |
| vpc
\_
endpoint
\_
apigw
\_
network
\_
interface
\_
ids | One or more network interfaces for the VPC Endpoint for APIGW. |
| vpc
\_
endpoint
\_
dynamodb
\_
id | The ID of VPC endpoint for DynamoDB |
| vpc
\_
endpoint
\_
dynamodb
\_
id | The ID of VPC endpoint for DynamoDB |
| vpc
\_
endpoint
\_
dynamodb
\_
pl
\_
id | The prefix list for the DynamoDB VPC endpoint. |
| vpc
\_
endpoint
\_
dynamodb
\_
pl
\_
id | The prefix list for the DynamoDB VPC endpoint. |
| vpc
\_
endpoint
\_
ec2
\_
dns
\_
entry | The DNS entries for the VPC Endpoint for EC2. |
| vpc
\_
endpoint
\_
ec2
\_
dns
\_
entry | The DNS entries for the VPC Endpoint for EC2. |
...
@@ -395,6 +398,12 @@ Terraform version 0.10.3 or newer is required for this module to work.
...
@@ -395,6 +398,12 @@ Terraform version 0.10.3 or newer is required for this module to work.
| vpc
\_
endpoint
\_
ec2messages
\_
dns
\_
entry | The DNS entries for the VPC Endpoint for EC2MESSAGES. |
| vpc
\_
endpoint
\_
ec2messages
\_
dns
\_
entry | The DNS entries for the VPC Endpoint for EC2MESSAGES. |
| vpc
\_
endpoint
\_
ec2messages
\_
id | The ID of VPC endpoint for EC2MESSAGES |
| vpc
\_
endpoint
\_
ec2messages
\_
id | The ID of VPC endpoint for EC2MESSAGES |
| vpc
\_
endpoint
\_
ec2messages
\_
network
\_
interface
\_
ids | One or more network interfaces for the VPC Endpoint for EC2MESSAGES |
| vpc
\_
endpoint
\_
ec2messages
\_
network
\_
interface
\_
ids | One or more network interfaces for the VPC Endpoint for EC2MESSAGES |
| vpc
\_
endpoint
\_
ecr
\_
api
\_
dns
\_
entry | The DNS entries for the VPC Endpoint for ECR API. |
| vpc
\_
endpoint
\_
ecr
\_
api
\_
id | The ID of VPC endpoint for ECR API |
| vpc
\_
endpoint
\_
ecr
\_
api
\_
network
\_
interface
\_
ids | One or more network interfaces for the VPC Endpoint for ECR API. |
| vpc
\_
endpoint
\_
ecr
\_
dkr
\_
dns
\_
entry | The DNS entries for the VPC Endpoint for ECR DKR. |
| vpc
\_
endpoint
\_
ecr
\_
dkr
\_
id | The ID of VPC endpoint for ECR DKR |
| vpc
\_
endpoint
\_
ecr
\_
dkr
\_
network
\_
interface
\_
ids | One or more network interfaces for the VPC Endpoint for ECR DKR. |
| vpc
\_
endpoint
\_
s3
\_
id | The ID of VPC endpoint for S3 |
| vpc
\_
endpoint
\_
s3
\_
id | The ID of VPC endpoint for S3 |
| vpc
\_
endpoint
\_
s3
\_
pl
\_
id | The prefix list for the S3 VPC endpoint. |
| vpc
\_
endpoint
\_
s3
\_
pl
\_
id | The prefix list for the S3 VPC endpoint. |
| vpc
\_
endpoint
\_
ssm
\_
dns
\_
entry | The DNS entries for the VPC Endpoint for SSM. |
| vpc
\_
endpoint
\_
ssm
\_
dns
\_
entry | The DNS entries for the VPC Endpoint for SSM. |
...
...
examples/simple-vpc/main.tf
View file @
0bc8d6f4
...
@@ -2,6 +2,11 @@ provider "aws" {
...
@@ -2,6 +2,11 @@ provider "aws" {
region
=
"eu-west-1"
region
=
"eu-west-1"
}
}
data
"aws_security_group"
"default"
{
name
=
"default"
vpc_id
=
"
${module
.
vpc
.
vpc_id
}
"
}
module
"vpc"
{
module
"vpc"
{
source
=
"../../"
source
=
"../../"
...
...
outputs.tf
View file @
0bc8d6f4
...
@@ -369,6 +369,51 @@ output "vpc_endpoint_ec2messages_dns_entry" {
...
@@ -369,6 +369,51 @@ output "vpc_endpoint_ec2messages_dns_entry" {
value
=
"
${
flatten
(
aws_vpc_endpoint
.
ec2messages
.
*
.
dns_entry
)
}
"
value
=
"
${
flatten
(
aws_vpc_endpoint
.
ec2messages
.
*
.
dns_entry
)
}
"
}
}
output
"vpc_endpoint_ecr_api_id"
{
description
=
"The ID of VPC endpoint for ECR API"
value
=
"
${
element
(
concat
(
aws_vpc_endpoint
.
ecr_api
.
*
.
id
,
list
(
""
)),
0
)
}
"
}
output
"vpc_endpoint_ecr_api_network_interface_ids"
{
description
=
"One or more network interfaces for the VPC Endpoint for ECR API."
value
=
"
${
flatten
(
aws_vpc_endpoint
.
ecr_api
.
*
.
network_interface_ids
)
}
"
}
output
"vpc_endpoint_ecr_api_dns_entry"
{
description
=
"The DNS entries for the VPC Endpoint for ECR API."
value
=
"
${
flatten
(
aws_vpc_endpoint
.
ecr_api
.
*
.
dns_entry
)
}
"
}
output
"vpc_endpoint_ecr_dkr_id"
{
description
=
"The ID of VPC endpoint for ECR DKR"
value
=
"
${
element
(
concat
(
aws_vpc_endpoint
.
ecr_dkr
.
*
.
id
,
list
(
""
)),
0
)
}
"
}
output
"vpc_endpoint_ecr_dkr_network_interface_ids"
{
description
=
"One or more network interfaces for the VPC Endpoint for ECR DKR."
value
=
"
${
flatten
(
aws_vpc_endpoint
.
ecr_dkr
.
*
.
network_interface_ids
)
}
"
}
output
"vpc_endpoint_ecr_dkr_dns_entry"
{
description
=
"The DNS entries for the VPC Endpoint for ECR DKR."
value
=
"
${
flatten
(
aws_vpc_endpoint
.
ecr_dkr
.
*
.
dns_entry
)
}
"
}
output
"vpc_endpoint_apigw_id"
{
description
=
"The ID of VPC endpoint for APIGW"
value
=
"
${
element
(
concat
(
aws_vpc_endpoint
.
apigw
.
*
.
id
,
list
(
""
)),
0
)
}
"
}
output
"vpc_endpoint_apigw_network_interface_ids"
{
description
=
"One or more network interfaces for the VPC Endpoint for APIGW."
value
=
"
${
flatten
(
aws_vpc_endpoint
.
apigw
.
*
.
network_interface_ids
)
}
"
}
output
"vpc_endpoint_apigw_dns_entry"
{
description
=
"The DNS entries for the VPC Endpoint for APIGW."
value
=
"
${
flatten
(
aws_vpc_endpoint
.
apigw
.
*
.
dns_entry
)
}
"
}
# Static values (arguments)
# Static values (arguments)
output
"azs"
{
output
"azs"
{
description
=
"A list of availability zones specified as argument to this module"
description
=
"A list of availability zones specified as argument to this module"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment