Skip to content

Commit

Permalink
fix: update service name in _examples
Browse files Browse the repository at this point in the history
  • Loading branch information
Aatishsharma77 committed Jan 23, 2024
1 parent 3f5c539 commit 737aaef
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 5 deletions.
2 changes: 1 addition & 1 deletion _examples/complete/private-rest-api-gateway/example.tf
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ module "rest_api_private" {

# -- VPC Endpoint configuration
vpc_id = module.vpc.vpc_id
service_name = "com.amazonaws.ap-south-1.execute-api"
service_name = "com.amazonaws.us-east-1.execute-api"
vpc_endpoint_type = "Interface"
private_dns_enabled = true
subnet_ids = module.subnets.private_subnet_id
Expand Down
6 changes: 3 additions & 3 deletions _examples/complete/private-rest-api-gateway/outputs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,19 @@
# REST API PRIVATE
##-------------------------------------------------------------

output "Private_rest_api_id" {
output "private_rest_api_id" {
value = module.rest_api_private.rest_api_id
description = " The ID of the REST API"

}

output "Private_rest_api_arn" {
output "private_rest_api_arn" {
value = module.rest_api_private.rest_api_arn
description = "The Rest api arn"

}

output "Private_rest_api_invoke_url" {
output "private_rest_api_invoke_url" {
value = module.rest_api_private.rest_api_invoke_url
description = "The URL to invoke the API pointing to the stage"

Expand Down
2 changes: 2 additions & 0 deletions _examples/complete/rest-api-gateway/example.tf
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,8 @@ module "rest_api" {
rest_api_endpoint_type = "REGIONAL"
integration_uri = module.lambda.invoke_arn
rest_api_stage_name = "test"


api_resources = {
users = {
path_part = "users"
Expand Down
2 changes: 1 addition & 1 deletion variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -547,7 +547,7 @@ variable "stage_variables" {

variable "aws_cloudwatch_log_group_arn" {
type = string
default = ""
default = null
description = "ARN of the CloudWatch Logs log group or Kinesis Data Firehose delivery stream to receive access logs"
}

Expand Down

0 comments on commit 737aaef

Please sign in to comment.