skip to Main Content

Amazon web services – Create python lambda layer using CDK

How do I create a custom Lambda layer for python runtime using CDK? Javascript CDK code for defining the lambda layer & function: this.sharedLayer = new lambda.LayerVersion(this, 'shared-layer', { code: lambda.Code.fromAsset('./lambda-functions/shared-layer'), compatibleRuntimes: [lambda.Runtime.PYTHON_3_8], layerVersionName: 'shared-layer', }) } this.testFunction = new…

VIEW QUESTION

Amazon web services – How can i get parameters from Construct before finishing of creation stack

Can you help me please? I create DatabaseInstanceEngine and eks secret and want to put db_instance_endpoint_address to this secret self.cluster.add_manifest('my-secret-env', { "kind": "Secret", "apiVersion": "v1", "metadata": { "name": "my-secret-env", 'namespace': 'default' }, "data": { "DATA_HOST": self._base64encode(self.db.db_instance_endpoint_address), } }) after execution…

VIEW QUESTION

Cloudformation stacks, then how can I find the reason or log – Docker

When deploying from template, This service is stack as CREATE_IN_PROGRESS ServiceD69D759B arn:aws:ecs:ap-northeast-1:6781002281XX:service/AdminCluster/CdkFargateStack-ServiceD69D759B-sm274jjTfbP7 AWS::ECS::Service CREATE_IN_PROGRESS Resource creation Initiated - However I have no idea where to start. This docker image receive the access from 8011, so in local it works in…

VIEW QUESTION
Back To Top
Search