Skip to content

Commit 086ae23

Browse files
author
Jerry Kindall
authored
Merge pull request #343 from ben-mccown/patch-1
Resolving Windows file encoding issues
2 parents 26261ff + 3ec827c commit 086ae23

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

doc_source/bootstrapping.md

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,10 +67,22 @@ cdk bootstrap --profile prod
6767

6868
AWS CDK bootstrapping is performed by an AWS CloudFormation template\. To get a copy of this template in the file `bootstrap-template.yaml`, run the following command\.
6969

70+
------
71+
#### [ macOS/Linux ]
72+
7073
```
7174
cdk bootstrap --show-template > bootstrap-template.yaml
7275
```
7376

77+
------
78+
#### [ Windows ]
79+
80+
```
81+
powershell "cdk bootstrap --show-template | Out-File -encoding utf8 bootstrap-template.yaml"
82+
```
83+
84+
------
85+
7486
The template is also available in the [AWS CDK GitHub repository](https://github.com/aws/aws-cdk/blob/master/packages/aws-cdk/lib/api/bootstrap/bootstrap-template.yaml)\.
7587

7688
Deploy this template using your preferred deployment mechanism for AWS CloudFormation templates\. For example, the following command deploys the template using the AWS CLI:
@@ -547,4 +559,4 @@ The `DefaultStackSynthesizer` requires four IAM roles for four different purpose
547559
The AWS CDK Toolkit requires that the following CloudFormation outputs exist on the bootstrap stack\.
548560
+ `BucketName`: the name of the file asset bucket
549561
+ `BucketDomainName`: the file asset bucket in domain name format
550-
+ `BootstrapVersion`: the current version of the bootstrap stack
562+
+ `BootstrapVersion`: the current version of the bootstrap stack

0 commit comments

Comments
 (0)