@@ -38,6 +38,7 @@ Metadata:
3838 - IncludeISVFeedsModule
3939 - IncludeLicenseManagerModule
4040 - IncludeQuickSightModule
41+ - IncludeReferenceModule
4142 - IncludeServiceQuotasModule
4243 - IncludeEUCUtilizationModule
4344 - Label :
@@ -107,7 +108,8 @@ Metadata:
107108 default : ' Include Service Quota Data Collection'
108109 IncludeQuickSightModule :
109110 default : ' Include QuickSight User Collection Module'
110-
111+ IncludeReferenceModule :
112+ default : ' Include Reference Data Collection Module'
111113Mappings :
112114 RegionMap :
113115 # Only support regions that have QuickSight
@@ -271,7 +273,12 @@ Parameters:
271273 Default : ' no'
272274 IncludeQuickSightModule :
273275 Type : String
274- Description : Collects Marketplace Licenses and Grants
276+ Description : Collects Quicksight User and Groups and Access Details
277+ AllowedValues : ['yes', 'no']
278+ Default : ' no'
279+ IncludeReferenceModule :
280+ Type : String
281+ Description : Collects Reference data for other modules
275282 AllowedValues : ['yes', 'no']
276283 Default : ' no'
277284 IncludeServiceQuotasModule :
@@ -299,6 +306,7 @@ Conditions:
299306 DeployHealthEventsModule : !Equals [ !Ref IncludeHealthEventsModule, "yes"]
300307 DeployLicenseManagerModule : !Equals [ !Ref IncludeLicenseManagerModule, "yes"]
301308 DeployQuickSightModule : !Equals [ !Ref IncludeQuickSightModule, "yes"]
309+ DeployIncludeReferenceModule : !Equals [ !Ref IncludeReferenceModule, "yes"]
302310 DeployServiceQuotasModule : !Equals [ !Ref IncludeServiceQuotasModule, "yes"]
303311 DeployPricingModule : !Or
304312 - !Condition DeployInventoryCollectorModule
@@ -1418,6 +1426,25 @@ Resources:
14181426 StepFunctionExecutionRoleARN : !GetAtt StepFunctionExecutionRole.Arn
14191427 SchedulerExecutionRoleARN : !GetAtt SchedulerExecutionRole.Arn
14201428
1429+ ReferenceModule :
1430+ Type : AWS::CloudFormation::Stack
1431+ Condition : DeployIncludeReferenceModule
1432+ Properties :
1433+ TemplateURL : !Sub "https://${CFNSourceBucket}.s3.${AWS::URLSuffix}/cfn/data-collection/v3.10.0/module-reference.yaml"
1434+ Parameters :
1435+ DatabaseName : !Ref DatabaseName
1436+ DataBucketsKmsKeysArns : !Ref DataBucketsKmsKeysArns
1437+ DestinationBucket : !Ref S3Bucket
1438+ DestinationBucketARN : !GetAtt S3Bucket.Arn
1439+ Schedule : !Ref ScheduleFrequent
1440+ GlueRoleARN : !GetAtt GlueRole.Arn
1441+ ResourcePrefix : !Ref ResourcePrefix
1442+ LambdaAnalyticsARN : !GetAtt LambdaAnalytics.Arn
1443+ CodeBucket : !If [ ProdCFNTemplateUsed, !FindInMap [RegionMap, !Ref "AWS::Region", CodeBucket], !Ref CFNSourceBucket ]
1444+ StepFunctionTemplate : !FindInMap [StepFunctionCode, standalone-v1, TemplatePath]
1445+ StepFunctionExecutionRoleARN : !GetAtt StepFunctionExecutionRole.Arn
1446+ SchedulerExecutionRoleARN : !GetAtt SchedulerExecutionRole.Arn
1447+
14211448 AccountCollector :
14221449 Type : AWS::CloudFormation::Stack
14231450 Condition : DeployAccountCollector
0 commit comments