-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
21 changed files
with
198 additions
and
156 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
12 changes: 7 additions & 5 deletions
12
build/terraform/aws/api_gateway/kinesis_data_stream/_variables.tf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,14 @@ | ||
variable "config" { | ||
type = object({ | ||
name = string | ||
stream = string | ||
name = string | ||
stream = string | ||
timeout = optional(number, 1000) | ||
}) | ||
}) | ||
description = "Configuration for the API Gateway Kinesis Data Stream integration." | ||
} | ||
|
||
variable "tags" { | ||
type = map(any) | ||
default = {} | ||
type = map(any) | ||
default = {} | ||
description = "Tags to apply to all resources." | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,20 @@ | ||
variable "config" { | ||
variable "kms" { | ||
type = object({ | ||
name = string | ||
}) | ||
arn = string | ||
id = string | ||
}) | ||
description = "KMS key used to encrypt the repository." | ||
} | ||
|
||
variable "kms" { | ||
variable "config" { | ||
type = object({ | ||
arn = string | ||
id = string | ||
name = string | ||
}) | ||
description = "Configuration for the ECR repository." | ||
} | ||
|
||
variable "tags" { | ||
type = map(any) | ||
default = {} | ||
type = map(any) | ||
default = {} | ||
description = "Tags to apply to all resources." | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,18 @@ | ||
variable "config" { | ||
type = object({ | ||
name = string | ||
name = string | ||
description = string | ||
schedule = string | ||
schedule = string | ||
function = object({ | ||
arn = string | ||
arn = string | ||
name = string | ||
}) | ||
}) | ||
}) | ||
description = "Configuration for the EventBridge Lambda rule." | ||
} | ||
|
||
variable "tags" { | ||
type = map(any) | ||
default = {} | ||
type = map(any) | ||
default = {} | ||
description = "Tags to apply to all resources." | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,29 @@ | ||
variable "config" { | ||
variable "kms" { | ||
type = object({ | ||
name = string | ||
autoscaling_topic = string | ||
shards = optional(number, 2) | ||
retention = optional(number, 24) | ||
arn = string | ||
id = string | ||
}) | ||
description = "KMS key used to encrypt the stream." | ||
} | ||
|
||
variable kms { | ||
variable "config" { | ||
type = object({ | ||
arn = string | ||
id = string | ||
name = string | ||
autoscaling_topic = string | ||
shards = optional(number, 2) | ||
retention = optional(number, 24) | ||
}) | ||
description = "Configuration for the Kinesis stream." | ||
} | ||
|
||
variable "tags" { | ||
type = map(any) | ||
default = {} | ||
type = map(any) | ||
default = {} | ||
description = "Tags to apply to all resources." | ||
} | ||
|
||
variable "access" { | ||
type = list(string) | ||
default = [] | ||
type = list(string) | ||
default = [] | ||
description = "List of IAM ARNs that are granted access to the resource." | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,13 @@ | ||
variable config { | ||
variable "config" { | ||
type = object({ | ||
name = string | ||
policy = optional(string, "") | ||
name = string | ||
policy = optional(string, null) | ||
}) | ||
description = "Configuration for the KMS key." | ||
} | ||
|
||
variable "tags" { | ||
type = map(any) | ||
default = {} | ||
type = map(any) | ||
default = {} | ||
description = "Tags to apply to all resources." | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,46 +1,53 @@ | ||
variable "appconfig" { | ||
type = object({ | ||
arn = string | ||
id = string | ||
id = string | ||
}) | ||
description = "AppConfig application used for the Lambda configuration." | ||
} | ||
|
||
variable "kms" { | ||
type = object({ | ||
arn = string | ||
id = string | ||
id = string | ||
}) | ||
description = "KMS key used to encrypt the Lambda." | ||
} | ||
|
||
variable "config" { | ||
type = object({ | ||
name = string | ||
name = string | ||
description = string | ||
image_uri = string | ||
architectures = optional(list(string), ["x86_64"]) | ||
timeout = optional(number, 300) | ||
memory = optional(number, 1024) | ||
env = optional(map(any), null) | ||
secret = optional(bool, false) | ||
image_uri = string | ||
image_arm = bool | ||
timeout = optional(number, 300) | ||
memory = optional(number, 1024) | ||
env = optional(map(any), null) | ||
secret = optional(bool, false) | ||
vpc_config = optional(object({ | ||
subnet_ids = list(string) | ||
subnet_ids = list(string) | ||
security_group_ids = list(string) | ||
}), null) | ||
}), { | ||
subnet_ids = [] | ||
security_group_ids = [] | ||
}) | ||
iam_statements = optional(list(object({ | ||
sid = string | ||
actions = list(string) | ||
sid = string | ||
actions = list(string) | ||
resources = list(string) | ||
})), []) | ||
}) | ||
description = "Configuration for the Lambda function." | ||
} | ||
|
||
variable "tags" { | ||
type = map(any) | ||
default = {} | ||
type = map(any) | ||
default = {} | ||
description = "Tags to apply to all resources." | ||
} | ||
|
||
variable "access" { | ||
type = list(string) | ||
default = [] | ||
type = list(string) | ||
default = [] | ||
description = "List of IAM ARNs that are granted access to the resource." | ||
} |
Oops, something went wrong.