From da05e2cea4a25d582c51c5be41a24301f245d430 Mon Sep 17 00:00:00 2001 From: theprashantyadav Date: Thu, 13 Jul 2023 20:04:10 +0530 Subject: [PATCH] feat: code dynamic and add resource, variable description --- _examples/complete/example.tf | 10 +++------- _examples/vpc_link_api/example.tf | 6 +++--- 2 files changed, 6 insertions(+), 10 deletions(-) diff --git a/_examples/complete/example.tf b/_examples/complete/example.tf index 97ff403..3a1c876 100644 --- a/_examples/complete/example.tf +++ b/_examples/complete/example.tf @@ -17,8 +17,8 @@ module "acm" { label_order = ["name", "environment"] enable_aws_certificate = true - domain_name = "example.cam" - subject_alternative_names = ["*.example.cam"] + domain_name = "clouddrove.ca" + subject_alternative_names = ["*.clouddrove.ca"] validation_method = "DNS" enable_dns_validation = false } @@ -76,7 +76,7 @@ module "api_gateway" { environment = "test" label_order = ["environment", "name"] - domain_name = "example.cam" + domain_name = "clouddrove.ca" domain_name_certificate_arn = module.acm.arn integration_uri = module.lambda.arn zone_id = "1234059QJ345674343" @@ -103,8 +103,4 @@ module "api_gateway" { authorizer_key = "cognito" } } - access_log_settings = { - default_stage_access_log_destination_arn = "*" - default_stage_access_log_format = " HTTP" - } } \ No newline at end of file diff --git a/_examples/vpc_link_api/example.tf b/_examples/vpc_link_api/example.tf index 4c1db24..a2f7860 100644 --- a/_examples/vpc_link_api/example.tf +++ b/_examples/vpc_link_api/example.tf @@ -67,8 +67,8 @@ module "acm" { label_order = ["name", "environment"] enable_aws_certificate = true - domain_name = "example.cam" - subject_alternative_names = ["*.example.cam"] + domain_name = "clouddrove.ca" + subject_alternative_names = ["*.clouddrove.ca"] validation_method = "DNS" enable_dns_validation = false } @@ -126,7 +126,7 @@ module "api_gateway" { environment = "test" label_order = ["environment", "name"] - domain_name = "example.cam" + domain_name = "clouddrove.ca" create_vpc_link_enabled = true zone_id = "1`23456059QJZ25345678" integration_uri = module.lambda.arn