Skip to main content

awscdk-81-patch

Project description

Patch for AWS CDK 1.81.0

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):

# Example automatically generated without compilation. See https://github.com/aws/jsii/issues/826
from awscdk_81_patch import Patch
Patch.apply()

app = 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

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

awscdk-81-patch-1.1.0.tar.gz (14.0 kB view details)

Uploaded Source

Built Distribution

awscdk_81_patch-1.1.0-py3-none-any.whl (14.6 kB view details)

Uploaded Python 3

File details

Details for the file awscdk-81-patch-1.1.0.tar.gz.

File metadata

  • Download URL: awscdk-81-patch-1.1.0.tar.gz
  • Upload date:
  • Size: 14.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.6.1 requests/2.25.0 setuptools/51.0.0 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.7.9

File hashes

Hashes for awscdk-81-patch-1.1.0.tar.gz
Algorithm Hash digest
SHA256 7177a8d709ed3d0102746d4adbb5c1f6c56252f197f908bf3f33e059fdc23ec1
MD5 bbec49bc848f3f9560bd489616cae4d1
BLAKE2b-256 83e5caac717a1a019cb8506f82e8dba50ae71aabf506ca6ebb16230b90bd4615

See more details on using hashes here.

File details

Details for the file awscdk_81_patch-1.1.0-py3-none-any.whl.

File metadata

  • Download URL: awscdk_81_patch-1.1.0-py3-none-any.whl
  • Upload date:
  • Size: 14.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.6.1 requests/2.25.0 setuptools/51.0.0 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.7.9

File hashes

Hashes for awscdk_81_patch-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f846bc3bae275955bc9255afdeaa30c179558d692f557fd54856705929577d8c
MD5 e2a4f442e1db71bb514d4568d70a3066
BLAKE2b-256 4209a89959b5345bf2f6580835d0d1495acd39d0927adec222936137d35d0a68

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page