-
Notifications
You must be signed in to change notification settings - Fork 12
/
data.tf
44 lines (39 loc) · 1.33 KB
/
data.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
data "aws_caller_identity" "current" {}
data "aws_iam_policy_document" "Inspector_Remediation_SNS_Topic_Policy_Data" {
policy_id = "__default_policy_ID"
statement {
actions = [
"SNS:Publish",
]
effect = "Allow"
principals {
type = "AWS"
identifiers = ["${var.InspectorRemediationSNSTopicPolicyData_USEAST1_Principal}"]
}
resources = [
"${aws_sns_topic.Inspector_Remediation_SNS_Topic.arn}",
]
sid = "__default_statement_ID"
}
}
data "aws_iam_policy" "Data_Policy_AmazonSSMFullAccess" {
arn = "arn:aws:iam::aws:policy/AmazonSSMFullAccess"
}
data "aws_iam_policy" "Data_Policy_AWSLambdaBasicExecutionRole" {
arn = "arn:aws:iam::aws:policy/service-role/AWSLambdaBasicExecutionRole"
}
data "aws_iam_policy" "Data_Policy_AmazonInspectorReadOnlyAccess" {
arn = "arn:aws:iam::aws:policy/AmazonInspectorReadOnlyAccess"
}
data "aws_iam_policy" "Data_Policy_AWSConfigRole" {
arn = "arn:aws:iam::aws:policy/service-role/AWSConfigRole"
}
data "aws_iam_policy" "Data_Policy_AWSLambdaExecute" {
arn = "arn:aws:iam::aws:policy/AWSLambdaExecute"
}
data "aws_iam_policy" "Data_Policy_AWSGlueServiceRole" {
arn = "arn:aws:iam::aws:policy/service-role/AWSGlueServiceRole"
}
data "aws_iam_policy" "Data_Policy_AWSXrayWriteOnlyAccess" {
arn = "arn:aws:iam::aws:policy/AWSXrayWriteOnlyAccess"
}