sous-chefs / aws

Development repository for the aws cookbook
https://supermarket.chef.io/cookbooks/aws
Apache License 2.0
606 stars 553 forks source link

Request: User defined dependency scope #363

Closed jakauppila closed 3 years ago

jakauppila commented 6 years ago

Cookbook version

7.5.0

Chef-client version

v12.20.3

Platform Details

Windows 2012R2/2016

Scenario:

The AWS cookbook is great, but covers a lot of resources. We only utilize the aws_s3_file resource, but have to download all of the gems to support everything, which results in ~152 gems being downloaded.

Is there anything that could be done that allows the user to define what they want to use which could limit what dependencies are actually retrieved?

Otherwise, is there value in splitting off resources into their own cookbooks once they get to a certain maturity to limit scope? Ideally this would happen at an 'official' level rather than us maintaining our own fork.

From a recent run:

Using aws-eventstream 1.0.1
Using aws-partitions 1.104.0
Using aws-sigv4 1.0.3
Using aws-sigv2 1.0.1
Installing aws-sdk-core 3.27.1
Using aws-sdk-acm 1.11.0
Using aws-sdk-acmpca 1.4.0
Using aws-sdk-alexaforbusiness 1.9.0
Using aws-sdk-apigateway 1.16.0
Using aws-sdk-applicationautoscaling 1.13.0
Using aws-sdk-applicationdiscoveryservice 1.5.0
Using aws-sdk-appstream 1.15.0
Using aws-sdk-appsync 1.6.0
Using aws-sdk-athena 1.3.0
Using aws-sdk-autoscaling 1.9.0
Using aws-sdk-autoscalingplans 1.5.0
Using aws-sdk-batch 1.7.0
Using aws-sdk-budgets 1.10.0
Using aws-sdk-cloud9 1.4.0
Using aws-sdk-clouddirectory 1.7.0
Using aws-sdk-cloudformation 1.8.0
Using aws-sdk-cloudfront 1.7.0
Using aws-sdk-cloudhsm 1.6.0
Using aws-sdk-cloudhsmv2 1.6.0
Using aws-sdk-cloudsearch 1.3.0
Using aws-sdk-cloudsearchdomain 1.3.0
Using aws-sdk-cloudtrail 1.3.0
Using aws-sdk-cloudwatch 1.10.0
Using aws-sdk-cloudwatchevents 1.7.0
Using aws-sdk-cloudwatchlogs 1.8.0
Using aws-sdk-codebuild 1.18.0
Using aws-sdk-codecommit 1.7.0
Using aws-sdk-codedeploy 1.8.0
Using aws-sdk-codepipeline 1.7.0
Using aws-sdk-codestar 1.4.0
Using aws-sdk-cognitoidentity 1.3.0
Using aws-sdk-cognitoidentityprovider 1.8.0
Using aws-sdk-cognitosync 1.3.0
Using aws-sdk-comprehend 1.5.0
Using aws-sdk-configservice 1.16.0
Using aws-sdk-connect 1.5.0
Using aws-sdk-costandusagereportservice 1.3.0
Using aws-sdk-costexplorer 1.9.0
Using aws-sdk-databasemigrationservice 1.9.0
Using aws-sdk-datapipeline 1.3.0
Using aws-sdk-dax 1.5.0
Using aws-sdk-devicefarm 1.10.0
Using aws-sdk-directconnect 1.5.0
Installing aws-sdk-directoryservice 1.6.0
Using aws-sdk-dlm 1.3.0
Using aws-sdk-dynamodb 1.13.0
Using aws-sdk-dynamodbstreams 1.3.0
Installing aws-sdk-ec2 1.48.0
Using aws-sdk-ecr 1.6.0
Using aws-sdk-ecs 1.20.0
Using aws-sdk-efs 1.4.0
Using aws-sdk-eks 1.4.0
Using aws-sdk-elasticache 1.7.0
Using aws-sdk-elasticbeanstalk 1.11.0
Using aws-sdk-elasticloadbalancing 1.5.0
Using aws-sdk-elasticloadbalancingv2 1.14.0
Using aws-sdk-elasticsearchservice 1.11.0
Using aws-sdk-elastictranscoder 1.4.0
Using aws-sdk-emr 1.5.0
Using aws-sdk-firehose 1.6.0
Using aws-sdk-fms 1.4.0
Using aws-sdk-gamelift 1.7.0
Using aws-sdk-glacier 1.11.0
Using aws-sdk-glue 1.16.0
Using aws-sdk-greengrass 1.7.0
Using aws-sdk-guardduty 1.7.0
Using aws-sdk-health 1.5.0
Using aws-sdk-iam 1.8.0
Using aws-sdk-importexport 1.3.0
Using aws-sdk-inspector 1.8.0
Using aws-sdk-iot 1.15.0
Using aws-sdk-iot1clickdevicesservice 1.3.0
Using aws-sdk-iot1clickprojects 1.3.0
Using aws-sdk-iotanalytics 1.7.0
Using aws-sdk-iotdataplane 1.3.0
Using aws-sdk-iotjobsdataplane 1.3.0
Using aws-sdk-kinesis 1.6.0
Using aws-sdk-kinesisanalytics 1.5.0
Using aws-sdk-kinesisvideo 1.4.0
Using aws-sdk-kinesisvideoarchivedmedia 1.4.0
Using aws-sdk-kinesisvideomedia 1.3.0
Using aws-sdk-kms 1.9.0
Using aws-sdk-lambda 1.10.0
Using aws-sdk-lambdapreview 1.3.0
Using aws-sdk-lex 1.6.0
Using aws-sdk-lexmodelbuildingservice 1.9.0
Using aws-sdk-lightsail 1.7.0
Using aws-sdk-machinelearning 1.3.0
Using aws-sdk-macie 1.3.0
Using aws-sdk-marketplacecommerceanalytics 1.3.0
Using aws-sdk-marketplaceentitlementservice 1.3.0
Using aws-sdk-marketplacemetering 1.3.0
Installing aws-sdk-mediaconvert 1.13.0
Using aws-sdk-medialive 1.11.0
Using aws-sdk-mediapackage 1.6.0
Using aws-sdk-mediastore 1.4.0
Using aws-sdk-mediastoredata 1.4.0
Using aws-sdk-mediatailor 1.4.0
Using aws-sdk-migrationhub 1.5.0
Using aws-sdk-mobile 1.3.0
Using aws-sdk-mq 1.4.0
Using aws-sdk-mturk 1.6.0
Using aws-sdk-neptune 1.4.0
Using aws-sdk-opsworks 1.6.0
Using aws-sdk-opsworkscm 1.6.0
Using aws-sdk-organizations 1.13.0
Using aws-sdk-pi 1.3.0
Using aws-sdk-pinpoint 1.9.0
Using aws-sdk-polly 1.11.0
Using aws-sdk-pricing 1.3.0
Installing aws-sdk-rds 1.30.0
Using aws-sdk-redshift 1.11.0
Using aws-sdk-rekognition 1.10.0
Using aws-sdk-resourcegroups 1.4.0
Using aws-sdk-resourcegroupstaggingapi 1.3.0
Using aws-sdk-route53 1.12.0
Using aws-sdk-route53domains 1.5.0
Using aws-sdk-sagemaker 1.18.0
Using aws-sdk-sagemakerruntime 1.4.0
Using aws-sdk-secretsmanager 1.15.0
Using aws-sdk-serverlessapplicationrepository 1.6.0
Using aws-sdk-servicecatalog 1.8.0
Using aws-sdk-servicediscovery 1.5.0
Using aws-sdk-ses 1.11.0
Using aws-sdk-shield 1.5.0
Using aws-sdk-signer 1.2.0
Using aws-sdk-simpledb 1.3.0
Using aws-sdk-sms 1.3.0
Using aws-sdk-snowball 1.7.0
Using aws-sdk-sns 1.5.0
Using aws-sdk-sqs 1.6.0
Using aws-sdk-ssm 1.26.0
Using aws-sdk-states 1.5.0
Using aws-sdk-storagegateway 1.9.0
Using aws-sdk-support 1.3.0
Using aws-sdk-swf 1.3.0
Using aws-sdk-transcribeservice 1.6.0
Using aws-sdk-translate 1.4.0
Using aws-sdk-waf 1.8.0
Using aws-sdk-wafregional 1.8.0
Using aws-sdk-workdocs 1.4.0
Using aws-sdk-workmail 1.4.0
Using aws-sdk-workspaces 1.5.0
Using aws-sdk-xray 1.6.0
Using aws-sdk-s3 1.20.0
Using aws-sdk-resources 3.25.0
Using aws-sdk 3.0.1
github-actions[bot] commented 3 years ago

Marking stale due to inactivity. Remove stale label or comment or this will be closed in 7 days. Alternatively drop by the #sous-chefs channel on the Chef Community Slack and we'll be happy to help! Thanks, Sous-Chefs.

github-actions[bot] commented 3 years ago

Closing due to inactivity. If this is still an issue please reopen or open another issue. Alternatively drop by the #sous-chefs channel on the Chef Community Slack and we'll be happy to help! Thanks, Sous-Chefs.