@webiny/project-aws 0.0.0-unstable.6f45466a1d → 0.0.0-unstable.7be00a75a9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/_templates/appTemplates/admin/src/index.tsx +0 -3
- package/_templates/appTemplates/admin/tsconfig.json +0 -1
- package/_templates/appTemplates/admin/webiny.application.ts +1 -1
- package/_templates/appTemplates/api/graphql/package.json +16 -6
- package/_templates/appTemplates/api/graphql/src/extensions.ts +1 -1
- package/_templates/appTemplates/api/graphql/src/index.ts +9 -8
- package/_templates/appTemplates/api/graphql/tsconfig.json +0 -1
- package/_templates/appTemplates/api/webiny.application.ts +1 -1
- package/_templates/appTemplates/blueGreen/webiny.application.ts +1 -1
- package/_templates/appTemplates/core/webiny.application.ts +1 -1
- package/_templates/appTemplates/syncSystem/webiny.application.ts +1 -1
- package/_templates/extensions/ApiLambdaFunction/package.json +9 -0
- package/_templates/{appTemplates/api/migration → extensions/ApiLambdaFunction}/tsconfig.json +0 -1
- package/_templates/extensions/OpenSearch/api/graphql/src/index.ts +33 -22
- package/_templates/extensions/OpenSearch/coreDdbToEsHandler/dynamoToElastic/src/index.ts +14 -7
- package/_templates/extensions/OpenSearch/coreDdbToEsHandler/dynamoToElastic/tsconfig.json +0 -1
- package/_templates/extensions/OpenSearch/coreDdbToEsHandler/dynamoToElastic/webiny.config.ts +2 -2
- package/abstractions/ApiGqlClient.js +2 -1
- package/abstractions/ApiGqlClient.js.map +1 -1
- package/abstractions/InvokeLambdaFunction.js +2 -1
- package/abstractions/InvokeLambdaFunction.js.map +1 -1
- package/abstractions/features/pulumi/AdminPulumi.d.ts +9 -0
- package/abstractions/features/pulumi/AdminPulumi.js +5 -0
- package/abstractions/features/pulumi/AdminPulumi.js.map +1 -0
- package/abstractions/features/pulumi/ApiPulumi.d.ts +9 -0
- package/abstractions/features/pulumi/ApiPulumi.js +5 -0
- package/abstractions/features/pulumi/ApiPulumi.js.map +1 -0
- package/abstractions/features/pulumi/CorePulumi.d.ts +9 -0
- package/abstractions/features/pulumi/CorePulumi.js +5 -0
- package/abstractions/features/pulumi/CorePulumi.js.map +1 -0
- package/abstractions/features/pulumi/index.d.ts +3 -0
- package/abstractions/features/pulumi/index.js +3 -0
- package/abstractions/index.d.ts +1 -0
- package/abstractions/index.js +1 -2
- package/abstractions/services/AdminStackOutputService.js +2 -1
- package/abstractions/services/AdminStackOutputService.js.map +1 -1
- package/abstractions/services/ApiStackOutputService.d.ts +0 -1
- package/abstractions/services/ApiStackOutputService.js +2 -1
- package/abstractions/services/ApiStackOutputService.js.map +1 -1
- package/abstractions/services/CoreStackOutputService.js +2 -1
- package/abstractions/services/CoreStackOutputService.js.map +1 -1
- package/admin.d.ts +4 -16
- package/admin.js +5 -4
- package/admin.js.map +1 -1
- package/api.d.ts +36 -18
- package/api.js +15 -4
- package/api.js.map +1 -1
- package/apps/createAdminApp.d.ts +2 -0
- package/apps/createAdminApp.js +11 -12
- package/apps/createAdminApp.js.map +1 -1
- package/apps/createAdminAppConfig.js +12 -18
- package/apps/createAdminAppConfig.js.map +1 -1
- package/apps/createApiApp.d.ts +0 -3
- package/apps/createApiApp.js +17 -22
- package/apps/createApiApp.js.map +1 -1
- package/apps/createBlueGreenApp.js +13 -16
- package/apps/createBlueGreenApp.js.map +1 -1
- package/apps/createCoreApp.d.ts +0 -1
- package/apps/createCoreApp.js +12 -13
- package/apps/createCoreApp.js.map +1 -1
- package/apps/createReactAppConfig.d.ts +0 -7
- package/apps/createReactAppConfig.js +56 -69
- package/apps/createReactAppConfig.js.map +1 -1
- package/apps/createSyncSystemApp.js +8 -7
- package/apps/createSyncSystemApp.js.map +1 -1
- package/apps/index.js +0 -2
- package/cli.d.ts +2 -6
- package/cli.js +3 -2
- package/cli.js.map +1 -1
- package/exports/extensions.d.ts +0 -2
- package/exports/extensions.js +0 -4
- package/exports/infra/admin.d.ts +1 -0
- package/exports/infra/admin.js +1 -2
- package/exports/infra/api.d.ts +1 -0
- package/exports/infra/api.js +1 -2
- package/exports/infra/core.d.ts +1 -0
- package/exports/infra/core.js +1 -2
- package/exports/infra.d.ts +1 -0
- package/exports/infra.js +1 -0
- package/extensions/ApiLambdaFunction.d.ts +5 -0
- package/extensions/ApiLambdaFunction.js +57 -0
- package/extensions/ApiLambdaFunction.js.map +1 -0
- package/extensions/ApiRoute.d.ts +16 -0
- package/extensions/ApiRoute.js +106 -0
- package/extensions/ApiRoute.js.map +1 -0
- package/extensions/AwsDefaultRegion.d.ts +4 -5
- package/extensions/AwsDefaultRegion.js +20 -7
- package/extensions/AwsDefaultRegion.js.map +1 -1
- package/extensions/Cms/ModelFieldCompression.d.ts +4 -0
- package/extensions/Cms/ModelFieldCompression.js +24 -0
- package/extensions/Cms/ModelFieldCompression.js.map +1 -0
- package/extensions/Encryption.d.ts +10 -0
- package/extensions/Encryption.js +36 -0
- package/extensions/Encryption.js.map +1 -0
- package/extensions/Mailer/Smtp.d.ts +8 -0
- package/extensions/Mailer/Smtp.js +21 -0
- package/extensions/Mailer/Smtp.js.map +1 -0
- package/extensions/Mailer/Smtp.test.d.ts +1 -0
- package/extensions/Mailer/Smtp.test.js +127 -0
- package/extensions/Mailer/Smtp.test.js.map +1 -0
- package/extensions/Mailer/SmtpParamsSchema.d.ts +9 -0
- package/extensions/Mailer/SmtpParamsSchema.js +17 -0
- package/extensions/Mailer/SmtpParamsSchema.js.map +1 -0
- package/extensions/OpenSearch/EnsureOsServiceRoleBeforeCoreDeploy.d.ts +1 -1
- package/extensions/OpenSearch/EnsureOsServiceRoleBeforeCoreDeploy.js +25 -30
- package/extensions/OpenSearch/EnsureOsServiceRoleBeforeCoreDeploy.js.map +1 -1
- package/extensions/OpenSearch/EnsureOsWasDeployed.js +14 -24
- package/extensions/OpenSearch/EnsureOsWasDeployed.js.map +1 -1
- package/extensions/OpenSearch/InjectDdbEsLambdaFnHandler.js +25 -21
- package/extensions/OpenSearch/InjectDdbEsLambdaFnHandler.js.map +1 -1
- package/extensions/OpenSearch/ReplaceApiLambdaFnHandlers.js +26 -22
- package/extensions/OpenSearch/ReplaceApiLambdaFnHandlers.js.map +1 -1
- package/extensions/OpenSearch.d.ts +4 -11
- package/extensions/OpenSearch.js +30 -29
- package/extensions/OpenSearch.js.map +1 -1
- package/extensions/ProjectAws/AdminStackOutputService.js +0 -2
- package/extensions/ProjectAws/ApiStackOutputService.js +0 -2
- package/extensions/ProjectAws/AutoInstall/AutoInstallAfterApiDeploy.d.ts +1 -1
- package/extensions/ProjectAws/AutoInstall/AutoInstallAfterApiDeploy.js +65 -70
- package/extensions/ProjectAws/AutoInstall/AutoInstallAfterApiDeploy.js.map +1 -1
- package/extensions/ProjectAws/AutoInstall.d.ts +3 -27
- package/extensions/ProjectAws/AutoInstall.js +15 -14
- package/extensions/ProjectAws/AutoInstall.js.map +1 -1
- package/extensions/ProjectAws/BlueGreenDeployments/EnsureVariantBeforeDeploy.d.ts +1 -1
- package/extensions/ProjectAws/BlueGreenDeployments/EnsureVariantBeforeDeploy.js +15 -19
- package/extensions/ProjectAws/BlueGreenDeployments/EnsureVariantBeforeDeploy.js.map +1 -1
- package/extensions/ProjectAws/BlueGreenDeployments/PrintDeploymentInfoAfterDeploy.d.ts +1 -1
- package/extensions/ProjectAws/BlueGreenDeployments/PrintDeploymentInfoAfterDeploy.js +56 -45
- package/extensions/ProjectAws/BlueGreenDeployments/PrintDeploymentInfoAfterDeploy.js.map +1 -1
- package/extensions/ProjectAws/BlueGreenDeployments/SetPrimaryVariantCliCommand.js +57 -55
- package/extensions/ProjectAws/BlueGreenDeployments/SetPrimaryVariantCliCommand.js.map +1 -1
- package/extensions/ProjectAws/BuildAppWorkspace.js +49 -54
- package/extensions/ProjectAws/BuildAppWorkspace.js.map +1 -1
- package/extensions/ProjectAws/CoreStackOutputService.js +0 -2
- package/extensions/ProjectAws/EnsureAwsCredentialsBeforeDeploy.d.ts +10 -0
- package/extensions/ProjectAws/EnsureAwsCredentialsBeforeDeploy.js +36 -0
- package/extensions/ProjectAws/EnsureAwsCredentialsBeforeDeploy.js.map +1 -0
- package/extensions/ProjectAws/SetAdminEnvVars/SetAdminEnvVars.js +25 -38
- package/extensions/ProjectAws/SetAdminEnvVars/SetAdminEnvVars.js.map +1 -1
- package/extensions/ProjectAws/SetAdminEnvVars/SetAdminEnvVarsBeforeBuild.js +22 -17
- package/extensions/ProjectAws/SetAdminEnvVars/SetAdminEnvVarsBeforeBuild.js.map +1 -1
- package/extensions/ProjectAws/SetAdminEnvVars/SetAdminEnvVarsBeforeWatch.js +22 -17
- package/extensions/ProjectAws/SetAdminEnvVars/SetAdminEnvVarsBeforeWatch.js.map +1 -1
- package/extensions/ProjectAws/SetDatabaseSetupOutput.d.ts +5 -3
- package/extensions/ProjectAws/SetDatabaseSetupOutput.js +22 -22
- package/extensions/ProjectAws/SetDatabaseSetupOutput.js.map +1 -1
- package/extensions/ProjectAws/UploadAdminAppToS3.d.ts +1 -1
- package/extensions/ProjectAws/UploadAdminAppToS3.js +53 -58
- package/extensions/ProjectAws/UploadAdminAppToS3.js.map +1 -1
- package/extensions/ProjectAws/definitions.js +13 -8
- package/extensions/ProjectAws/definitions.js.map +1 -1
- package/extensions/ProjectAws.js +45 -43
- package/extensions/ProjectAws.js.map +1 -1
- package/extensions/RegisterRoutesPulumi.d.ts +12 -0
- package/extensions/RegisterRoutesPulumi.js +37 -0
- package/extensions/RegisterRoutesPulumi.js.map +1 -0
- package/extensions/definitions.d.ts +3 -0
- package/extensions/definitions.js +16 -0
- package/extensions/definitions.js.map +1 -0
- package/extensions/index.d.ts +4 -0
- package/extensions/index.js +4 -2
- package/features/ApiGqlClient.js +46 -51
- package/features/ApiGqlClient.js.map +1 -1
- package/features/InvokeLambdaFunction.js +30 -32
- package/features/InvokeLambdaFunction.js.map +1 -1
- package/features/index.js +0 -2
- package/index.d.ts +0 -1
- package/index.js +0 -3
- package/infra.d.ts +116 -328
- package/infra.js +62 -46
- package/infra.js.map +1 -1
- package/package.json +32 -33
- package/project.d.ts +34 -37
- package/project.js +7 -5
- package/project.js.map +1 -1
- package/pulumi/apps/admin/createAdminPulumiApp.d.ts +2 -0
- package/pulumi/apps/admin/createAdminPulumiApp.js +38 -44
- package/pulumi/apps/admin/createAdminPulumiApp.js.map +1 -1
- package/pulumi/apps/admin/index.js +0 -2
- package/pulumi/apps/api/ApiBackgroundTask.js +153 -137
- package/pulumi/apps/api/ApiBackgroundTask.js.map +1 -1
- package/pulumi/apps/api/ApiCloudfront.js +188 -130
- package/pulumi/apps/api/ApiCloudfront.js.map +1 -1
- package/pulumi/apps/api/ApiFileManager.js +34 -33
- package/pulumi/apps/api/ApiFileManager.js.map +1 -1
- package/pulumi/apps/api/ApiGateway.js +67 -71
- package/pulumi/apps/api/ApiGateway.js.map +1 -1
- package/pulumi/apps/api/ApiGraphql.js +223 -152
- package/pulumi/apps/api/ApiGraphql.js.map +1 -1
- package/pulumi/apps/api/ApiOutput.d.ts +0 -1
- package/pulumi/apps/api/ApiOutput.js +29 -31
- package/pulumi/apps/api/ApiOutput.js.map +1 -1
- package/pulumi/apps/api/ApiScheduler.js +94 -92
- package/pulumi/apps/api/ApiScheduler.js.map +1 -1
- package/pulumi/apps/api/ApiWebsocket.js +141 -133
- package/pulumi/apps/api/ApiWebsocket.js.map +1 -1
- package/pulumi/apps/api/backgroundTask/definition.js +122 -144
- package/pulumi/apps/api/backgroundTask/definition.js.map +1 -1
- package/pulumi/apps/api/backgroundTask/policy.js +37 -23
- package/pulumi/apps/api/backgroundTask/policy.js.map +1 -1
- package/pulumi/apps/api/backgroundTask/role.js +29 -29
- package/pulumi/apps/api/backgroundTask/role.js.map +1 -1
- package/pulumi/apps/api/backgroundTask/types.js +9 -11
- package/pulumi/apps/api/backgroundTask/types.js.map +1 -1
- package/pulumi/apps/api/createApiPulumiApp.d.ts +0 -3
- package/pulumi/apps/api/createApiPulumiApp.js +210 -262
- package/pulumi/apps/api/createApiPulumiApp.js.map +1 -1
- package/pulumi/apps/api/handleGuardDutyEvents.js +54 -51
- package/pulumi/apps/api/handleGuardDutyEvents.js.map +1 -1
- package/pulumi/apps/api/index.d.ts +0 -1
- package/pulumi/apps/api/index.js +0 -3
- package/pulumi/apps/awsUtils.js +21 -24
- package/pulumi/apps/awsUtils.js.map +1 -1
- package/pulumi/apps/blueGreen/BlueGreenRouterApiGateway.js +37 -40
- package/pulumi/apps/blueGreen/BlueGreenRouterApiGateway.js.map +1 -1
- package/pulumi/apps/blueGreen/BlueGreenRouterCloudFront.js +83 -91
- package/pulumi/apps/blueGreen/BlueGreenRouterCloudFront.js.map +1 -1
- package/pulumi/apps/blueGreen/BlueGreenRouterCloudFrontStore.js +17 -16
- package/pulumi/apps/blueGreen/BlueGreenRouterCloudFrontStore.js.map +1 -1
- package/pulumi/apps/blueGreen/cloudfront/createCloudFrontDefaultCacheBehaviorPolicies.js +13 -12
- package/pulumi/apps/blueGreen/cloudfront/createCloudFrontDefaultCacheBehaviorPolicies.js.map +1 -1
- package/pulumi/apps/blueGreen/cloudfront/createCloudFrontFunctionDomainMap.js +9 -14
- package/pulumi/apps/blueGreen/cloudfront/createCloudFrontFunctionDomainMap.js.map +1 -1
- package/pulumi/apps/blueGreen/cloudfront/createOriginId.js +5 -7
- package/pulumi/apps/blueGreen/cloudfront/createOriginId.js.map +1 -1
- package/pulumi/apps/blueGreen/constants.js +15 -3
- package/pulumi/apps/blueGreen/constants.js.map +1 -1
- package/pulumi/apps/blueGreen/createBlueGreenPulumiApp.js +77 -103
- package/pulumi/apps/blueGreen/createBlueGreenPulumiApp.js.map +1 -1
- package/pulumi/apps/blueGreen/domains/attachDomainsToOutput.js +20 -26
- package/pulumi/apps/blueGreen/domains/attachDomainsToOutput.js.map +1 -1
- package/pulumi/apps/blueGreen/domains/convertApplicationDomains.js +17 -20
- package/pulumi/apps/blueGreen/domains/convertApplicationDomains.js.map +1 -1
- package/pulumi/apps/blueGreen/domains/getApplicationDomains.js +51 -61
- package/pulumi/apps/blueGreen/domains/getApplicationDomains.js.map +1 -1
- package/pulumi/apps/blueGreen/domains/resolveDomains.js +24 -38
- package/pulumi/apps/blueGreen/domains/resolveDomains.js.map +1 -1
- package/pulumi/apps/blueGreen/functions/buildHandlerFunction.js +7 -14
- package/pulumi/apps/blueGreen/functions/buildHandlerFunction.js.map +1 -1
- package/pulumi/apps/blueGreen/functions/handler.js +1 -56
- package/pulumi/apps/blueGreen/functions/handler.js.map +1 -1
- package/pulumi/apps/blueGreen/types.js +0 -3
- package/pulumi/apps/blueGreen/validation/validateDeployments.js +19 -24
- package/pulumi/apps/blueGreen/validation/validateDeployments.js.map +1 -1
- package/pulumi/apps/common/CoreOutput.d.ts +0 -4
- package/pulumi/apps/common/CoreOutput.js +34 -41
- package/pulumi/apps/common/CoreOutput.js.map +1 -1
- package/pulumi/apps/common/VpcConfig.js +20 -20
- package/pulumi/apps/common/VpcConfig.js.map +1 -1
- package/pulumi/apps/common/index.js +0 -2
- package/pulumi/apps/core/CoreAuditLogsDynamo.js +245 -134
- package/pulumi/apps/core/CoreAuditLogsDynamo.js.map +1 -1
- package/pulumi/apps/core/CoreCognito.js +117 -106
- package/pulumi/apps/core/CoreCognito.js.map +1 -1
- package/pulumi/apps/core/CoreDynamo.js +91 -57
- package/pulumi/apps/core/CoreDynamo.js.map +1 -1
- package/pulumi/apps/core/CoreEventBus.js +10 -9
- package/pulumi/apps/core/CoreEventBus.js.map +1 -1
- package/pulumi/apps/core/CoreFileManager.d.ts +3 -0
- package/pulumi/apps/core/CoreFileManager.js +76 -40
- package/pulumi/apps/core/CoreFileManager.js.map +1 -1
- package/pulumi/apps/core/CoreOpenSearch.d.ts +2 -0
- package/pulumi/apps/core/CoreOpenSearch.js +281 -278
- package/pulumi/apps/core/CoreOpenSearch.js.map +1 -1
- package/pulumi/apps/core/CoreVpc.js +155 -156
- package/pulumi/apps/core/CoreVpc.js.map +1 -1
- package/pulumi/apps/core/WatchCommand.js +94 -96
- package/pulumi/apps/core/WatchCommand.js.map +1 -1
- package/pulumi/apps/core/cognitoIdentityProviders/amazon.js +16 -22
- package/pulumi/apps/core/cognitoIdentityProviders/amazon.js.map +1 -1
- package/pulumi/apps/core/cognitoIdentityProviders/apple.js +16 -17
- package/pulumi/apps/core/cognitoIdentityProviders/apple.js.map +1 -1
- package/pulumi/apps/core/cognitoIdentityProviders/configure.js +44 -50
- package/pulumi/apps/core/cognitoIdentityProviders/configure.js.map +1 -1
- package/pulumi/apps/core/cognitoIdentityProviders/facebook.js +16 -17
- package/pulumi/apps/core/cognitoIdentityProviders/facebook.js.map +1 -1
- package/pulumi/apps/core/cognitoIdentityProviders/getIdpConfig.js +7 -8
- package/pulumi/apps/core/cognitoIdentityProviders/getIdpConfig.js.map +1 -1
- package/pulumi/apps/core/cognitoIdentityProviders/google.js +16 -17
- package/pulumi/apps/core/cognitoIdentityProviders/google.js.map +1 -1
- package/pulumi/apps/core/cognitoIdentityProviders/index.js +0 -2
- package/pulumi/apps/core/cognitoIdentityProviders/oidc.js +17 -18
- package/pulumi/apps/core/cognitoIdentityProviders/oidc.js.map +1 -1
- package/pulumi/apps/core/configureS3BucketMalwareProtection.js +251 -188
- package/pulumi/apps/core/configureS3BucketMalwareProtection.js.map +1 -1
- package/pulumi/apps/core/createCorePulumiApp.d.ts +0 -1
- package/pulumi/apps/core/createCorePulumiApp.js +214 -269
- package/pulumi/apps/core/createCorePulumiApp.js.map +1 -1
- package/pulumi/apps/core/index.js +0 -2
- package/pulumi/apps/core/webinyWatchCommand/handler.js +45 -32
- package/pulumi/apps/core/webinyWatchCommand/handler.js.map +1 -1
- package/pulumi/apps/createAppBucket.d.ts +4 -0
- package/pulumi/apps/createAppBucket.js +157 -106
- package/pulumi/apps/createAppBucket.js.map +1 -1
- package/pulumi/apps/customDomain.js +7 -6
- package/pulumi/apps/customDomain.js.map +1 -1
- package/pulumi/apps/extensions/getAwsTagsFromExtension.js +8 -7
- package/pulumi/apps/extensions/getAwsTagsFromExtension.js.map +1 -1
- package/pulumi/apps/extensions/getBgDeploymentsConfigFromExtension.d.ts +4 -6
- package/pulumi/apps/extensions/getBgDeploymentsConfigFromExtension.js +6 -7
- package/pulumi/apps/extensions/getBgDeploymentsConfigFromExtension.js.map +1 -1
- package/pulumi/apps/extensions/getOsConfigFromExtension.d.ts +3 -0
- package/pulumi/apps/extensions/getOsConfigFromExtension.js +17 -29
- package/pulumi/apps/extensions/getOsConfigFromExtension.js.map +1 -1
- package/pulumi/apps/extensions/getVpcConfigFromExtension.js +13 -25
- package/pulumi/apps/extensions/getVpcConfigFromExtension.js.map +1 -1
- package/pulumi/apps/index.js +0 -3
- package/pulumi/apps/lambdaUtils.js +57 -61
- package/pulumi/apps/lambdaUtils.js.map +1 -1
- package/pulumi/apps/react/createReactPulumiApp.d.ts +2 -0
- package/pulumi/apps/react/createReactPulumiApp.js +108 -129
- package/pulumi/apps/react/createReactPulumiApp.js.map +1 -1
- package/pulumi/apps/react/index.js +0 -2
- package/pulumi/apps/syncSystem/SyncSystemDynamo.js +77 -52
- package/pulumi/apps/syncSystem/SyncSystemDynamo.js.map +1 -1
- package/pulumi/apps/syncSystem/SyncSystemDynamoDb.js +74 -47
- package/pulumi/apps/syncSystem/SyncSystemDynamoDb.js.map +1 -1
- package/pulumi/apps/syncSystem/SyncSystemEventBus.js +77 -71
- package/pulumi/apps/syncSystem/SyncSystemEventBus.js.map +1 -1
- package/pulumi/apps/syncSystem/SyncSystemLambda.js +154 -87
- package/pulumi/apps/syncSystem/SyncSystemLambda.js.map +1 -1
- package/pulumi/apps/syncSystem/SyncSystemOutput.js +14 -13
- package/pulumi/apps/syncSystem/SyncSystemOutput.js.map +1 -1
- package/pulumi/apps/syncSystem/SyncSystemResolverLambda.js +56 -60
- package/pulumi/apps/syncSystem/SyncSystemResolverLambda.js.map +1 -1
- package/pulumi/apps/syncSystem/SyncSystemSQS.js +25 -49
- package/pulumi/apps/syncSystem/SyncSystemSQS.js.map +1 -1
- package/pulumi/apps/syncSystem/SyncSystemWorkerLambda.js +44 -43
- package/pulumi/apps/syncSystem/SyncSystemWorkerLambda.js.map +1 -1
- package/pulumi/apps/syncSystem/addTableItems.js +35 -45
- package/pulumi/apps/syncSystem/addTableItems.js.map +1 -1
- package/pulumi/apps/syncSystem/api/addServiceManifest.js +12 -14
- package/pulumi/apps/syncSystem/api/addServiceManifest.js.map +1 -1
- package/pulumi/apps/syncSystem/api/attachCognitoPermissions.js +49 -55
- package/pulumi/apps/syncSystem/api/attachCognitoPermissions.js.map +1 -1
- package/pulumi/apps/syncSystem/api/attachDynamoDbPermissions.js +88 -40
- package/pulumi/apps/syncSystem/api/attachDynamoDbPermissions.js.map +1 -1
- package/pulumi/apps/syncSystem/api/attachEventBusPermissions.js +37 -43
- package/pulumi/apps/syncSystem/api/attachEventBusPermissions.js.map +1 -1
- package/pulumi/apps/syncSystem/api/attachS3Permissions.js +51 -47
- package/pulumi/apps/syncSystem/api/attachS3Permissions.js.map +1 -1
- package/pulumi/apps/syncSystem/api/index.js +28 -46
- package/pulumi/apps/syncSystem/api/index.js.map +1 -1
- package/pulumi/apps/syncSystem/constants.js +2 -1
- package/pulumi/apps/syncSystem/constants.js.map +1 -1
- package/pulumi/apps/syncSystem/createSyncResourceName.js +2 -7
- package/pulumi/apps/syncSystem/createSyncResourceName.js.map +1 -1
- package/pulumi/apps/syncSystem/createSyncSystemPulumiApp.js +101 -166
- package/pulumi/apps/syncSystem/createSyncSystemPulumiApp.js.map +1 -1
- package/pulumi/apps/syncSystem/customApp.js +12 -16
- package/pulumi/apps/syncSystem/customApp.js.map +1 -1
- package/pulumi/apps/syncSystem/getSyncSystemOutput.js +5 -6
- package/pulumi/apps/syncSystem/getSyncSystemOutput.js.map +1 -1
- package/pulumi/apps/syncSystem/lambda/createSyncSystemResolverLambdaPolicy.js +108 -42
- package/pulumi/apps/syncSystem/lambda/createSyncSystemResolverLambdaPolicy.js.map +1 -1
- package/pulumi/apps/syncSystem/types.js +0 -3
- package/pulumi/constants.js +2 -1
- package/pulumi/constants.js.map +1 -1
- package/pulumi/env/awsRegion.js +3 -2
- package/pulumi/env/awsRegion.js.map +1 -1
- package/pulumi/env/base.js +11 -27
- package/pulumi/env/base.js.map +1 -1
- package/pulumi/env/env.js +3 -2
- package/pulumi/env/env.js.map +1 -1
- package/pulumi/env/projectName.js +3 -2
- package/pulumi/env/projectName.js.map +1 -1
- package/pulumi/env/variant.js +4 -3
- package/pulumi/env/variant.js.map +1 -1
- package/pulumi/extensions/AdminCustomDomains.d.ts +7 -12
- package/pulumi/extensions/AdminCustomDomains.js +15 -11
- package/pulumi/extensions/AdminCustomDomains.js.map +1 -1
- package/pulumi/extensions/AdminPulumi.d.ts +4 -0
- package/pulumi/extensions/AdminPulumi.js +22 -0
- package/pulumi/extensions/AdminPulumi.js.map +1 -0
- package/pulumi/extensions/ApiCustomDomains.d.ts +9 -0
- package/pulumi/extensions/ApiCustomDomains.js +20 -0
- package/pulumi/extensions/ApiCustomDomains.js.map +1 -0
- package/pulumi/extensions/ApiPulumi.d.ts +4 -0
- package/pulumi/extensions/ApiPulumi.js +22 -0
- package/pulumi/extensions/ApiPulumi.js.map +1 -0
- package/pulumi/extensions/AwsTags.d.ts +2 -6
- package/pulumi/extensions/AwsTags.js +11 -10
- package/pulumi/extensions/AwsTags.js.map +1 -1
- package/pulumi/extensions/BlueGreenDeployments.d.ts +15 -115
- package/pulumi/extensions/BlueGreenDeployments.js +29 -25
- package/pulumi/extensions/BlueGreenDeployments.js.map +1 -1
- package/pulumi/extensions/CorePulumi.d.ts +4 -0
- package/pulumi/extensions/CorePulumi.js +22 -0
- package/pulumi/extensions/CorePulumi.js.map +1 -0
- package/pulumi/extensions/OpenSearch.d.ts +5 -12
- package/pulumi/extensions/OpenSearch.js +16 -12
- package/pulumi/extensions/OpenSearch.js.map +1 -1
- package/pulumi/extensions/Vpc.d.ts +9 -65
- package/pulumi/extensions/Vpc.js +21 -20
- package/pulumi/extensions/Vpc.js.map +1 -1
- package/pulumi/extensions/index.d.ts +40 -187
- package/pulumi/extensions/index.js +16 -6
- package/pulumi/extensions/index.js.map +1 -1
- package/pulumi/features/AdminPulumi/AdminPulumi.d.ts +7 -0
- package/pulumi/features/AdminPulumi/AdminPulumi.js +25 -0
- package/pulumi/features/AdminPulumi/AdminPulumi.js.map +1 -0
- package/pulumi/features/AdminPulumi/index.d.ts +1 -0
- package/pulumi/features/AdminPulumi/index.js +1 -0
- package/pulumi/features/ApiPulumi/ApiPulumi.d.ts +7 -0
- package/pulumi/features/ApiPulumi/ApiPulumi.js +25 -0
- package/pulumi/features/ApiPulumi/ApiPulumi.js.map +1 -0
- package/pulumi/features/ApiPulumi/index.d.ts +1 -0
- package/pulumi/features/ApiPulumi/index.js +1 -0
- package/pulumi/features/CorePulumi/CorePulumi.d.ts +7 -0
- package/pulumi/features/CorePulumi/CorePulumi.js +25 -0
- package/pulumi/features/CorePulumi/CorePulumi.js.map +1 -0
- package/pulumi/features/CorePulumi/index.d.ts +1 -0
- package/pulumi/features/CorePulumi/index.js +1 -0
- package/pulumi/features/index.d.ts +3 -0
- package/pulumi/features/index.js +3 -0
- package/pulumi/index.js +0 -2
- package/pulumi/types.d.ts +0 -5
- package/pulumi/types.js +0 -3
- package/pulumi/utils/addDomainsUrlsOutputs.js +20 -37
- package/pulumi/utils/addDomainsUrlsOutputs.js.map +1 -1
- package/pulumi/utils/addServiceManifestTableItem.js +12 -15
- package/pulumi/utils/addServiceManifestTableItem.js.map +1 -1
- package/pulumi/utils/crawlDirectory.js +10 -15
- package/pulumi/utils/crawlDirectory.js.map +1 -1
- package/pulumi/utils/createAssetArchive.js +5 -6
- package/pulumi/utils/createAssetArchive.js.map +1 -1
- package/pulumi/utils/dynamodb.js +26 -27
- package/pulumi/utils/dynamodb.js.map +1 -1
- package/pulumi/utils/getPresignedPost.d.ts +1 -1
- package/pulumi/utils/getPresignedPost.js +27 -30
- package/pulumi/utils/getPresignedPost.js.map +1 -1
- package/pulumi/utils/index.js +1 -3
- package/pulumi/utils/lambdaEnvVariables.js +42 -53
- package/pulumi/utils/lambdaEnvVariables.js.map +1 -1
- package/pulumi/utils/tagResources.js +248 -28
- package/pulumi/utils/tagResources.js.map +1 -1
- package/pulumi/utils/uploadFolderToS3.js +101 -131
- package/pulumi/utils/uploadFolderToS3.js.map +1 -1
- package/pulumi/utils/withServiceManifest.js +28 -37
- package/pulumi/utils/withServiceManifest.js.map +1 -1
- package/services/AdminStackOutputService.d.ts +1 -1
- package/services/AdminStackOutputService.js +14 -11
- package/services/AdminStackOutputService.js.map +1 -1
- package/services/ApiStackOutputService.d.ts +1 -1
- package/services/ApiStackOutputService.js +14 -11
- package/services/ApiStackOutputService.js.map +1 -1
- package/services/CoreStackOutputService.d.ts +1 -1
- package/services/CoreStackOutputService.js +14 -11
- package/services/CoreStackOutputService.js.map +1 -1
- package/utils/getTemplatesFolderPath.js +9 -11
- package/utils/getTemplatesFolderPath.js.map +1 -1
- package/utils/index.js +0 -2
- package/_templates/appTemplates/api/migration/src/index.ts +0 -23
- package/_templates/extensions/OpenSearch/api/migration/src/index.ts +0 -33
- package/abstractions/index.js.map +0 -1
- package/apps/index.js.map +0 -1
- package/exports/extensions.js.map +0 -1
- package/exports/infra/admin.js.map +0 -1
- package/exports/infra/api.js.map +0 -1
- package/exports/infra/core.js.map +0 -1
- package/extensions/ProjectAws/AdminStackOutputService.js.map +0 -1
- package/extensions/ProjectAws/ApiStackOutputService.js.map +0 -1
- package/extensions/ProjectAws/CoreStackOutputService.js.map +0 -1
- package/extensions/ProjectAws/ExecuteDataMigrations.d.ts +0 -16
- package/extensions/ProjectAws/ExecuteDataMigrations.js +0 -69
- package/extensions/ProjectAws/ExecuteDataMigrations.js.map +0 -1
- package/extensions/index.js.map +0 -1
- package/features/index.js.map +0 -1
- package/index.js.map +0 -1
- package/pulumi/apps/admin/index.js.map +0 -1
- package/pulumi/apps/api/ApiMigration.d.ts +0 -5
- package/pulumi/apps/api/ApiMigration.js +0 -83
- package/pulumi/apps/api/ApiMigration.js.map +0 -1
- package/pulumi/apps/api/index.js.map +0 -1
- package/pulumi/apps/blueGreen/types.js.map +0 -1
- package/pulumi/apps/common/index.js.map +0 -1
- package/pulumi/apps/core/LogDynamo.d.ts +0 -5
- package/pulumi/apps/core/LogDynamo.js +0 -94
- package/pulumi/apps/core/LogDynamo.js.map +0 -1
- package/pulumi/apps/core/cognitoIdentityProviders/index.js.map +0 -1
- package/pulumi/apps/core/index.js.map +0 -1
- package/pulumi/apps/index.js.map +0 -1
- package/pulumi/apps/react/index.js.map +0 -1
- package/pulumi/apps/syncSystem/types.js.map +0 -1
- package/pulumi/index.js.map +0 -1
- package/pulumi/types.js.map +0 -1
- package/pulumi/utils/index.js.map +0 -1
- package/security.d.ts +0 -356
- package/security.js +0 -53
- package/security.js.map +0 -1
- package/utils/index.js.map +0 -1
- /package/_templates/{appTemplates/api/migration → extensions/ApiLambdaFunction}/webiny.config.ts +0 -0
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { createHandler } from "@webiny/handler-aws/raw";
|
|
2
|
-
import { createApiCore } from "@webiny/api-core";
|
|
3
|
-
import { createApiCoreDdb } from "@webiny/api-core-ddb";
|
|
4
|
-
import { createDdbProjectMigration, createTable } from "@webiny/data-migration";
|
|
5
|
-
import { getDocumentClient } from "@webiny/aws-sdk/client-dynamodb";
|
|
6
|
-
import { migrations } from "@webiny/migrations/ddb";
|
|
7
|
-
|
|
8
|
-
const documentClient = getDocumentClient();
|
|
9
|
-
|
|
10
|
-
export const handler = createHandler({
|
|
11
|
-
plugins: [
|
|
12
|
-
createApiCore({
|
|
13
|
-
storageOperations: createApiCoreDdb({ documentClient })
|
|
14
|
-
}),
|
|
15
|
-
createDdbProjectMigration({
|
|
16
|
-
primaryTable: createTable({
|
|
17
|
-
name: String(process.env.DB_TABLE),
|
|
18
|
-
documentClient
|
|
19
|
-
}),
|
|
20
|
-
migrations: migrations()
|
|
21
|
-
})
|
|
22
|
-
]
|
|
23
|
-
});
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
import { getDocumentClient } from "@webiny/aws-sdk/client-dynamodb";
|
|
2
|
-
import { createElasticsearchClient } from "@webiny/api-elasticsearch";
|
|
3
|
-
import { createHandler } from "@webiny/handler-aws/raw";
|
|
4
|
-
import { createApiCore } from "@webiny/api-core";
|
|
5
|
-
import { createApiCoreDdb } from "@webiny/api-core-ddb";
|
|
6
|
-
import { createDdbEsProjectMigration, createTable } from "@webiny/data-migration";
|
|
7
|
-
import { migrations } from "@webiny/migrations/ddb-es";
|
|
8
|
-
|
|
9
|
-
const documentClient = getDocumentClient();
|
|
10
|
-
|
|
11
|
-
const elasticsearchClient = createElasticsearchClient({
|
|
12
|
-
endpoint: `https://${process.env.OPENSEARCH_ENDPOINT}`
|
|
13
|
-
});
|
|
14
|
-
|
|
15
|
-
export const handler = createHandler({
|
|
16
|
-
plugins: [
|
|
17
|
-
createApiCore({
|
|
18
|
-
storageOperations: createApiCoreDdb({ documentClient })
|
|
19
|
-
}),
|
|
20
|
-
createDdbEsProjectMigration({
|
|
21
|
-
primaryTable: createTable({
|
|
22
|
-
name: String(process.env.DB_TABLE),
|
|
23
|
-
documentClient
|
|
24
|
-
}),
|
|
25
|
-
dynamoToEsTable: createTable({
|
|
26
|
-
name: String(process.env.DB_TABLE_OPENSEARCH),
|
|
27
|
-
documentClient
|
|
28
|
-
}),
|
|
29
|
-
elasticsearchClient,
|
|
30
|
-
migrations: migrations()
|
|
31
|
-
})
|
|
32
|
-
]
|
|
33
|
-
});
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":[],"sources":["index.ts"],"sourcesContent":["export * from \"./services/CoreStackOutputService.js\";\nexport * from \"./services/ApiStackOutputService.js\";\nexport * from \"./services/AdminStackOutputService.js\";\nexport * from \"./InvokeLambdaFunction.js\";\nexport * from \"./ApiGqlClient.js\";\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA","ignoreList":[]}
|
package/apps/index.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":[],"sources":["index.ts"],"sourcesContent":["export * from \"./createCoreApp.js\";\nexport * from \"./createApiApp.js\";\nexport * from \"./createAdminApp.js\";\nexport * from \"./createAdminAppConfig.js\";\nexport * from \"./createReactAppConfig.js\";\nexport * from \"./createBlueGreenApp.js\";\nexport * from \"./createSyncSystemApp.js\";\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA","ignoreList":[]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["Api","Admin","Cli","Infra","Project","Security","ApiStackOutputService","CoreStackOutputService","ApiGqlClient","AdminStackOutputService","InvokeLambdaFunction"],"sources":["extensions.ts"],"sourcesContent":["export { Api } from \"~/api.js\";\nexport { Admin } from \"~/admin.js\";\nexport { Cli } from \"~/cli.js\";\nexport { Infra } from \"~/infra.js\";\nexport { Project } from \"~/project.js\";\nexport { Security } from \"~/security.js\";\nexport {\n ApiStackOutputService,\n CoreStackOutputService,\n ApiGqlClient,\n AdminStackOutputService,\n InvokeLambdaFunction\n} from \"~/abstractions/index.js\";\n"],"mappings":"AAAA,SAASA,GAAG;AACZ,SAASC,KAAK;AACd,SAASC,GAAG;AACZ,SAASC,KAAK;AACd,SAASC,OAAO;AAChB,SAASC,QAAQ;AACjB,SACIC,qBAAqB,EACrBC,sBAAsB,EACtBC,YAAY,EACZC,uBAAuB,EACvBC,oBAAoB","ignoreList":[]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["AdminStackOutputService","GetAdminStackOutput"],"sources":["admin.ts"],"sourcesContent":["export { AdminStackOutputService as GetAdminStackOutput } from \"~/abstractions/services/AdminStackOutputService.js\";\n"],"mappings":"AAAA,SAASA,uBAAuB,IAAIC,mBAAmB","ignoreList":[]}
|
package/exports/infra/api.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["ApiStackOutputService","GetApiStackOutput"],"sources":["api.ts"],"sourcesContent":["export { ApiStackOutputService as GetApiStackOutput } from \"~/abstractions/services/ApiStackOutputService.js\";\n"],"mappings":"AAAA,SAASA,qBAAqB,IAAIC,iBAAiB","ignoreList":[]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["CoreStackOutputService","GetCoreStackOutput"],"sources":["core.ts"],"sourcesContent":["export { CoreStackOutputService as GetCoreStackOutput } from \"~/abstractions/services/CoreStackOutputService.js\";\n"],"mappings":"AAAA,SAASA,sBAAsB,IAAIC,kBAAkB","ignoreList":[]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["AdminStackOutputService"],"sources":["AdminStackOutputService.ts"],"sourcesContent":["export { AdminStackOutputService } from \"../../services/AdminStackOutputService.js\";\n"],"mappings":"AAAA,SAASA,uBAAuB","ignoreList":[]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["ApiStackOutputService"],"sources":["ApiStackOutputService.ts"],"sourcesContent":["export { ApiStackOutputService } from \"../../services/ApiStackOutputService.js\";\n"],"mappings":"AAAA,SAASA,qBAAqB","ignoreList":[]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["CoreStackOutputService"],"sources":["CoreStackOutputService.ts"],"sourcesContent":["export { CoreStackOutputService } from \"../../services/CoreStackOutputService.js\";\n"],"mappings":"AAAA,SAASA,sBAAsB","ignoreList":[]}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { ApiAfterDeploy, GetProject, UiService } from "@webiny/project/abstractions/index.js";
|
|
2
|
-
import { ApiStackOutputService } from "../../abstractions/index.js";
|
|
3
|
-
/**
|
|
4
|
-
* On every deployment of the API project application, this plugin invokes the data migrations Lambda.
|
|
5
|
-
*/
|
|
6
|
-
declare class ExecuteDataMigrationsImpl implements ApiAfterDeploy.Interface {
|
|
7
|
-
private ui;
|
|
8
|
-
private apiStackOutputService;
|
|
9
|
-
private getProject;
|
|
10
|
-
constructor(ui: UiService.Interface, apiStackOutputService: ApiStackOutputService.Interface, getProject: GetProject.Interface);
|
|
11
|
-
execute(params: ApiAfterDeploy.Params): Promise<void>;
|
|
12
|
-
}
|
|
13
|
-
export declare const ExecuteDataMigrations: typeof ExecuteDataMigrationsImpl & {
|
|
14
|
-
__abstraction: import("@webiny/di").Abstraction<import("@webiny/project/abstractions/index.js").IApiAfterDeploy>;
|
|
15
|
-
};
|
|
16
|
-
export {};
|
|
@@ -1,69 +0,0 @@
|
|
|
1
|
-
import { LambdaClient } from "@webiny/aws-sdk/client-lambda/index.js";
|
|
2
|
-
import { CliMigrationRunReporter, InteractiveCliStatusReporter, LogReporter, MigrationRunner, NonInteractiveCliStatusReporter, VoidStatusReporter } from "@webiny/data-migration/cli/index.js";
|
|
3
|
-
import { ApiAfterDeploy, GetProject, UiService } from "@webiny/project/abstractions/index.js";
|
|
4
|
-
import { ApiStackOutputService } from "../../abstractions/index.js";
|
|
5
|
-
|
|
6
|
-
/**
|
|
7
|
-
* On every deployment of the API project application, this plugin invokes the data migrations Lambda.
|
|
8
|
-
*/
|
|
9
|
-
class ExecuteDataMigrationsImpl {
|
|
10
|
-
constructor(ui, apiStackOutputService, getProject) {
|
|
11
|
-
this.ui = ui;
|
|
12
|
-
this.apiStackOutputService = apiStackOutputService;
|
|
13
|
-
this.getProject = getProject;
|
|
14
|
-
}
|
|
15
|
-
async execute(params) {
|
|
16
|
-
// No need to run migrations if we're doing a preview.
|
|
17
|
-
if (params.preview) {
|
|
18
|
-
return;
|
|
19
|
-
}
|
|
20
|
-
const apiOutput = await this.apiStackOutputService.execute();
|
|
21
|
-
if (!apiOutput) {
|
|
22
|
-
// This should never happen, but just in case...
|
|
23
|
-
throw new Error("Could not retrieve the API stack output while trying to run data migrations.");
|
|
24
|
-
}
|
|
25
|
-
const ui = this.ui;
|
|
26
|
-
ui.info("Executing data migrations AWS Lambda function...");
|
|
27
|
-
const logStreamingEnabled = process.env.WEBINY_MIGRATION_LOG_STREAMING !== "false";
|
|
28
|
-
if (!logStreamingEnabled) {
|
|
29
|
-
ui.warning(["Data migration log streaming is disabled.", "Note that the logs will still be accessible in Amazon CloudWatch.", "Learn more: https://webiny.link/cloudwatch"].join(" "));
|
|
30
|
-
}
|
|
31
|
-
try {
|
|
32
|
-
const lambdaClient = new LambdaClient({
|
|
33
|
-
region: apiOutput.region
|
|
34
|
-
});
|
|
35
|
-
const functionName = apiOutput["migrationLambdaArn"];
|
|
36
|
-
const logReporter = new LogReporter(functionName);
|
|
37
|
-
let statusReporter = new VoidStatusReporter();
|
|
38
|
-
if (params.dataMigrationLogStreaming) {
|
|
39
|
-
const useNonInteractiveReporter = !process.stdout.isTTY || "CI" in process.env;
|
|
40
|
-
statusReporter = useNonInteractiveReporter ? new NonInteractiveCliStatusReporter(logReporter) : new InteractiveCliStatusReporter(logReporter);
|
|
41
|
-
}
|
|
42
|
-
const runner = MigrationRunner.create({
|
|
43
|
-
lambdaClient,
|
|
44
|
-
functionName,
|
|
45
|
-
statusReporter
|
|
46
|
-
});
|
|
47
|
-
const project = this.getProject.execute();
|
|
48
|
-
const result = await runner.runMigration({
|
|
49
|
-
version: process.env.WEBINY_VERSION || project.version
|
|
50
|
-
});
|
|
51
|
-
if (result) {
|
|
52
|
-
const reporter = new CliMigrationRunReporter(logReporter, {
|
|
53
|
-
uiService: this.ui
|
|
54
|
-
});
|
|
55
|
-
await reporter.report(result);
|
|
56
|
-
}
|
|
57
|
-
} catch (e) {
|
|
58
|
-
ui.error(`An error occurred while executing data migrations Lambda function!`);
|
|
59
|
-
ui.text(e);
|
|
60
|
-
throw e;
|
|
61
|
-
}
|
|
62
|
-
}
|
|
63
|
-
}
|
|
64
|
-
export const ExecuteDataMigrations = ApiAfterDeploy.createImplementation({
|
|
65
|
-
implementation: ExecuteDataMigrationsImpl,
|
|
66
|
-
dependencies: [UiService, ApiStackOutputService, GetProject]
|
|
67
|
-
});
|
|
68
|
-
|
|
69
|
-
//# sourceMappingURL=ExecuteDataMigrations.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["LambdaClient","CliMigrationRunReporter","InteractiveCliStatusReporter","LogReporter","MigrationRunner","NonInteractiveCliStatusReporter","VoidStatusReporter","ApiAfterDeploy","GetProject","UiService","ApiStackOutputService","ExecuteDataMigrationsImpl","constructor","ui","apiStackOutputService","getProject","execute","params","preview","apiOutput","Error","info","logStreamingEnabled","process","env","WEBINY_MIGRATION_LOG_STREAMING","warning","join","lambdaClient","region","functionName","logReporter","statusReporter","dataMigrationLogStreaming","useNonInteractiveReporter","stdout","isTTY","runner","create","project","result","runMigration","version","WEBINY_VERSION","reporter","uiService","report","e","error","text","ExecuteDataMigrations","createImplementation","implementation","dependencies"],"sources":["ExecuteDataMigrations.ts"],"sourcesContent":["import { LambdaClient } from \"@webiny/aws-sdk/client-lambda/index.js\";\nimport type { MigrationStatusReporter } from \"@webiny/data-migration/cli/index.js\";\nimport {\n CliMigrationRunReporter,\n InteractiveCliStatusReporter,\n LogReporter,\n MigrationRunner,\n NonInteractiveCliStatusReporter,\n VoidStatusReporter\n} from \"@webiny/data-migration/cli/index.js\";\nimport { ApiAfterDeploy, GetProject, UiService } from \"@webiny/project/abstractions/index.js\";\nimport { IDefaultStackOutput } from \"~/pulumi/types.js\";\nimport { ApiStackOutputService } from \"~/abstractions/index.js\";\n\n/**\n * On every deployment of the API project application, this plugin invokes the data migrations Lambda.\n */\nclass ExecuteDataMigrationsImpl implements ApiAfterDeploy.Interface {\n constructor(\n private ui: UiService.Interface,\n private apiStackOutputService: ApiStackOutputService.Interface,\n private getProject: GetProject.Interface\n ) {}\n\n async execute(params: ApiAfterDeploy.Params) {\n // No need to run migrations if we're doing a preview.\n if (params.preview) {\n return;\n }\n\n const apiOutput = await this.apiStackOutputService.execute<IDefaultStackOutput>();\n if (!apiOutput) {\n // This should never happen, but just in case...\n throw new Error(\n \"Could not retrieve the API stack output while trying to run data migrations.\"\n );\n }\n\n const ui = this.ui;\n ui.info(\"Executing data migrations AWS Lambda function...\");\n\n const logStreamingEnabled = process.env.WEBINY_MIGRATION_LOG_STREAMING !== \"false\";\n if (!logStreamingEnabled) {\n ui.warning(\n [\n \"Data migration log streaming is disabled.\",\n \"Note that the logs will still be accessible in Amazon CloudWatch.\",\n \"Learn more: https://webiny.link/cloudwatch\"\n ].join(\" \")\n );\n }\n\n try {\n const lambdaClient = new LambdaClient({\n region: apiOutput.region\n });\n\n const functionName = apiOutput[\"migrationLambdaArn\"];\n\n const logReporter = new LogReporter(functionName);\n\n let statusReporter: MigrationStatusReporter = new VoidStatusReporter();\n if (params.dataMigrationLogStreaming) {\n const useNonInteractiveReporter = !process.stdout.isTTY || \"CI\" in process.env;\n statusReporter = useNonInteractiveReporter\n ? new NonInteractiveCliStatusReporter(logReporter)\n : new InteractiveCliStatusReporter(logReporter);\n }\n\n const runner = MigrationRunner.create({\n lambdaClient,\n functionName,\n statusReporter\n });\n\n const project = this.getProject.execute();\n\n const result = await runner.runMigration({\n version: process.env.WEBINY_VERSION || project.version\n });\n\n if (result) {\n const reporter = new CliMigrationRunReporter(logReporter, {\n uiService: this.ui\n });\n await reporter.report(result);\n }\n } catch (e) {\n ui.error(`An error occurred while executing data migrations Lambda function!`);\n ui.text(e);\n throw e;\n }\n }\n}\n\nexport const ExecuteDataMigrations = ApiAfterDeploy.createImplementation({\n implementation: ExecuteDataMigrationsImpl,\n dependencies: [UiService, ApiStackOutputService, GetProject]\n});\n"],"mappings":"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","ignoreList":[]}
|
package/extensions/index.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":[],"sources":["index.ts"],"sourcesContent":["export * from \"./OpenSearch.js\";\nexport * from \"./AwsDefaultRegion.js\";\nexport * from \"./ProjectAws/AutoInstall.js\";\nexport * from \"./ProjectAws.js\";\n"],"mappings":"AAAA;AACA;AACA;AACA","ignoreList":[]}
|
package/features/index.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":[],"sources":["index.ts"],"sourcesContent":["export * from \"./InvokeLambdaFunction.js\";\nexport * from \"./ApiGqlClient.js\";\n"],"mappings":"AAAA;AACA","ignoreList":[]}
|
package/index.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":[],"sources":["index.ts"],"sourcesContent":["export * from \"./api.js\";\nexport * from \"./admin.js\";\nexport * from \"./cli.js\";\nexport * from \"./infra.js\";\nexport * from \"./project.js\";\nexport * from \"./security.js\";\nexport * from \"./abstractions/index.js\";\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA","ignoreList":[]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":[],"sources":["index.ts"],"sourcesContent":["export * from \"./createAdminPulumiApp.js\";\n"],"mappings":"AAAA","ignoreList":[]}
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import type { PulumiAppModule } from "@webiny/pulumi";
|
|
2
|
-
export type ApiMigration = PulumiAppModule<typeof ApiMigration>;
|
|
3
|
-
export declare const ApiMigration: import("@webiny/pulumi").PulumiAppModuleDefinition<{
|
|
4
|
-
function: import("@webiny/pulumi").PulumiAppResource<typeof import("@pulumi/aws/lambda/function.js").Function>;
|
|
5
|
-
}, void>;
|
|
@@ -1,83 +0,0 @@
|
|
|
1
|
-
import path from "path";
|
|
2
|
-
import * as pulumi from "@pulumi/pulumi";
|
|
3
|
-
import * as aws from "@pulumi/aws";
|
|
4
|
-
import { createAppModule } from "@webiny/pulumi";
|
|
5
|
-
import { createLambdaRole, getCommonLambdaEnvVariables } from "../lambdaUtils.js";
|
|
6
|
-
import { CoreOutput, VpcConfig } from "../common/index.js";
|
|
7
|
-
import { ApiBackgroundTask, ApiGraphql } from "../index.js";
|
|
8
|
-
import { LAMBDA_RUNTIME } from "../../constants.js";
|
|
9
|
-
import { getEnvVariableAwsRegion } from "../../env/awsRegion.js";
|
|
10
|
-
export const ApiMigration = createAppModule({
|
|
11
|
-
name: "ApiMigration",
|
|
12
|
-
config(app) {
|
|
13
|
-
const core = app.getModule(CoreOutput);
|
|
14
|
-
const graphql = app.getModule(ApiGraphql);
|
|
15
|
-
const backgroundTask = app.getModule(ApiBackgroundTask);
|
|
16
|
-
const role = createLambdaRole(app, {
|
|
17
|
-
name: "migration-lambda-role",
|
|
18
|
-
policy: graphql.policy.output
|
|
19
|
-
});
|
|
20
|
-
const migration = app.addResource(aws.lambda.Function, {
|
|
21
|
-
name: "data-migration",
|
|
22
|
-
config: {
|
|
23
|
-
handler: "handler.handler",
|
|
24
|
-
timeout: 900,
|
|
25
|
-
runtime: LAMBDA_RUNTIME,
|
|
26
|
-
memorySize: 3008,
|
|
27
|
-
role: role.output.arn,
|
|
28
|
-
description: "Performs data migrations.",
|
|
29
|
-
code: new pulumi.asset.AssetArchive({
|
|
30
|
-
".": new pulumi.asset.FileArchive(path.join(app.paths.workspace, "migration/build"))
|
|
31
|
-
}),
|
|
32
|
-
environment: {
|
|
33
|
-
variables: getCommonLambdaEnvVariables().apply(value => ({
|
|
34
|
-
...value,
|
|
35
|
-
COGNITO_REGION: getEnvVariableAwsRegion(),
|
|
36
|
-
COGNITO_USER_POOL_ID: core.cognitoUserPoolId,
|
|
37
|
-
DB_TABLE: core.primaryDynamodbTableName,
|
|
38
|
-
DB_TABLE_LOG: core.logDynamodbTableName,
|
|
39
|
-
DB_TABLE_AUDIT_LOGS: core.auditLogsDynamodbTableName,
|
|
40
|
-
DB_TABLE_OPENSEARCH: core.opensearchDynamodbTableName,
|
|
41
|
-
OPENSEARCH_ENDPOINT: core.opensearchDomainEndpoint,
|
|
42
|
-
OPENSEARCH_INDEX_PREFIX: process.env.OPENSEARCH_INDEX_PREFIX,
|
|
43
|
-
OPENSEARCH_SHARED_INDEXES: process.env.OPENSEARCH_SHARED_INDEXES,
|
|
44
|
-
S3_BUCKET: core.fileManagerBucketId
|
|
45
|
-
}))
|
|
46
|
-
},
|
|
47
|
-
vpcConfig: app.getModule(VpcConfig).functionVpcConfig,
|
|
48
|
-
loggingConfig: {
|
|
49
|
-
logFormat: "JSON"
|
|
50
|
-
}
|
|
51
|
-
}
|
|
52
|
-
});
|
|
53
|
-
|
|
54
|
-
// Add IAM policy to allow states:StartExecution for the background task Step Function
|
|
55
|
-
const stepFunctionPolicy = app.addResource(aws.iam.Policy, {
|
|
56
|
-
name: "migration-lambda-step-function-policy",
|
|
57
|
-
config: {
|
|
58
|
-
policy: {
|
|
59
|
-
Version: "2012-10-17",
|
|
60
|
-
Statement: [{
|
|
61
|
-
Effect: "Allow",
|
|
62
|
-
Action: ["states:StartExecution"],
|
|
63
|
-
Resource: [pulumi.interpolate`${backgroundTask.stepFunction.output.arn}`, pulumi.interpolate`${backgroundTask.stepFunction.output.arn}/*`]
|
|
64
|
-
}]
|
|
65
|
-
}
|
|
66
|
-
}
|
|
67
|
-
});
|
|
68
|
-
|
|
69
|
-
// Attach policy to the Lambda role
|
|
70
|
-
app.addResource(aws.iam.RolePolicyAttachment, {
|
|
71
|
-
name: "migration-lambda-attach-step-function-policy",
|
|
72
|
-
config: {
|
|
73
|
-
role: role.output.name,
|
|
74
|
-
policyArn: stepFunctionPolicy.output.arn
|
|
75
|
-
}
|
|
76
|
-
});
|
|
77
|
-
return {
|
|
78
|
-
function: migration
|
|
79
|
-
};
|
|
80
|
-
}
|
|
81
|
-
});
|
|
82
|
-
|
|
83
|
-
//# sourceMappingURL=ApiMigration.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["path","pulumi","aws","createAppModule","createLambdaRole","getCommonLambdaEnvVariables","CoreOutput","VpcConfig","ApiBackgroundTask","ApiGraphql","LAMBDA_RUNTIME","getEnvVariableAwsRegion","ApiMigration","name","config","app","core","getModule","graphql","backgroundTask","role","policy","output","migration","addResource","lambda","Function","handler","timeout","runtime","memorySize","arn","description","code","asset","AssetArchive","FileArchive","join","paths","workspace","environment","variables","apply","value","COGNITO_REGION","COGNITO_USER_POOL_ID","cognitoUserPoolId","DB_TABLE","primaryDynamodbTableName","DB_TABLE_LOG","logDynamodbTableName","DB_TABLE_AUDIT_LOGS","auditLogsDynamodbTableName","DB_TABLE_OPENSEARCH","opensearchDynamodbTableName","OPENSEARCH_ENDPOINT","opensearchDomainEndpoint","OPENSEARCH_INDEX_PREFIX","process","env","OPENSEARCH_SHARED_INDEXES","S3_BUCKET","fileManagerBucketId","vpcConfig","functionVpcConfig","loggingConfig","logFormat","stepFunctionPolicy","iam","Policy","Version","Statement","Effect","Action","Resource","interpolate","stepFunction","RolePolicyAttachment","policyArn","function"],"sources":["ApiMigration.ts"],"sourcesContent":["import path from \"path\";\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as aws from \"@pulumi/aws\";\nimport type { PulumiApp, PulumiAppModule } from \"@webiny/pulumi\";\nimport { createAppModule } from \"@webiny/pulumi\";\nimport { createLambdaRole, getCommonLambdaEnvVariables } from \"../lambdaUtils.js\";\nimport { CoreOutput, VpcConfig } from \"../common/index.js\";\nimport { ApiBackgroundTask, ApiGraphql } from \"~/pulumi/apps/index.js\";\nimport { LAMBDA_RUNTIME } from \"~/pulumi/constants.js\";\nimport { getEnvVariableAwsRegion } from \"~/pulumi/env/awsRegion.js\";\n\nexport type ApiMigration = PulumiAppModule<typeof ApiMigration>;\n\nexport const ApiMigration = createAppModule({\n name: \"ApiMigration\",\n config(app: PulumiApp) {\n const core = app.getModule(CoreOutput);\n const graphql = app.getModule(ApiGraphql);\n const backgroundTask = app.getModule(ApiBackgroundTask);\n\n const role = createLambdaRole(app, {\n name: \"migration-lambda-role\",\n policy: graphql.policy.output\n });\n\n const migration = app.addResource(aws.lambda.Function, {\n name: \"data-migration\",\n config: {\n handler: \"handler.handler\",\n timeout: 900,\n runtime: LAMBDA_RUNTIME,\n memorySize: 3008,\n role: role.output.arn,\n description: \"Performs data migrations.\",\n code: new pulumi.asset.AssetArchive({\n \".\": new pulumi.asset.FileArchive(\n path.join(app.paths.workspace, \"migration/build\")\n )\n }),\n environment: {\n variables: getCommonLambdaEnvVariables().apply(value => ({\n ...value,\n COGNITO_REGION: getEnvVariableAwsRegion(),\n COGNITO_USER_POOL_ID: core.cognitoUserPoolId,\n DB_TABLE: core.primaryDynamodbTableName,\n DB_TABLE_LOG: core.logDynamodbTableName,\n DB_TABLE_AUDIT_LOGS: core.auditLogsDynamodbTableName,\n DB_TABLE_OPENSEARCH: core.opensearchDynamodbTableName,\n OPENSEARCH_ENDPOINT: core.opensearchDomainEndpoint,\n OPENSEARCH_INDEX_PREFIX: process.env.OPENSEARCH_INDEX_PREFIX,\n OPENSEARCH_SHARED_INDEXES: process.env.OPENSEARCH_SHARED_INDEXES,\n S3_BUCKET: core.fileManagerBucketId\n })) as Record<string, any>\n },\n vpcConfig: app.getModule(VpcConfig).functionVpcConfig,\n loggingConfig: {\n logFormat: \"JSON\"\n }\n }\n });\n\n // Add IAM policy to allow states:StartExecution for the background task Step Function\n const stepFunctionPolicy = app.addResource(aws.iam.Policy, {\n name: \"migration-lambda-step-function-policy\",\n config: {\n policy: {\n Version: \"2012-10-17\",\n Statement: [\n {\n Effect: \"Allow\",\n Action: [\"states:StartExecution\"],\n Resource: [\n pulumi.interpolate`${backgroundTask.stepFunction.output.arn}`,\n pulumi.interpolate`${backgroundTask.stepFunction.output.arn}/*`\n ]\n }\n ]\n }\n }\n });\n\n // Attach policy to the Lambda role\n app.addResource(aws.iam.RolePolicyAttachment, {\n name: \"migration-lambda-attach-step-function-policy\",\n config: {\n role: role.output.name,\n policyArn: stepFunctionPolicy.output.arn\n }\n });\n\n return {\n function: migration\n };\n }\n});\n"],"mappings":"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","ignoreList":[]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":[],"sources":["index.ts"],"sourcesContent":["export * from \"./ApiBackgroundTask.js\";\nexport * from \"./ApiCloudfront.js\";\nexport * from \"./ApiFileManager.js\";\nexport * from \"./ApiGateway.js\";\nexport * from \"./ApiGraphql.js\";\nexport * from \"./ApiMigration.js\";\nexport * from \"./createApiPulumiApp.js\";\nexport * from \"./ApiOutput.js\";\nexport * from \"./ApiWebsocket.js\";\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA","ignoreList":[]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":[],"sources":["types.ts"],"sourcesContent":["import type { IStackOutput } from \"@webiny/project\";\n\nexport type GenericRecord<K extends PropertyKey = PropertyKey, V = any> = Record<K, V>;\n\nexport type NonEmptyArray<T> = [T, ...T[]];\n\nexport interface IDeploymentDomain {\n /**\n * A name of the deployment (e.g. \"green\" or \"blue\").\n */\n name: string;\n env: string;\n variant: string | undefined;\n domains: {\n api: string;\n admin: string;\n };\n}\n\nexport type IDeploymentsDomains = [IDeploymentDomain, IDeploymentDomain];\n\nexport interface IBlueGreenDeployment {\n /**\n * Name by this deployment will be accessible in the Pulumi program.\n */\n name: string;\n env: string;\n variant: string | undefined;\n}\n\nexport interface IAttachedDomainsTypes {\n api: NonEmptyArray<string>;\n admin: NonEmptyArray<string>;\n}\n\nexport interface IAttachedDomains {\n acmCertificateArn: string;\n sslSupportMethod?: string;\n /**\n * We need to allow system to be deployed without any domains for start.\n * User can attach domains later.\n */\n domains?: IAttachedDomainsTypes;\n}\n\nexport interface IAttachDomainsCallableParams {\n env: string;\n}\n\nexport interface IAttachDomainsCallable {\n (params: IAttachDomainsCallableParams): IAttachedDomains;\n}\n\nexport type IAttachedDomainKey = keyof IAttachedDomainsTypes;\n\nexport interface IResolvedDomain {\n /**\n * Environment and variant of the deployment.\n */\n env: string;\n variant: string | undefined;\n /**\n * Name of the deployment (e.g. \"green\" or \"blue\").\n */\n name: string;\n /**\n * Type of the domain (e.g. \"api\", \"admin\").\n */\n type: IAttachedDomainKey;\n /**\n * List of domains that will be used as source and transferred to the target domain.\n */\n sources: NonEmptyArray<string>;\n /**\n * The target CloudFront domain of the deployment.\n */\n target: string;\n}\n\nexport type IResolvedDomains = IResolvedDomain[];\n\nexport interface IBlueGreenStackOutput extends IStackOutput {\n distributionDomain: string;\n distributionUrl: string;\n /**\n * TODO fix later\n */\n // @ts-expect-error\n environments?: IResolvedDomains;\n domains?: string[];\n}\n"],"mappings":"","ignoreList":[]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":[],"sources":["index.ts"],"sourcesContent":["export * from \"./CoreOutput.js\";\nexport * from \"./VpcConfig.js\";\n"],"mappings":"AAAA;AACA","ignoreList":[]}
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { type PulumiAppModule } from "@webiny/pulumi";
|
|
2
|
-
export type LogDynamo = PulumiAppModule<typeof LogDynamo>;
|
|
3
|
-
export declare const LogDynamo: import("@webiny/pulumi").PulumiAppModuleDefinition<import("@webiny/pulumi").PulumiAppResource<typeof import("@pulumi/aws/dynamodb/table").Table>, {
|
|
4
|
-
protect: boolean;
|
|
5
|
-
}>;
|
|
@@ -1,94 +0,0 @@
|
|
|
1
|
-
import * as aws from "@pulumi/aws";
|
|
2
|
-
import { createAppModule } from "@webiny/pulumi";
|
|
3
|
-
export const LogDynamo = createAppModule({
|
|
4
|
-
name: "DynamoDbLog",
|
|
5
|
-
config(app, params) {
|
|
6
|
-
return app.addResource(aws.dynamodb.Table, {
|
|
7
|
-
name: "webiny-log",
|
|
8
|
-
config: {
|
|
9
|
-
attributes: [{
|
|
10
|
-
name: "PK",
|
|
11
|
-
type: "S"
|
|
12
|
-
}, {
|
|
13
|
-
name: "SK",
|
|
14
|
-
type: "S"
|
|
15
|
-
}, {
|
|
16
|
-
name: "GSI_TENANT",
|
|
17
|
-
type: "S"
|
|
18
|
-
}, {
|
|
19
|
-
name: "GSI1_PK",
|
|
20
|
-
type: "S"
|
|
21
|
-
}, {
|
|
22
|
-
name: "GSI1_SK",
|
|
23
|
-
type: "S"
|
|
24
|
-
}, {
|
|
25
|
-
name: "GSI2_PK",
|
|
26
|
-
type: "S"
|
|
27
|
-
}, {
|
|
28
|
-
name: "GSI2_SK",
|
|
29
|
-
type: "S"
|
|
30
|
-
}, {
|
|
31
|
-
name: "GSI3_PK",
|
|
32
|
-
type: "S"
|
|
33
|
-
}, {
|
|
34
|
-
name: "GSI3_SK",
|
|
35
|
-
type: "S"
|
|
36
|
-
}, {
|
|
37
|
-
name: "GSI4_PK",
|
|
38
|
-
type: "S"
|
|
39
|
-
}, {
|
|
40
|
-
name: "GSI4_SK",
|
|
41
|
-
type: "S"
|
|
42
|
-
}, {
|
|
43
|
-
name: "GSI5_PK",
|
|
44
|
-
type: "S"
|
|
45
|
-
}, {
|
|
46
|
-
name: "GSI5_SK",
|
|
47
|
-
type: "S"
|
|
48
|
-
}],
|
|
49
|
-
billingMode: "PAY_PER_REQUEST",
|
|
50
|
-
hashKey: "PK",
|
|
51
|
-
rangeKey: "SK",
|
|
52
|
-
globalSecondaryIndexes: [{
|
|
53
|
-
name: "GSI_TENANT",
|
|
54
|
-
hashKey: "GSI_TENANT",
|
|
55
|
-
projectionType: "KEYS_ONLY"
|
|
56
|
-
}, {
|
|
57
|
-
name: "GSI1",
|
|
58
|
-
hashKey: "GSI1_PK",
|
|
59
|
-
rangeKey: "GSI1_SK",
|
|
60
|
-
projectionType: "ALL"
|
|
61
|
-
}, {
|
|
62
|
-
name: "GSI2",
|
|
63
|
-
hashKey: "GSI2_PK",
|
|
64
|
-
rangeKey: "GSI2_SK",
|
|
65
|
-
projectionType: "ALL"
|
|
66
|
-
}, {
|
|
67
|
-
name: "GSI3",
|
|
68
|
-
hashKey: "GSI3_PK",
|
|
69
|
-
rangeKey: "GSI3_SK",
|
|
70
|
-
projectionType: "ALL"
|
|
71
|
-
}, {
|
|
72
|
-
name: "GSI4",
|
|
73
|
-
hashKey: "GSI4_PK",
|
|
74
|
-
rangeKey: "GSI4_SK",
|
|
75
|
-
projectionType: "ALL"
|
|
76
|
-
}, {
|
|
77
|
-
name: "GSI5",
|
|
78
|
-
hashKey: "GSI5_PK",
|
|
79
|
-
rangeKey: "GSI5_SK",
|
|
80
|
-
projectionType: "ALL"
|
|
81
|
-
}],
|
|
82
|
-
ttl: {
|
|
83
|
-
attributeName: "expiresAt",
|
|
84
|
-
enabled: true
|
|
85
|
-
}
|
|
86
|
-
},
|
|
87
|
-
opts: {
|
|
88
|
-
protect: params.protect
|
|
89
|
-
}
|
|
90
|
-
});
|
|
91
|
-
}
|
|
92
|
-
});
|
|
93
|
-
|
|
94
|
-
//# sourceMappingURL=LogDynamo.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["aws","createAppModule","LogDynamo","name","config","app","params","addResource","dynamodb","Table","attributes","type","billingMode","hashKey","rangeKey","globalSecondaryIndexes","projectionType","ttl","attributeName","enabled","opts","protect"],"sources":["LogDynamo.ts"],"sourcesContent":["import * as aws from \"@pulumi/aws\";\nimport { createAppModule, type PulumiApp, type PulumiAppModule } from \"@webiny/pulumi\";\n\nexport type LogDynamo = PulumiAppModule<typeof LogDynamo>;\n\nexport const LogDynamo = createAppModule({\n name: \"DynamoDbLog\",\n config(app: PulumiApp, params: { protect: boolean }) {\n return app.addResource(aws.dynamodb.Table, {\n name: \"webiny-log\",\n config: {\n attributes: [\n { name: \"PK\", type: \"S\" },\n { name: \"SK\", type: \"S\" },\n { name: \"GSI_TENANT\", type: \"S\" },\n { name: \"GSI1_PK\", type: \"S\" },\n { name: \"GSI1_SK\", type: \"S\" },\n { name: \"GSI2_PK\", type: \"S\" },\n { name: \"GSI2_SK\", type: \"S\" },\n { name: \"GSI3_PK\", type: \"S\" },\n { name: \"GSI3_SK\", type: \"S\" },\n { name: \"GSI4_PK\", type: \"S\" },\n { name: \"GSI4_SK\", type: \"S\" },\n { name: \"GSI5_PK\", type: \"S\" },\n { name: \"GSI5_SK\", type: \"S\" }\n ],\n billingMode: \"PAY_PER_REQUEST\",\n hashKey: \"PK\",\n rangeKey: \"SK\",\n globalSecondaryIndexes: [\n {\n name: \"GSI_TENANT\",\n hashKey: \"GSI_TENANT\",\n projectionType: \"KEYS_ONLY\"\n },\n {\n name: \"GSI1\",\n hashKey: \"GSI1_PK\",\n rangeKey: \"GSI1_SK\",\n projectionType: \"ALL\"\n },\n {\n name: \"GSI2\",\n hashKey: \"GSI2_PK\",\n rangeKey: \"GSI2_SK\",\n projectionType: \"ALL\"\n },\n {\n name: \"GSI3\",\n hashKey: \"GSI3_PK\",\n rangeKey: \"GSI3_SK\",\n projectionType: \"ALL\"\n },\n {\n name: \"GSI4\",\n hashKey: \"GSI4_PK\",\n rangeKey: \"GSI4_SK\",\n projectionType: \"ALL\"\n },\n {\n name: \"GSI5\",\n hashKey: \"GSI5_PK\",\n rangeKey: \"GSI5_SK\",\n projectionType: \"ALL\"\n }\n ],\n ttl: {\n attributeName: \"expiresAt\",\n enabled: true\n }\n },\n opts: {\n protect: params.protect\n }\n });\n }\n});\n"],"mappings":"AAAA,OAAO,KAAKA,GAAG,MAAM,aAAa;AAClC,SAASC,eAAe,QAA8C,gBAAgB;AAItF,OAAO,MAAMC,SAAS,GAAGD,eAAe,CAAC;EACrCE,IAAI,EAAE,aAAa;EACnBC,MAAMA,CAACC,GAAc,EAAEC,MAA4B,EAAE;IACjD,OAAOD,GAAG,CAACE,WAAW,CAACP,GAAG,CAACQ,QAAQ,CAACC,KAAK,EAAE;MACvCN,IAAI,EAAE,YAAY;MAClBC,MAAM,EAAE;QACJM,UAAU,EAAE,CACR;UAAEP,IAAI,EAAE,IAAI;UAAEQ,IAAI,EAAE;QAAI,CAAC,EACzB;UAAER,IAAI,EAAE,IAAI;UAAEQ,IAAI,EAAE;QAAI,CAAC,EACzB;UAAER,IAAI,EAAE,YAAY;UAAEQ,IAAI,EAAE;QAAI,CAAC,EACjC;UAAER,IAAI,EAAE,SAAS;UAAEQ,IAAI,EAAE;QAAI,CAAC,EAC9B;UAAER,IAAI,EAAE,SAAS;UAAEQ,IAAI,EAAE;QAAI,CAAC,EAC9B;UAAER,IAAI,EAAE,SAAS;UAAEQ,IAAI,EAAE;QAAI,CAAC,EAC9B;UAAER,IAAI,EAAE,SAAS;UAAEQ,IAAI,EAAE;QAAI,CAAC,EAC9B;UAAER,IAAI,EAAE,SAAS;UAAEQ,IAAI,EAAE;QAAI,CAAC,EAC9B;UAAER,IAAI,EAAE,SAAS;UAAEQ,IAAI,EAAE;QAAI,CAAC,EAC9B;UAAER,IAAI,EAAE,SAAS;UAAEQ,IAAI,EAAE;QAAI,CAAC,EAC9B;UAAER,IAAI,EAAE,SAAS;UAAEQ,IAAI,EAAE;QAAI,CAAC,EAC9B;UAAER,IAAI,EAAE,SAAS;UAAEQ,IAAI,EAAE;QAAI,CAAC,EAC9B;UAAER,IAAI,EAAE,SAAS;UAAEQ,IAAI,EAAE;QAAI,CAAC,CACjC;QACDC,WAAW,EAAE,iBAAiB;QAC9BC,OAAO,EAAE,IAAI;QACbC,QAAQ,EAAE,IAAI;QACdC,sBAAsB,EAAE,CACpB;UACIZ,IAAI,EAAE,YAAY;UAClBU,OAAO,EAAE,YAAY;UACrBG,cAAc,EAAE;QACpB,CAAC,EACD;UACIb,IAAI,EAAE,MAAM;UACZU,OAAO,EAAE,SAAS;UAClBC,QAAQ,EAAE,SAAS;UACnBE,cAAc,EAAE;QACpB,CAAC,EACD;UACIb,IAAI,EAAE,MAAM;UACZU,OAAO,EAAE,SAAS;UAClBC,QAAQ,EAAE,SAAS;UACnBE,cAAc,EAAE;QACpB,CAAC,EACD;UACIb,IAAI,EAAE,MAAM;UACZU,OAAO,EAAE,SAAS;UAClBC,QAAQ,EAAE,SAAS;UACnBE,cAAc,EAAE;QACpB,CAAC,EACD;UACIb,IAAI,EAAE,MAAM;UACZU,OAAO,EAAE,SAAS;UAClBC,QAAQ,EAAE,SAAS;UACnBE,cAAc,EAAE;QACpB,CAAC,EACD;UACIb,IAAI,EAAE,MAAM;UACZU,OAAO,EAAE,SAAS;UAClBC,QAAQ,EAAE,SAAS;UACnBE,cAAc,EAAE;QACpB,CAAC,CACJ;QACDC,GAAG,EAAE;UACDC,aAAa,EAAE,WAAW;UAC1BC,OAAO,EAAE;QACb;MACJ,CAAC;MACDC,IAAI,EAAE;QACFC,OAAO,EAAEf,MAAM,CAACe;MACpB;IACJ,CAAC,CAAC;EACN;AACJ,CAAC,CAAC","ignoreList":[]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":[],"sources":["index.ts"],"sourcesContent":["export * from \"./configure.js\";\n"],"mappings":"AAAA","ignoreList":[]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":[],"sources":["index.ts"],"sourcesContent":["export * from \"./CoreCognito.js\";\nexport * from \"./CoreDynamo.js\";\nexport * from \"./CoreEventBus.js\";\nexport * from \"./CoreFileManager.js\";\nexport * from \"./CoreVpc.js\";\nexport * from \"./cognitoIdentityProviders/index.js\";\nexport * from \"./createCorePulumiApp.js\";\nexport * from \"./CoreAuditLogsDynamo.js\";\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA","ignoreList":[]}
|
package/pulumi/apps/index.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":[],"sources":["index.ts"],"sourcesContent":["export * from \"./core/index.js\";\nexport * from \"./common/index.js\";\nexport * from \"./api/index.js\";\nexport * from \"./react/index.js\";\nexport * from \"./admin/index.js\";\nexport type { CustomDomainParams } from \"./customDomain.js\";\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AAAiC","ignoreList":[]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":[],"sources":["index.ts"],"sourcesContent":["export * from \"./createReactPulumiApp.js\";\n"],"mappings":"AAAA","ignoreList":[]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":[],"sources":["types.ts"],"sourcesContent":["import type * as pulumi from \"@pulumi/pulumi\";\nimport type { IStackOutput } from \"@webiny/project\";\n\nexport type PulumiOutput<T> = {\n [K in keyof T]: pulumi.Output<T[K]>;\n};\n\nexport interface IGetSyncSystemOutputResult extends IStackOutput {\n /**\n * createRegionProvider\n */\n region: string;\n /**\n * SyncSystemSQS\n */\n sqsUrl: string;\n sqsArn: string;\n sqsName: string;\n /**\n * DynamoDb\n */\n dynamoDbArn: string;\n dynamoDbName: string;\n dynamoDbHashKey: string;\n dynamoDbRangeKey: string;\n /**\n * SyncSystemResolverLambda\n */\n resolverLambdaArn: string;\n resolverLambdaName: string;\n resolverLambdaRoleArn: string;\n resolverLambdaRoleName: string;\n resolverLambdaRoleId: string;\n resolverLambdaPolicyArn: string;\n resolverLambdaPolicyName: string;\n resolverLambdaPolicyId: string;\n resolverLambdaEventSourceMappingId: string;\n resolverLambdaEventSourceMappingArn: string;\n resolverLambdaEventSourceMappingEventSourceArn: string;\n /**\n * SyncSystemWorkerLambda\n */\n workerLambdaArn: string;\n workerLambdaName: string;\n workerLambdaRoleArn: string;\n workerLambdaRoleName: string;\n /**\n * SyncSystemEventBus\n */\n eventBusArn: string;\n eventBusName: string;\n eventBusRuleArn: string;\n eventBusRuleName: string;\n eventBusTargetArn: string;\n eventBusPolicyId: string;\n eventBusPolicyUrn: string;\n eventBusPolicyQueueUrl: string;\n}\n"],"mappings":"","ignoreList":[]}
|
package/pulumi/index.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":[],"sources":["index.ts"],"sourcesContent":["export * from \"./apps/index.js\";\nexport * from \"./utils/index.js\";\nexport * from \"./constants.js\";\n"],"mappings":"AAAA;AACA;AACA","ignoreList":[]}
|
package/pulumi/types.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":[],"sources":["types.ts"],"sourcesContent":["import { type IStackOutput } from \"@webiny/project\";\n\n// TODO: split into this per-app stack outputs.\nexport interface IDefaultStackOutput extends IStackOutput {\n deploymentId: string;\n region: string;\n dynamoDbTable: string;\n migrationLambdaArn: string;\n iotAuthorizerName: string;\n apiDomain: string;\n apiUrl: string;\n graphqlLambdaRole: string;\n graphqlLambdaRoleName: string;\n fileManagerManageLambdaArn: string;\n fileManagerManageLambdaRole: string;\n fileManagerManageLambdaRoleName: string;\n cognitoUserPoolArn: string;\n cognitoAppClientId: string;\n cognitoUserPoolId: string;\n cognitoUserPoolPasswordPolicy: string;\n websocketApiUrl: string;\n fileManagerBucketId: string;\n fileManagerBucketArn: string;\n primaryDynamodbTableArn: string;\n primaryDynamodbTableName: string;\n primaryDynamodbTableHashKey: string;\n primaryDynamodbTableRangeKey: string;\n logDynamodbTableArn: string;\n logDynamodbTableName: string;\n logDynamodbTableHashKey: string;\n logDynamodbTableRangeKey: string;\n eventBusName: string;\n eventBusArn: string;\n vpcPublicSubnetIds: string[] | undefined;\n vpcPrivateSubnetIds: string[] | undefined;\n vpcSecurityGroupIds: string[] | undefined;\n opensearchDomainArn: string | undefined;\n opensearchDomainEndpoint: string | undefined;\n opensearchDynamodbTableHashKey: string;\n opensearchDynamodbTableRangeKey: string;\n opensearchDynamodbTableArn: string | undefined;\n opensearchDynamodbTableName: string | undefined;\n appStorage: string;\n appDomain?: string;\n deliveryDomain?: string;\n}\n"],"mappings":"","ignoreList":[]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["withCommonLambdaEnvVariables","getCommonLambdaEnvVariables","withServiceManifest"],"sources":["index.ts"],"sourcesContent":["export * from \"./tagResources.js\";\nexport * from \"./addDomainsUrlsOutputs.js\";\nexport * from \"./uploadFolderToS3.js\";\nexport { withCommonLambdaEnvVariables, getCommonLambdaEnvVariables } from \"./lambdaEnvVariables.js\";\nexport { withServiceManifest } from \"./withServiceManifest.js\";\n"],"mappings":"AAAA;AACA;AACA;AACA,SAASA,4BAA4B,EAAEC,2BAA2B;AAClE,SAASC,mBAAmB","ignoreList":[]}
|