-
-
Notifications
You must be signed in to change notification settings - Fork 54
/
Copy pathvariables.tf
41 lines (35 loc) · 1.47 KB
/
variables.tf
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
variable "description" {
type = string
default = ""
description = "Elastic Beanstalk Application description"
}
variable "appversion_lifecycle_service_role_arn" {
type = string
description = "The service role ARN to use for application version cleanup. If left empty, the `appversion_lifecycle` block will not be created"
default = ""
}
variable "appversion_lifecycle_max_count" {
type = number
default = 200
description = "The max number of application versions to keep. if left as default and `appversion_lifecycle_max_age_in_days` is set, `appversion_lifecycle_max_age_in_days` will be used. Otherwise `appversion_lifecycle_max_count` will take place"
}
variable "appversion_lifecycle_max_age_in_days" {
type = number
default = null
description = "The number of days to retain an application version "
}
variable "appversion_lifecycle_delete_source_from_s3" {
type = bool
default = false
description = "Whether to delete application versions from S3 source"
}
variable "create_lifecycle_service_role" {
type = bool
default = false
description = "Whether to create service role for application version cleanup. If set, `appversion_lifecycle_service_role_arn` will be ignored"
}
variable "prefer_legacy_service_policy" {
type = bool
default = true
description = "Whether to use AWSElasticBeanstalkService (deprecated) or AWSElasticBeanstalkManagedUpdatesCustomerRolePolicy policy"
}