Skip to content

Commit da05e2c

Browse files
feat: code dynamic and add resource, variable description
1 parent e453dc5 commit da05e2c

File tree

2 files changed

+6
-10
lines changed

2 files changed

+6
-10
lines changed

_examples/complete/example.tf

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ module "acm" {
1717
label_order = ["name", "environment"]
1818

1919
enable_aws_certificate = true
20-
domain_name = "example.cam"
21-
subject_alternative_names = ["*.example.cam"]
20+
domain_name = "clouddrove.ca"
21+
subject_alternative_names = ["*.clouddrove.ca"]
2222
validation_method = "DNS"
2323
enable_dns_validation = false
2424
}
@@ -76,7 +76,7 @@ module "api_gateway" {
7676
environment = "test"
7777
label_order = ["environment", "name"]
7878

79-
domain_name = "example.cam"
79+
domain_name = "clouddrove.ca"
8080
domain_name_certificate_arn = module.acm.arn
8181
integration_uri = module.lambda.arn
8282
zone_id = "1234059QJ345674343"
@@ -103,8 +103,4 @@ module "api_gateway" {
103103
authorizer_key = "cognito"
104104
}
105105
}
106-
access_log_settings = {
107-
default_stage_access_log_destination_arn = "*"
108-
default_stage_access_log_format = " HTTP"
109-
}
110106
}

_examples/vpc_link_api/example.tf

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -67,8 +67,8 @@ module "acm" {
6767
label_order = ["name", "environment"]
6868

6969
enable_aws_certificate = true
70-
domain_name = "example.cam"
71-
subject_alternative_names = ["*.example.cam"]
70+
domain_name = "clouddrove.ca"
71+
subject_alternative_names = ["*.clouddrove.ca"]
7272
validation_method = "DNS"
7373
enable_dns_validation = false
7474
}
@@ -126,7 +126,7 @@ module "api_gateway" {
126126
environment = "test"
127127
label_order = ["environment", "name"]
128128

129-
domain_name = "example.cam"
129+
domain_name = "clouddrove.ca"
130130
create_vpc_link_enabled = true
131131
zone_id = "1`23456059QJZ25345678"
132132
integration_uri = module.lambda.arn

0 commit comments

Comments
 (0)