generated from xoap-io/terraform-module-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvariables.tf
69 lines (67 loc) · 2.88 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
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
variable "bucket" {
type = string
description = "(Required) The name of the source bucket that inventory lists the objects for."
}
variable "name" {
type = string
description = "(Required) Unique identifier of the inventory configuration for the bucket."
}
variable "include_object_versions" {
type = string
description = "(Required) Object versions to include in the inventory list. Valid values: All, Current."
}
variable "frequency" {
type = string
description = "(Required) Specifies how frequently inventory results are produced. Valid values Daily, Weekly."
}
variable "bucket_arn" {
type = string
description = "(Required) The Amazon S3 bucket ARN of the destination."
}
variable "format" {
type = string
description = "(Required) Specifies the output format of the inventory results. Can be CSV, ORC or Parquet."
}
variable "account_id" {
type = string
description = "(Optional) The ID of the account that owns the destination bucket. Recommended to be set to prevent problems if the destination bucket ownership changes."
}
variable "bucket_prefix" {
type = string
description = "(Optional) The prefix that is prepended to all inventory results."
}
variable "sse_kms" {
type = string
description = "(Optional) Specifies to use server-side encryption with AWS KMS-managed keys to encrypt the inventory file (documented below)."
}
variable "key_id" {
type = string
description = "Required) The ARN of the KMS customer master key (CMK) used to encrypt the inventory file."
}
variable "sse_s3" {
type = string
description = "(Optional) Specifies to use server-side encryption with Amazon S3-managed keys (SSE-S3) to encrypt the inventory file."
}
variable "enabled" {
type = bool
description = "(Optional, Default: true) Specifies whether the inventory is enabled or disabled."
default = true
}
variable "prefix" {
type = string
description = "(Optional) The prefix that an object must have to be included in the inventory results."
}
variable "optional_fields" {
type = map(list)
description = "(Optional) List of optional fields that are included in the inventory results. Please refer to the S3 documentation for more details."
}
variable "context" {
type = object({
organization = string
environment = string
account = string
product = string
tags = map(string)
})
description = "Default context for naming and tagging purpose"
}