This repository has been archived by the owner on Jul 31, 2020. It is now read-only.
generated from trussworks/terraform-module-template
-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathvariables.tf
83 lines (70 loc) · 2.82 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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
variable "deny_root_account_target_ids" {
description = "Target ids (AWS Account or Organizational Unit) to attach an SCP denying the root user from taking any action"
type = list(string)
default = []
}
variable "deny_leaving_orgs_target_ids" {
description = "Target ids (AWS Account or Organizational Unit) to attach an SCP denying the ability to leave the AWS Organization"
type = list(string)
default = []
}
variable "deny_creating_iam_users_target_ids" {
description = "Target ids (AWS Account or Organizational Unit) to attach an SCP denying the ability to create IAM users or Access Keys"
type = list(string)
default = []
}
variable "deny_deleting_kms_keys_target_ids" {
description = "Target ids (AWS Account or Organizational Unit) to attach an SCP denying deleting KMS keys"
type = list(string)
default = []
}
variable "deny_deleting_route53_zones_target_ids" {
description = "Target ids (AWS Account or Organizational Unit) to attach an SCP denying deleting Route53 Hosted Zones"
type = list(string)
default = []
}
variable "deny_all_access_target_ids" {
description = "Target ids (AWS Account or Organizational Unit) to attach an SCP dening all access"
type = list(string)
default = []
}
variable "require_s3_encryption_target_ids" {
description = "Target ids (AWS Account or Organizational Unit) to attach an SCP requiring S3 encryption"
type = list(string)
default = []
}
variable "deny_deleting_cloudwatch_logs_target_ids" {
description = "Target ids (AWS Account or Organizational Unit) to attach an SCP denying deletion of CloudWatch, flowlogs, log groups, or log streams"
type = list(string)
default = []
}
variable "protect_s3_bucket_target_ids" {
description = "Target ids (AWS Account or Organizational Unit) to attach an SCP protecting S3 buckets and objects"
type = list(string)
default = []
}
variable "protect_s3_bucket_resources" {
description = "S3 bucket resource ARNs to protect from bucket and object deletion"
type = list(string)
default = [""]
}
variable "protect_iam_role_target_ids" {
description = "Target ids (AWS Account or Organizational Unit) to attach an SCP protecting IAM roles"
type = list(string)
default = []
}
variable "protect_iam_role_resources" {
description = "IAM role resource ARNs to protect from modification and deletion"
type = list(string)
default = []
}
variable "restrict_regions_target_ids" {
description = "Target ids (AWS Account or Organizational Unit) to attach an SCP restricting regions."
type = list(string)
default = []
}
variable "allowed_regions" {
description = "AWS Regions allowed for use (for use with the restrict regions SCP)"
type = list(string)
default = [""]
}