Skip to content
This repository has been archived by the owner on Aug 23, 2024. It is now read-only.

Commit

Permalink
feat(main): hardcode new resources types (#1)
Browse files Browse the repository at this point in the history
  • Loading branch information
13013SwagR authored Sep 26, 2022
1 parent e36126c commit ea0d70d
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,17 @@ resource "aws_config_configuration_recorder" "recorder" {
role_arn = local.create_iam_role ? module.iam_role[0].arn : var.iam_role_arn
recording_group {
all_supported = false
resource_types = ["AWS::EC2::Host", "AWS::EC2::Instance", "AWS::EC2::VPC",
resource_types = [
"AWS::AccessAnalyzer::Analyzer",
"AWS::ApiGateway::Stage",
"AWS::ApiGatewayV2::Stage",
"AWS::CloudFront::Distribution",
"AWS::ElasticLoadBalancing::LoadBalancer",
"AWS::Route53Resolver::ResolverEndpoint",
"AWS::Route53Resolver::ResolverRule",
"AWS::Route53Resolver::ResolverRuleAssociation",
"AWS::StepFunctions::Activity",
"AWS::EC2::Host", "AWS::EC2::Instance", "AWS::EC2::VPC",
"AWS::ElasticLoadBalancingV2::LoadBalancer", "AWS::IAM::Group", "AWS::IAM::Policy",
"AWS::IAM::Role", "AWS::Lambda::Function", "AWS::RDS::DBCluster", "AWS::RDS::DBInstance",
"AWS::S3::AccountPublicAccessBlock", "AWS::S3::Bucket", "AWS::EC2::Volume", "AWS::EKS::Cluster",
Expand Down

0 comments on commit ea0d70d

Please sign in to comment.