forked from StratusGrid/terraform-aws-lambda-pipeline
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path-inputs.tf
More file actions
114 lines (100 loc) · 2.73 KB
/
-inputs.tf
File metadata and controls
114 lines (100 loc) · 2.73 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
variable "approval_deploy_enabled" {
description = "Enable approval for deployment step"
type = bool
default = true
}
variable "artifact_store_bucket_name" {
description = "Name of the bucket that stores artifacts"
type = string
}
variable "codestar_connection_arn" {
description = ""
type = string
}
variable "description" {
description = "Description of what your Lambda Function does."
type = string
}
variable "environment_variables" {
description = "List of key values for lambda environment variables"
type = map(string)
default = null
}
variable "github_branch_name" {
description = "Name of the source github branch"
type = string
}
variable "github_repo_name" {
description = "The name of the GitHub repository"
type = string
}
variable "input_tags" {
description = "Map of tags to apply to resources"
type = map(string)
default = {
Developer = "Stratusgrid"
Provisioner = "Terraform"
}
}
variable "lambda_filename" {
description = "Unique name for your Lambda Function"
type = string
}
variable "lambda_handler" {
description = "Function entrypoint in your code."
type = string
}
variable "lambda_memory_size" {
description = "The manifest lambdas configured memory size"
type = number
}
variable "lambda_runtime" {
description = "Identifier of the function's runtime."
type = string
default = "python3.8"
}
variable "name" {
description = "Name of all of the module's resources"
type = string
}
variable "policy_configs_map" {
description = "Map of objects to add policies to the iam role"
type = map(object({ name = string, arn = string, enabled = bool }))
default = {
"policy_lambda_execute" = {
"name" = "lambdaExecute"
"arn" = "arn:aws:iam::aws:policy/AWSLambdaExecute"
"enabled" = true
}
"policy_S3_full" = {
"name" = "s3Fullaccess"
"arn" = "arn:aws:iam::aws:policy/AmazonS3FullAccess"
"enabled" = true
}
"policy_sqs_full" = {
"name" = "sqsFullAccess"
"arn" = "arn:aws:iam::aws:policy/AmazonSQSFullAccess"
"enabled" = true
}
"policy_xray_full" = {
"name" = "xrayFullAccess"
"arn" = "arn:aws:iam::aws:policy/AWSXrayFullAccess"
"enabled" = true
}
"policy_ssm_readonly" = {
"name" = "ssmReaOnly"
"arn" = "arn:aws:iam::aws:policy/AmazonSSMReadOnlyAccess"
"enabled" = true
}
policy_secrets_read = {
"name" = "secretmanageReadWrite"
"arn" = "arn:aws:iam::aws:policy/SecretsManagerReadWrite"
"enabled" = true
}
}
}
//variable "source_repo" {
// description = "The source repository for the terraform"
// type = string
//}
//