Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(lambda-layer-awscli): [ACTION REQUIRED] Your CDK application is using AwsCliLayer. Add a dependency on @aws-cdk/asset-awscli-v1, or the equivalent in your language, to remove this warning. #22470

Closed
madeline-k opened this issue Oct 12, 2022 · 2 comments

Comments

@madeline-k
Copy link
Contributor

madeline-k commented Oct 12, 2022

Details

A change we are introducing to extract large files from the aws-cdk-lib package may cause a breaking change in some environments. This could happen if your app uses the AwsCliLayer construct, and your CDK application executes in an environment that:

  • is network-restricted,
  • does not have npm installed,
  • or is configured to use an npm registry that does not contain @aws-cdk/asset-awscli-v1.

Steps to resolve

To resolve this issue, please take an explicit dependency on the @aws-cdk/asset-awscli-v1 package using your language and package manager of choice.

TypeScript & JavaScript
Python
Java
C#/.NET
Go

What to do if resolution steps did not work

After doing this, this warning message should no longer appear on synthesis. If it does, please take the following steps to help us address the issue for you:

  1. Set the CDK_DEBUG environment variable to true
  2. Resynthesize your app,
  3. Comment on this issue with the output, your version of aws-cdk-lib, and details of your application's environment.
@madeline-k madeline-k added needs-triage This issue or PR still needs to be triaged. documentation This is a problem with documentation. labels Oct 12, 2022
@madeline-k madeline-k changed the title placeholder (lambda-layer-awscli): [ACTION REQUIRED] Y`WARNING! [ACTION REQUIRED] Your CDK application is using AwsCliLayer. Add a dependency on @aws-cdk/asset-awscli-v1, or the equivalent, in your language to remove this warning. Oct 12, 2022
@madeline-k madeline-k changed the title (lambda-layer-awscli): [ACTION REQUIRED] Y`WARNING! [ACTION REQUIRED] Your CDK application is using AwsCliLayer. Add a dependency on @aws-cdk/asset-awscli-v1, or the equivalent, in your language to remove this warning. (lambda-layer-awscli): [ACTION REQUIRED] Your CDK application is using AwsCliLayer. Add a dependency on @aws-cdk/asset-awscli-v1, or the equivalent, in your language to remove this warning. Oct 12, 2022
@madeline-k madeline-k removed needs-triage This issue or PR still needs to be triaged. documentation This is a problem with documentation. labels Oct 12, 2022
@madeline-k madeline-k changed the title (lambda-layer-awscli): [ACTION REQUIRED] Your CDK application is using AwsCliLayer. Add a dependency on @aws-cdk/asset-awscli-v1, or the equivalent, in your language to remove this warning. (lambda-layer-awscli): [ACTION REQUIRED] Your CDK application is using AwsCliLayer. Add a dependency on @aws-cdk/asset-awscli-v1, or the equivalent in your language, to remove this warning. Oct 12, 2022
@madeline-k
Copy link
Contributor Author

Closing this issue, as we no longer plan to proceed with this change.

@github-actions
Copy link

⚠️COMMENT VISIBILITY WARNING⚠️

Comments on closed issues are hard for our team to see.
If you need more assistance, please either tag a team member or open a new issue that references this one.
If you wish to keep having a conversation with other community members under this issue feel free to do so.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants