2018-02-07 17:11:10 +00:00
|
|
|
# Main AWS loader file. The intent is for this to be
|
|
|
|
# loaded only if AWS resources are needed.
|
|
|
|
|
2019-02-20 20:04:57 +00:00
|
|
|
require 'aws-sdk-core'
|
|
|
|
|
|
|
|
require 'aws-sdk-cloudtrail'
|
|
|
|
require 'aws-sdk-cloudwatch'
|
|
|
|
require 'aws-sdk-cloudwatchlogs'
|
|
|
|
require 'aws-sdk-costandusagereportservice'
|
|
|
|
require 'aws-sdk-configservice'
|
|
|
|
require 'aws-sdk-ec2'
|
|
|
|
require 'aws-sdk-ecs'
|
|
|
|
require 'aws-sdk-eks'
|
|
|
|
require 'aws-sdk-elasticloadbalancing'
|
|
|
|
require 'aws-sdk-iam'
|
|
|
|
require 'aws-sdk-kms'
|
|
|
|
require 'aws-sdk-rds'
|
|
|
|
require 'aws-sdk-s3'
|
|
|
|
require 'aws-sdk-sqs'
|
|
|
|
require 'aws-sdk-sns'
|
2018-02-07 17:11:10 +00:00
|
|
|
|
|
|
|
require 'resource_support/aws/aws_backend_factory_mixin'
|
|
|
|
require 'resource_support/aws/aws_resource_mixin'
|
2018-02-08 15:09:57 +00:00
|
|
|
require 'resource_support/aws/aws_singular_resource_mixin'
|
|
|
|
require 'resource_support/aws/aws_plural_resource_mixin'
|
|
|
|
require 'resource_support/aws/aws_backend_base'
|
2018-02-07 17:11:10 +00:00
|
|
|
|
|
|
|
# Load all AWS resources
|
|
|
|
# TODO: loop over and load entire directory
|
|
|
|
# for f in ls lib/resources/aws/*; do t=$(echo $f | cut -c 5- | cut -f1 -d. ); echo "require '${t}'"; done
|
2019-01-10 00:06:48 +00:00
|
|
|
require 'resources/aws/aws_billing_report'
|
|
|
|
require 'resources/aws/aws_billing_reports'
|
2018-02-07 17:11:10 +00:00
|
|
|
require 'resources/aws/aws_cloudtrail_trail'
|
|
|
|
require 'resources/aws/aws_cloudtrail_trails'
|
|
|
|
require 'resources/aws/aws_cloudwatch_alarm'
|
|
|
|
require 'resources/aws/aws_cloudwatch_log_metric_filter'
|
2018-03-26 18:03:23 +00:00
|
|
|
require 'resources/aws/aws_config_delivery_channel'
|
2018-02-27 18:15:04 +00:00
|
|
|
require 'resources/aws/aws_config_recorder'
|
2018-02-07 17:11:10 +00:00
|
|
|
require 'resources/aws/aws_ec2_instance'
|
2018-09-21 15:49:28 +00:00
|
|
|
require 'resources/aws/aws_ebs_volume'
|
|
|
|
require 'resources/aws/aws_ebs_volumes'
|
2018-06-07 18:41:46 +00:00
|
|
|
require 'resources/aws/aws_flow_log'
|
2018-05-10 18:54:33 +00:00
|
|
|
require 'resources/aws/aws_ec2_instances'
|
2018-08-09 13:19:27 +00:00
|
|
|
require 'resources/aws/aws_ecs_cluster'
|
2018-11-27 21:54:47 +00:00
|
|
|
require 'resources/aws/aws_eks_cluster'
|
2018-06-07 19:06:05 +00:00
|
|
|
require 'resources/aws/aws_elb'
|
|
|
|
require 'resources/aws/aws_elbs'
|
2018-02-07 17:11:10 +00:00
|
|
|
require 'resources/aws/aws_iam_access_key'
|
|
|
|
require 'resources/aws/aws_iam_access_keys'
|
|
|
|
require 'resources/aws/aws_iam_group'
|
|
|
|
require 'resources/aws/aws_iam_groups'
|
|
|
|
require 'resources/aws/aws_iam_password_policy'
|
|
|
|
require 'resources/aws/aws_iam_policies'
|
|
|
|
require 'resources/aws/aws_iam_policy'
|
|
|
|
require 'resources/aws/aws_iam_role'
|
|
|
|
require 'resources/aws/aws_iam_root_user'
|
|
|
|
require 'resources/aws/aws_iam_user'
|
|
|
|
require 'resources/aws/aws_iam_users'
|
2018-03-23 12:29:45 +00:00
|
|
|
require 'resources/aws/aws_kms_key'
|
2018-02-07 17:11:10 +00:00
|
|
|
require 'resources/aws/aws_kms_keys'
|
2018-03-28 15:23:44 +00:00
|
|
|
require 'resources/aws/aws_rds_instance'
|
2018-02-08 15:09:57 +00:00
|
|
|
require 'resources/aws/aws_route_table'
|
2018-04-05 16:51:22 +00:00
|
|
|
require 'resources/aws/aws_route_tables'
|
2018-02-07 17:11:10 +00:00
|
|
|
require 'resources/aws/aws_s3_bucket'
|
2018-03-19 17:10:17 +00:00
|
|
|
require 'resources/aws/aws_s3_bucket_object'
|
2018-04-05 16:49:30 +00:00
|
|
|
require 'resources/aws/aws_s3_buckets'
|
2018-02-09 05:56:28 +00:00
|
|
|
require 'resources/aws/aws_security_group'
|
|
|
|
require 'resources/aws/aws_security_groups'
|
2018-03-22 17:38:40 +00:00
|
|
|
require 'resources/aws/aws_sns_subscription'
|
2018-02-07 17:11:10 +00:00
|
|
|
require 'resources/aws/aws_sns_topic'
|
2018-03-22 16:55:23 +00:00
|
|
|
require 'resources/aws/aws_sns_topics'
|
2018-12-20 19:33:21 +00:00
|
|
|
require 'resources/aws/aws_sqs_queue'
|
2018-02-09 05:56:28 +00:00
|
|
|
require 'resources/aws/aws_subnet'
|
|
|
|
require 'resources/aws/aws_subnets'
|
2018-02-07 17:11:10 +00:00
|
|
|
require 'resources/aws/aws_vpc'
|
2018-02-07 17:29:01 +00:00
|
|
|
require 'resources/aws/aws_vpcs'
|