variables.tf 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. variable "config" {
  2. type = object({
  3. lambda = object({
  4. log_level = string
  5. log_type = string
  6. logging_retention_in_days = number
  7. logging_kms_key_id = string
  8. reserved_concurrent_executions = number
  9. s3_bucket = string
  10. s3_key = string
  11. s3_object_version = string
  12. security_group_ids = list(string)
  13. runtime = string
  14. architecture = string
  15. timeout = number
  16. zip = string
  17. subnet_ids = list(string)
  18. })
  19. tags = map(string)
  20. ghes = object({
  21. url = string
  22. ssl_verify = string
  23. })
  24. github_app_parameters = object({
  25. key_base64 = map(string)
  26. id = map(string)
  27. })
  28. subnet_ids = list(string)
  29. runner = object({
  30. disable_runner_autoupdate = bool
  31. ephemeral = bool
  32. extra_labels = string
  33. launch_template = object({
  34. name = string
  35. })
  36. group_name = string
  37. pool_owner = string
  38. role = object({
  39. arn = string
  40. })
  41. })
  42. instance_types = list(string)
  43. instance_target_capacity_type = string
  44. instance_allocation_strategy = string
  45. instance_max_spot_price = string
  46. prefix = string
  47. pool = list(object({
  48. schedule_expression = string
  49. size = number
  50. }))
  51. role_permissions_boundary = string
  52. kms_key_arn = string
  53. role_path = string
  54. })
  55. }
  56. variable "aws_partition" {
  57. description = "(optional) partition for the arn if not 'aws'"
  58. type = string
  59. default = "aws"
  60. }