目录
Ian Hou

fix: limit SAR application test to regions that have SAR enabled, plus simplification for docker asset test (#2096)

Fixes test runs that try to deploy a SAR resource to regions that don’t support them. Supported regions are documented here: https://docs.aws.amazon.com/general/latest/gr/serverlessrepo.html.

It also removes logic from packages/@aws-cdk-testing/cli-integ/tests/cli-integ-tests/deploy/cdk-deploy-docker-asset-multi-region.integtest.ts that depends on process.env.AWS_REGIONS, which isn’t set in Atmosphere-enabled runs.

This precedes an API change in an internal repo.

Checklist

  • This change contains a major version upgrade for a dependency and I confirm all breaking changes are addressed
    • Release notes for the new version:

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license

2天前1247次提交

AWS Cloud Development Kit (AWS CDK) Toolkit

NPM version

The AWS Cloud Development Kit (AWS CDK) is an open-source software development framework to define cloud infrastructure in code and provision it through AWS CloudFormation.

The AWS CDK consists of two main components:

  • a class library, that you use to to model your infrastructure in code; and
  • a toolkit, consisting of a CLI or a programmatic library, to act on those models.

This repository contains the code for the toolkit components. The class library repository is the main repository for the CDK project.

Getting Help

The best way to interact with our team is through GitHub, on the aws-cdk repository. You can open an issue and choose from one of our templates for bug reports, feature requests, documentation issues, or guidance.

If you have a support plan with AWS Support, you can also create a new support case.

You may also find help on these community resources:

Contributing

We welcome community contributions and pull requests. See CONTRIBUTING.md for information on how to set up a development environment and submit code.

Structure of this repository

Here are the packages in this repository. See the README of each package for more information about it:

Package Description Published? Maintained?
aws-cdk The CDK Toolkit CLI, main CLI interface to CDK projects. Yes Yes
@aws-cdk/toolkit-lib A programmatic interface for the CDK Toolkit. Yes Yes
cdk An alias for aws-cdk so you can run npx cdk even if it’s not installed. Yes Yes
cdk-assets v3 CLI component handling asset uploads, also used as a CLI in CDK Pipelines Yes Yes
@aws-cdk/cloud-assembly-schema The contract between the CDK construct library and the CDK toolkit Yes Yes
@aws-cdk/cloudformation-diff CLI component for diffing CloudFormation templates Yes Yes
@aws-cdk/cli-plugin-contract TypeScript types for CLI plugins. Yes Yes
@aws-cdk/cdk-cli-wrapper A deprecated attempt at building a programmatic interface for the CLI No No
@aws-cdk/node-bundle A tool to build CLI bundles that include license attributions. No Yes
@aws-cdk/user-input-gen A build tool for the CLI and toolkit-lib. No Yes
@aws-cdk/yarn-cling A deprecated build tool for the CLI. No No

Every package comes with its own unit tests. There is a companion repository to this one containing the integration tests. You can find it here: https://github.com/aws/aws-cdk-cli-testing

See the contributing guide for more information on this repository.

Compatibility

The CLI is always able to process CDK apps using a version of the Construct Library released before it. We recommend you always keep the CLI version up-to-date to get the latest features.

For more details on the compatibility model and specific versions that work together, see COMPATIBILITY.md.

    Gitlink(确实开源)
  • 加入我们
  • 官网邮箱:gitlink@ccf.org.cn
  • QQ群
  • QQ群
  • 公众号
  • 公众号

版权所有:中国计算机学会技术支持:开源发展技术委员会
京ICP备13000930号-9 京公网安备 11010802047560号