Make an exhaustive refactored resource list
parent
92c58cd3e4
commit
bdb4740c39
|
@ -29,20 +29,11 @@ var refactoredResources = []string{
|
|||
"aws_default_vpc",
|
||||
"aws_dynamodb_table",
|
||||
"aws_ebs_snapshot",
|
||||
"aws_instance",
|
||||
"aws_ebs_volume",
|
||||
"aws_s3_bucket",
|
||||
"aws_s3_bucket_policy",
|
||||
"aws_s3_bucket_notification",
|
||||
"aws_s3_bucket_metric",
|
||||
"aws_s3_bucket_inventory",
|
||||
"aws_s3_bucket_analytics_configuration",
|
||||
"aws_ecr_repository",
|
||||
"aws_route_table",
|
||||
"aws_route",
|
||||
"aws_sns_topic_subscription",
|
||||
"aws_sns_topic_policy",
|
||||
"aws_sns_topic",
|
||||
// "aws_eip",
|
||||
// "aws_eip_association",
|
||||
// "aws_iam_access_key",
|
||||
"aws_iam_policy",
|
||||
"aws_iam_policy_attachment",
|
||||
"aws_iam_role",
|
||||
|
@ -51,7 +42,35 @@ var refactoredResources = []string{
|
|||
"aws_iam_user",
|
||||
"aws_iam_user_policy",
|
||||
"aws_iam_user_policy_attachment",
|
||||
"aws_instance",
|
||||
// "aws_internet_gateway",
|
||||
"aws_key_pair",
|
||||
// "aws_kms_alias",
|
||||
// "aws_kms_key",
|
||||
// "aws_lambda_event_source_mapping",
|
||||
// "aws_lambda_function",
|
||||
// "aws_nat_gateway",
|
||||
"aws_route",
|
||||
// "aws_route53_health_check",
|
||||
// "aws_route53_record",
|
||||
// "aws_route53_zone",
|
||||
"aws_route_table",
|
||||
// "aws_route_table_association",
|
||||
"aws_s3_bucket",
|
||||
"aws_s3_bucket_analytics_configuration",
|
||||
"aws_s3_bucket_inventory",
|
||||
"aws_s3_bucket_metric",
|
||||
"aws_s3_bucket_notification",
|
||||
"aws_s3_bucket_policy",
|
||||
// "aws_security_group",
|
||||
// "aws_security_group_rule",
|
||||
"aws_sns_topic",
|
||||
"aws_sns_topic_policy",
|
||||
"aws_sns_topic_subscription",
|
||||
// "aws_sqs_queue",
|
||||
// "aws_sqs_queue_policy",
|
||||
// "aws_subnet",
|
||||
// "aws_vpc",
|
||||
}
|
||||
|
||||
func IsRefactoredResource(typ string) bool {
|
||||
|
|
Loading…
Reference in New Issue