forked from plus3it/terraform-aws-tardigrade-config
-
Notifications
You must be signed in to change notification settings - Fork 0
/
all_resource_types.tf
108 lines (107 loc) · 3.61 KB
/
all_resource_types.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
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
locals {
# To update this list:
# 1. Copy the Valid Values from the AWS Docs: https://docs.aws.amazon.com/config/latest/APIReference/API_ResourceIdentifier.html#config-Type-ResourceIdentifier-resourceType
# 2. In a python interpreter, paste the string into a new variable, and use
# split/sort/dump/print to get it into terraform syntax.
# > f = "<paste>"
# > print(json.dumps(sorted(f.split(" | ")), indent=2))
all_resource_types = [
"AWS::ACM::Certificate",
"AWS::ApiGateway::RestApi",
"AWS::ApiGateway::Stage",
"AWS::ApiGatewayV2::Api",
"AWS::ApiGatewayV2::Stage",
"AWS::AutoScaling::AutoScalingGroup",
"AWS::AutoScaling::LaunchConfiguration",
"AWS::AutoScaling::ScalingPolicy",
"AWS::AutoScaling::ScheduledAction",
"AWS::CloudFormation::Stack",
"AWS::CloudFront::Distribution",
"AWS::CloudFront::StreamingDistribution",
"AWS::CloudTrail::Trail",
"AWS::CloudWatch::Alarm",
"AWS::CodeBuild::Project",
"AWS::CodePipeline::Pipeline",
"AWS::Config::ConformancePackCompliance",
"AWS::Config::ResourceCompliance",
"AWS::DynamoDB::Table",
"AWS::EC2::CustomerGateway",
"AWS::EC2::EIP",
"AWS::EC2::EgressOnlyInternetGateway",
"AWS::EC2::FlowLog",
"AWS::EC2::Host",
"AWS::EC2::Instance",
"AWS::EC2::InternetGateway",
"AWS::EC2::NatGateway",
"AWS::EC2::NetworkAcl",
"AWS::EC2::NetworkInterface",
"AWS::EC2::RegisteredHAInstance",
"AWS::EC2::RouteTable",
"AWS::EC2::SecurityGroup",
"AWS::EC2::Subnet",
"AWS::EC2::VPC",
"AWS::EC2::VPCEndpoint",
"AWS::EC2::VPCEndpointService",
"AWS::EC2::VPCPeeringConnection",
"AWS::EC2::VPNConnection",
"AWS::EC2::VPNGateway",
"AWS::EC2::Volume",
"AWS::ElasticBeanstalk::Application",
"AWS::ElasticBeanstalk::ApplicationVersion",
"AWS::ElasticBeanstalk::Environment",
"AWS::ElasticLoadBalancing::LoadBalancer",
"AWS::ElasticLoadBalancingV2::LoadBalancer",
"AWS::Elasticsearch::Domain",
"AWS::IAM::Group",
"AWS::IAM::Policy",
"AWS::IAM::Role",
"AWS::IAM::User",
"AWS::KMS::Key",
"AWS::Lambda::Function",
"AWS::NetworkFirewall::Firewall",
"AWS::NetworkFirewall::FirewallPolicy",
"AWS::NetworkFirewall::RuleGroup",
"AWS::QLDB::Ledger",
"AWS::RDS::DBCluster",
"AWS::RDS::DBClusterSnapshot",
"AWS::RDS::DBInstance",
"AWS::RDS::DBSecurityGroup",
"AWS::RDS::DBSnapshot",
"AWS::RDS::DBSubnetGroup",
"AWS::RDS::EventSubscription",
"AWS::Redshift::Cluster",
"AWS::Redshift::ClusterParameterGroup",
"AWS::Redshift::ClusterSecurityGroup",
"AWS::Redshift::ClusterSnapshot",
"AWS::Redshift::ClusterSubnetGroup",
"AWS::Redshift::EventSubscription",
"AWS::S3::AccountPublicAccessBlock",
"AWS::S3::Bucket",
"AWS::SNS::Topic",
"AWS::SQS::Queue",
"AWS::SSM::AssociationCompliance",
"AWS::SSM::FileData",
"AWS::SSM::ManagedInstanceInventory",
"AWS::SSM::PatchCompliance",
"AWS::SecretsManager::Secret",
"AWS::ServiceCatalog::CloudFormationProduct",
"AWS::ServiceCatalog::CloudFormationProvisionedProduct",
"AWS::ServiceCatalog::Portfolio",
"AWS::Shield::Protection",
"AWS::ShieldRegional::Protection",
"AWS::WAF::RateBasedRule",
"AWS::WAF::Rule",
"AWS::WAF::RuleGroup",
"AWS::WAF::WebACL",
"AWS::WAFRegional::RateBasedRule",
"AWS::WAFRegional::Rule",
"AWS::WAFRegional::RuleGroup",
"AWS::WAFRegional::WebACL",
"AWS::WAFv2::IPSet",
"AWS::WAFv2::ManagedRuleSet",
"AWS::WAFv2::RegexPatternSet",
"AWS::WAFv2::RuleGroup",
"AWS::WAFv2::WebACL",
"AWS::XRay::EncryptionConfig"
]
}