Skip to content

Commit

Permalink
fix(cli): Use RegionalDomainName attribute in output of Toolkit stack…
Browse files Browse the repository at this point in the history
… for GovCloud and CN compatibility (#4427)

Fixes #1469
  • Loading branch information
shivlaks authored and mergify[bot] committed Oct 10, 2019
1 parent a4e63bd commit adbc2e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/aws-cdk/lib/api/bootstrap-environment.ts
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ export async function bootstrapEnvironment(environment: cxapi.Environment, aws:
},
[BUCKET_DOMAIN_NAME_OUTPUT]: {
Description: "The domain name of the S3 bucket owned by the CDK toolkit stack",
Value: { "Fn::GetAtt": ["StagingBucket", "DomainName"] }
Value: { "Fn::GetAtt": ["StagingBucket", "RegionalDomainName"] }
}
}
};
Expand Down

0 comments on commit adbc2e3

Please sign in to comment.