Skip to content

Commit 541a62a

Browse files
feat: code dynamic and add resource, variable description
1 parent 553312e commit 541a62a

File tree

3 files changed

+11
-11
lines changed

3 files changed

+11
-11
lines changed

_examples/complete/example.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,8 +79,8 @@ module "api_gateway" {
7979
domain_name = "example.cam"
8080
domain_name_certificate_arn = module.acm.arn
8181
integration_uri = module.lambda.arn
82-
zone_id = "1234059QJ345674343"
83-
create_vpc_link_enabled = false
82+
zone_id = "1234059QJ345674343"
83+
create_vpc_link_enabled = false
8484
cors_configuration = {
8585
allow_credentials = true
8686
allow_methods = ["GET", "OPTIONS", "POST"]

_examples/vpc_link_api/example.tf

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -124,13 +124,13 @@ module "api_gateway" {
124124
environment = "test"
125125
label_order = ["environment", "name"]
126126

127-
domain_name = "example.cam"
128-
create_vpc_link_enabled = true
129-
zone_id = "1`23456059QJZ25345678"
130-
integration_uri = module.lambda.arn
131-
domain_name_certificate_arn = module.acm.arn
132-
subnet_ids = tolist(module.public_subnets.public_subnet_id)
133-
security_group_ids = [module.security_group.security_group_ids]
127+
domain_name = "example.cam"
128+
create_vpc_link_enabled = true
129+
zone_id = "1`23456059QJZ25345678"
130+
integration_uri = module.lambda.arn
131+
domain_name_certificate_arn = module.acm.arn
132+
subnet_ids = tolist(module.public_subnets.public_subnet_id)
133+
security_group_ids = [module.security_group.security_group_ids]
134134
cors_configuration = {
135135
allow_credentials = true
136136
allow_methods = ["GET", "OPTIONS", "POST"]

variables.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -229,8 +229,8 @@ variable "security_group_ids" {
229229
}
230230

231231
variable "zone_id" {
232-
type = string
233-
default = ""
232+
type = string
233+
default = ""
234234
description = "The ID of the hosted zone to contain this record."
235235
}
236236
variable "integration_uri" {

0 commit comments

Comments
 (0)