Skip to content

Commit

Permalink
fix: Handle certificate not being passed
Browse files Browse the repository at this point in the history
  • Loading branch information
Nick Hammond committed Aug 4, 2021
1 parent 4a9037a commit f73dfcf
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ Call the module with the specific version you want using the ```ref``` query par
# API Gateway
# -----------------------------------------------------------------------------
module "apigateway" {
source = "github.com/rpstreef/tf-apigateway?ref=v1.0"
source = "github.com/nhammond101/tf-apigateway?ref=v1.5.3"
resource_tag_name = var.resource_tag_name
namespace = var.namespace
region = var.region
Expand Down Expand Up @@ -64,4 +64,4 @@ Use the resources parameter ```var.resources``` to specify which API endpoints y

### v1.0

Initial release
Initial release
2 changes: 1 addition & 1 deletion outputs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ output "rest_api_id" {
}

output "api_url" {
value = aws_api_gateway_domain_name._[0].regional_domain_name
value = length(aws_api_gateway_domain_name._) > 0 ? aws_api_gateway_domain_name._[0].regional_domain_name : null
}

output "api_domain_name" {
Expand Down

0 comments on commit f73dfcf

Please sign in to comment.