-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
d227b07
commit e0d1143
Showing
4 changed files
with
144 additions
and
203 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,54 +1,34 @@ | ||
output "id" { | ||
description = "List of IDs of instances" | ||
value = aws_instance.ec2[*].id | ||
description = "The API identifier" | ||
value = aws_apigatewayv2_api.example.id | ||
} | ||
|
||
output "availability_zone" { | ||
description = "List of availability zones of instances" | ||
value = aws_instance.ec2[*].availability_zone | ||
output "api_endpoint" { | ||
description = "The URI of the API" | ||
value = aws_apigatewayv2_api.example.api_endpoint | ||
} | ||
|
||
output "key_name" { | ||
description = "List of key names of instances" | ||
value = aws_instance.ec2[*].key_name | ||
output "arn" { | ||
description = "The ARN of the API" | ||
value = aws_apigatewayv2_api.example.arn | ||
} | ||
|
||
output "public_dns" { | ||
description = "List of public DNS names assigned to the instances. For EC2-VPC, this is only available if you've enabled DNS hostnames for your VPC" | ||
value = aws_instance.ec2[*].public_dns | ||
output "execution_arn" { | ||
description = "The ARN prefix to be used in permission policies" | ||
value = aws_apigatewayv2_api.example.execution_arn | ||
} | ||
|
||
output "public_ip" { | ||
description = "List of public IP addresses assigned to the instances, if applicable" | ||
value = aws_instance.ec2[*].public_ip | ||
output "api_key_selection_expression" { | ||
description = "The API key selection expression for the API" | ||
value = aws_apigatewayv2_api.example.api_key_selection_expression | ||
} | ||
|
||
output "primary_network_interface_id" { | ||
description = "List of IDs of the primary network interface of instances" | ||
value = aws_instance.ec2[*].primary_network_interface_id | ||
output "cors_configuration" { | ||
description = "The CORS configuration for the API" | ||
value = aws_apigatewayv2_api.example.cors_configuration | ||
} | ||
|
||
output "private_dns" { | ||
description = "List of private DNS names assigned to the instances. Can only be used inside the Amazon EC2, and only available if you've enabled DNS hostnames for your VPC" | ||
value = aws_instance.ec2[*].private_dns | ||
} | ||
|
||
output "private_ip" { | ||
description = "List of private IP addresses assigned to the instances" | ||
value = aws_instance.ec2[*].private_ip | ||
} | ||
|
||
output "security_groups" { | ||
description = "List of associated security groups of instances" | ||
value = aws_instance.ec2[*].security_groups | ||
} | ||
|
||
output "vpc_security_group_ids" { | ||
description = "List of associated security groups of instances, if running in non-default VPC" | ||
value = aws_instance.ec2[*].vpc_security_group_ids | ||
} | ||
|
||
output "subnet_id" { | ||
description = "List of IDs of VPC subnets of instances" | ||
value = aws_instance.ec2[*].subnet_id | ||
output "tags_all" { | ||
description = "Map of tags assigned to the resource" | ||
value = aws_apigatewayv2_api.example.tags_all | ||
} |
Oops, something went wrong.