Skip to content

Commit

Permalink
Fix Python example in How to Create CDK Pipeline guide
Browse files Browse the repository at this point in the history
Correct from `add_application` to `add_application_stage`
  • Loading branch information
jeffgardnerdev authored Mar 26, 2021
1 parent 5c9caa2 commit 5e464e1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions doc_source/cdk_pipeline.md
Original file line number Diff line number Diff line change
Expand Up @@ -1142,10 +1142,10 @@ testingStage.addApplication(new MyApplication2(this, 'MyApp2', {

```
# Add two application stages to the same pipeline stage
testing_stage.add_application(MyApplication1(this, 'MyApp1',
testing_stage.add_application_stage(MyApplication1(this, 'MyApp1',
env=Environment(account="111111111111", region="eu-west-1")))
testing_stage.add_application(MyApplication2(this, 'MyApp2',
testing_stage.add_application_stage(MyApplication2(this, 'MyApp2',
env=Environment(account="111111111111", region="eu-west-1")))
```

Expand Down Expand Up @@ -1772,4 +1772,4 @@ We're currently aware of the following issues with CDK Pipelines\.
+ If a changeset failed to apply, the pipeline is not retried\. The pipeline must be restarted manually from the top by clicking **Release Change**\.
+ A stack that failed to deploy must be deleted manually using the CloudFormation console before starting the pipeline again by clicking **Release Change**\.

Please [report any other issues](https://github.com/aws/aws-cdk/issues/new/choose) you encounter\.
Please [report any other issues](https://github.com/aws/aws-cdk/issues/new/choose) you encounter\.

0 comments on commit 5e464e1

Please sign in to comment.