com.github.eladb:awscdk-81-patch

awscdk-81-patch

License

License

Categories

Categories

AWS Container PaaS Providers
GroupId

GroupId

com.github.eladb
ArtifactId

ArtifactId

awscdk-81-patch
Last Version

Last Version

1.1.1
Release Date

Release Date

Type

Type

jar
Description

Description

com.github.eladb:awscdk-81-patch
awscdk-81-patch

Download awscdk-81-patch

How to add to project

<!-- https://jarcasting.com/artifacts/com.github.eladb/awscdk-81-patch/ -->
<dependency>
    <groupId>com.github.eladb</groupId>
    <artifactId>awscdk-81-patch</artifactId>
    <version>1.1.1</version>
</dependency>
// https://jarcasting.com/artifacts/com.github.eladb/awscdk-81-patch/
implementation 'com.github.eladb:awscdk-81-patch:1.1.1'
// https://jarcasting.com/artifacts/com.github.eladb/awscdk-81-patch/
implementation ("com.github.eladb:awscdk-81-patch:1.1.1")
'com.github.eladb:awscdk-81-patch:jar:1.1.1'
<dependency org="com.github.eladb" name="awscdk-81-patch" rev="1.1.1">
  <artifact name="awscdk-81-patch" type="jar" />
</dependency>
@Grapes(
@Grab(group='com.github.eladb', module='awscdk-81-patch', version='1.1.1')
)
libraryDependencies += "com.github.eladb" % "awscdk-81-patch" % "1.1.1"
[com.github.eladb/awscdk-81-patch "1.1.1"]

Dependencies

compile (5)

Group / Artifact Type Version
software.amazon.awscdk : cdk-lambda-layer-awscli jar [1.81.0]
software.amazon.awscdk : cdk-lambda-layer-kubectl jar [1.81.0]
software.amazon.jsii : jsii-runtime jar [1.16.0,2.0.0)
org.jetbrains : annotations jar [16.0.3,20.0.0)
javax.annotation : javax.annotation-api jar [1.3.2,1.4.0)

Project Modules

There are no modules declared in this project.

Patch for AWS CDK 1.81.0 Fixed in 1.82.0 (no longer required)

The @aws-cdk/aws-eks and @aws-cdk/aws-s3-deployment modules are broken in v1.81.0 of the AWS CDK due to a missing file in the npm bundle.

Tracking issue: https://github.com/aws/aws-cdk/issues/12291

We apologize for this. Until we are able to release a patch, you can use this tool to apply a patch to the relevant modules. This patch will only work if you are using v1.81.0 and will need to get removed in the future.

You can apply this patch in all supported CDK programming languages:

JavaScript/TypeScript

See example.

Install using npm/yarn:

npm install awscdk-81-patch

Add this to your main file (before the App construct is created):

import { Patch } from 'awscdk-81-patch';
Patch.apply();

const app = new cdk.App();
// ....

Python

See example.

Add this to your requirements.txt:

awscdk-81-patch

Install:

pip install -r requirements.txt

Add this to your app.py:

from awscdk_81_patch import Patch
Patch.apply()


app = core.App()
# ...

Java

See example.

Add this to your pom.xml file:

<dependencies>

  <dependency>
      <groupId>com.github.eladb</groupId>
      <artifactId>awscdk-81-patch</artifactId>
      <version>LATEST</version>
  </dependency>

</dependencies>

Apply first thing in your main() method:

import com.github.eladb.awscdk81patch.Patch;

public static void main(final String[] args) { {
  Patch.apply();

  App app = new App();
  // ...
}

.NET

Install this module:

cd src/MyProject # go to where your .csproj file resides
dotnet add package Eladb.AwsCdk81Patch

In Program.cs, add this:

using Eladb.AwsCdk81Patch;

public static void Main(string[] args)
{
    Patch.Apply();

    var app = new App();
    // ...
}

License

Distributed under the Apache 2.0 license.

Versions

Version
1.1.1
1.1.0
1.0.1