Skip to content
This repository has been archived by the owner on Aug 16, 2022. It is now read-only.

Commit

Permalink
feat: Add VPC Endpoint Services and Configurations (#1029)
Browse files Browse the repository at this point in the history
  • Loading branch information
mlozoya2 authored Jun 15, 2022
1 parent 8c85ca1 commit 668ea91
Show file tree
Hide file tree
Showing 9 changed files with 656 additions and 161 deletions.
40 changes: 40 additions & 0 deletions client/mocks/mock_ec2.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions client/services.go
Original file line number Diff line number Diff line change
Expand Up @@ -264,6 +264,8 @@ type Ec2Client interface {
DescribeSnapshotAttribute(ctx context.Context, params *ec2.DescribeSnapshotAttributeInput, optFns ...func(*ec2.Options)) (*ec2.DescribeSnapshotAttributeOutput, error)
DescribeVpcs(ctx context.Context, params *ec2.DescribeVpcsInput, optFns ...func(*ec2.Options)) (*ec2.DescribeVpcsOutput, error)
DescribeVpcEndpoints(ctx context.Context, params *ec2.DescribeVpcEndpointsInput, optFns ...func(*ec2.Options)) (*ec2.DescribeVpcEndpointsOutput, error)
DescribeVpcEndpointServices(ctx context.Context, params *ec2.DescribeVpcEndpointServicesInput, optFns ...func(*ec2.Options)) (*ec2.DescribeVpcEndpointServicesOutput, error)
DescribeVpcEndpointServiceConfigurations(ctx context.Context, params *ec2.DescribeVpcEndpointServiceConfigurationsInput, optFns ...func(*ec2.Options)) (*ec2.DescribeVpcEndpointServiceConfigurationsOutput, error)
DescribeVpnGateways(ctx context.Context, params *ec2.DescribeVpnGatewaysInput, optFns ...func(*ec2.Options)) (*ec2.DescribeVpnGatewaysOutput, error)
DescribeAddresses(ctx context.Context, params *ec2.DescribeAddressesInput, optFns ...func(*ec2.Options)) (*ec2.DescribeAddressesOutput, error)
GetEbsEncryptionByDefault(ctx context.Context, params *ec2.GetEbsEncryptionByDefaultInput, optFns ...func(*ec2.Options)) (*ec2.GetEbsEncryptionByDefaultOutput, error)
Expand Down
26 changes: 26 additions & 0 deletions docs/tables/aws_ec2_vpc_endpoint_service_configurations.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@

# Table: aws_ec2_vpc_endpoint_service_configurations
Describes a service configuration for a VPC endpoint service.
## Columns
| Name | Type | Description |
| ------------- | ------------- | ----- |
|account_id|text|The AWS Account ID of the resource.|
|region|text|The AWS Region of the resource.|
|arn|text|The Amazon Resource Name (ARN) for the resource.|
|acceptance_required|boolean|Indicates whether requests from other AWS accounts to create an endpoint to the service must first be accepted.|
|availability_zones|text[]|The Availability Zones in which the service is available.|
|base_endpoint_dns_names|text[]|The DNS names for the service.|
|gateway_load_balancer_arns|text[]|The Amazon Resource Names (ARNs) of the Gateway Load Balancers for the service.|
|manages_vpc_endpoints|boolean|Indicates whether the service manages its VPC endpoints.|
|network_load_balancer_arns|text[]|The Amazon Resource Names (ARNs) of the Network Load Balancers for the service.|
|payer_responsibility|text|The payer responsibility.|
|private_dns_name|text|The private DNS name for the service.|
|private_dns_name_configuration_name|text|The name of the record subdomain the service provider needs to create.|
|private_dns_name_configuration_state|text|The verification state of the VPC endpoint service.|
|private_dns_name_configuration_type|text|The endpoint service verification type, for example TXT.|
|private_dns_name_configuration_value|text|The value the service provider adds to the private DNS name domain record before verification.|
|service_id|text|The ID of the service.|
|service_name|text|The name of the service.|
|service_state|text|The service state.|
|service_type|text[]|The type of service.|
|tags|jsonb|Any tags assigned to the service.|
23 changes: 23 additions & 0 deletions docs/tables/aws_ec2_vpc_endpoint_services.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@

# Table: aws_ec2_vpc_endpoint_services
Describes a VPC endpoint service.
## Columns
| Name | Type | Description |
| ------------- | ------------- | ----- |
|account_id|text|The AWS Account ID of the resource.|
|region|text|The AWS Region of the resource.|
|arn|text|The Amazon Resource Name (ARN) for the resource.|
|acceptance_required|boolean|Indicates whether VPC endpoint connection requests to the service must be accepted by the service owner.|
|availability_zones|text[]|The Availability Zones in which the service is available.|
|base_endpoint_dns_names|text[]|The DNS names for the service.|
|manages_vpc_endpoints|boolean|Indicates whether the service manages its VPC endpoints.|
|owner|text|The Amazon Web Services account ID of the service owner.|
|payer_responsibility|text|The payer responsibility.|
|private_dns_name|text|The private DNS name for the service.|
|private_dns_name_verification_state|text|The verification state of the VPC endpoint service.|
|private_dns_names|text[]|The private DNS names assigned to the VPC endpoint service.|
|id|text|The ID of the endpoint service.|
|service_name|text|The Amazon Resource Name (ARN) of the service.|
|service_type|text[]|The type of service.|
|tags|jsonb|Any tags assigned to the service.|
|vpc_endpoint_policy_supported|boolean|Indicates whether the service supports endpoint policies.|
Loading

0 comments on commit 668ea91

Please sign in to comment.