├── .gitignore ├── README.md ├── cdk-deployer ├── build.gradle ├── lambda │ ├── bucketStack.js │ ├── cdk.json │ ├── cdkStack.js │ ├── cdkStackDeployer.js │ ├── function.zip │ ├── index.js │ ├── pack.sh │ ├── package-lock.json │ ├── package.json │ ├── utils │ │ └── empty-bucket.js │ └── webpack.config.js └── terraform │ ├── prod │ └── main.tf │ ├── remote-state │ └── main.tf │ └── resources │ ├── main.tf │ ├── modules │ └── lambda │ │ ├── .terraform │ │ └── modules │ │ │ └── modules.json │ │ ├── main.tf │ │ ├── outputs.tf │ │ └── variables.tf │ ├── res │ └── deployer_lambda_policy.tpl │ └── variables.tf ├── cdk-lambda-layer ├── build.gradle ├── layer.zip ├── pack.sh └── package.json ├── gradle.properties ├── gradle └── wrapper │ ├── gradle-wrapper.jar │ └── gradle-wrapper.properties ├── gradlew ├── gradlew.bat ├── intellij-java-google-style.xml ├── settings.gradle └── terraform-utils ├── deploy.sh └── modules └── service_prefixed_lambda_role ├── lambda-assume-role-policy.tpl ├── main.tf ├── outputs.tf └── variables.tf /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vgulkevic/cdk_layer_in_lambda/HEAD/.gitignore -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vgulkevic/cdk_layer_in_lambda/HEAD/README.md -------------------------------------------------------------------------------- /cdk-deployer/build.gradle: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vgulkevic/cdk_layer_in_lambda/HEAD/cdk-deployer/build.gradle -------------------------------------------------------------------------------- /cdk-deployer/lambda/bucketStack.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vgulkevic/cdk_layer_in_lambda/HEAD/cdk-deployer/lambda/bucketStack.js -------------------------------------------------------------------------------- /cdk-deployer/lambda/cdk.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vgulkevic/cdk_layer_in_lambda/HEAD/cdk-deployer/lambda/cdk.json -------------------------------------------------------------------------------- /cdk-deployer/lambda/cdkStack.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vgulkevic/cdk_layer_in_lambda/HEAD/cdk-deployer/lambda/cdkStack.js -------------------------------------------------------------------------------- /cdk-deployer/lambda/cdkStackDeployer.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vgulkevic/cdk_layer_in_lambda/HEAD/cdk-deployer/lambda/cdkStackDeployer.js -------------------------------------------------------------------------------- /cdk-deployer/lambda/function.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vgulkevic/cdk_layer_in_lambda/HEAD/cdk-deployer/lambda/function.zip -------------------------------------------------------------------------------- /cdk-deployer/lambda/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vgulkevic/cdk_layer_in_lambda/HEAD/cdk-deployer/lambda/index.js -------------------------------------------------------------------------------- /cdk-deployer/lambda/pack.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vgulkevic/cdk_layer_in_lambda/HEAD/cdk-deployer/lambda/pack.sh -------------------------------------------------------------------------------- /cdk-deployer/lambda/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vgulkevic/cdk_layer_in_lambda/HEAD/cdk-deployer/lambda/package-lock.json -------------------------------------------------------------------------------- /cdk-deployer/lambda/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vgulkevic/cdk_layer_in_lambda/HEAD/cdk-deployer/lambda/package.json -------------------------------------------------------------------------------- /cdk-deployer/lambda/utils/empty-bucket.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vgulkevic/cdk_layer_in_lambda/HEAD/cdk-deployer/lambda/utils/empty-bucket.js -------------------------------------------------------------------------------- /cdk-deployer/lambda/webpack.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vgulkevic/cdk_layer_in_lambda/HEAD/cdk-deployer/lambda/webpack.config.js -------------------------------------------------------------------------------- /cdk-deployer/terraform/prod/main.tf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vgulkevic/cdk_layer_in_lambda/HEAD/cdk-deployer/terraform/prod/main.tf -------------------------------------------------------------------------------- /cdk-deployer/terraform/remote-state/main.tf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vgulkevic/cdk_layer_in_lambda/HEAD/cdk-deployer/terraform/remote-state/main.tf -------------------------------------------------------------------------------- /cdk-deployer/terraform/resources/main.tf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vgulkevic/cdk_layer_in_lambda/HEAD/cdk-deployer/terraform/resources/main.tf -------------------------------------------------------------------------------- /cdk-deployer/terraform/resources/modules/lambda/.terraform/modules/modules.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vgulkevic/cdk_layer_in_lambda/HEAD/cdk-deployer/terraform/resources/modules/lambda/.terraform/modules/modules.json -------------------------------------------------------------------------------- /cdk-deployer/terraform/resources/modules/lambda/main.tf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vgulkevic/cdk_layer_in_lambda/HEAD/cdk-deployer/terraform/resources/modules/lambda/main.tf -------------------------------------------------------------------------------- /cdk-deployer/terraform/resources/modules/lambda/outputs.tf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vgulkevic/cdk_layer_in_lambda/HEAD/cdk-deployer/terraform/resources/modules/lambda/outputs.tf -------------------------------------------------------------------------------- /cdk-deployer/terraform/resources/modules/lambda/variables.tf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vgulkevic/cdk_layer_in_lambda/HEAD/cdk-deployer/terraform/resources/modules/lambda/variables.tf -------------------------------------------------------------------------------- /cdk-deployer/terraform/resources/res/deployer_lambda_policy.tpl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vgulkevic/cdk_layer_in_lambda/HEAD/cdk-deployer/terraform/resources/res/deployer_lambda_policy.tpl -------------------------------------------------------------------------------- /cdk-deployer/terraform/resources/variables.tf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vgulkevic/cdk_layer_in_lambda/HEAD/cdk-deployer/terraform/resources/variables.tf -------------------------------------------------------------------------------- /cdk-lambda-layer/build.gradle: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vgulkevic/cdk_layer_in_lambda/HEAD/cdk-lambda-layer/build.gradle -------------------------------------------------------------------------------- /cdk-lambda-layer/layer.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vgulkevic/cdk_layer_in_lambda/HEAD/cdk-lambda-layer/layer.zip -------------------------------------------------------------------------------- /cdk-lambda-layer/pack.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vgulkevic/cdk_layer_in_lambda/HEAD/cdk-lambda-layer/pack.sh -------------------------------------------------------------------------------- /cdk-lambda-layer/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vgulkevic/cdk_layer_in_lambda/HEAD/cdk-lambda-layer/package.json -------------------------------------------------------------------------------- /gradle.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vgulkevic/cdk_layer_in_lambda/HEAD/gradle.properties -------------------------------------------------------------------------------- /gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vgulkevic/cdk_layer_in_lambda/HEAD/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vgulkevic/cdk_layer_in_lambda/HEAD/gradle/wrapper/gradle-wrapper.properties -------------------------------------------------------------------------------- /gradlew: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vgulkevic/cdk_layer_in_lambda/HEAD/gradlew -------------------------------------------------------------------------------- /gradlew.bat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vgulkevic/cdk_layer_in_lambda/HEAD/gradlew.bat -------------------------------------------------------------------------------- /intellij-java-google-style.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vgulkevic/cdk_layer_in_lambda/HEAD/intellij-java-google-style.xml -------------------------------------------------------------------------------- /settings.gradle: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vgulkevic/cdk_layer_in_lambda/HEAD/settings.gradle -------------------------------------------------------------------------------- /terraform-utils/deploy.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vgulkevic/cdk_layer_in_lambda/HEAD/terraform-utils/deploy.sh -------------------------------------------------------------------------------- /terraform-utils/modules/service_prefixed_lambda_role/lambda-assume-role-policy.tpl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vgulkevic/cdk_layer_in_lambda/HEAD/terraform-utils/modules/service_prefixed_lambda_role/lambda-assume-role-policy.tpl -------------------------------------------------------------------------------- /terraform-utils/modules/service_prefixed_lambda_role/main.tf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vgulkevic/cdk_layer_in_lambda/HEAD/terraform-utils/modules/service_prefixed_lambda_role/main.tf -------------------------------------------------------------------------------- /terraform-utils/modules/service_prefixed_lambda_role/outputs.tf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vgulkevic/cdk_layer_in_lambda/HEAD/terraform-utils/modules/service_prefixed_lambda_role/outputs.tf -------------------------------------------------------------------------------- /terraform-utils/modules/service_prefixed_lambda_role/variables.tf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vgulkevic/cdk_layer_in_lambda/HEAD/terraform-utils/modules/service_prefixed_lambda_role/variables.tf --------------------------------------------------------------------------------