Skip to content
This repository has been archived by the owner on Aug 1, 2024. It is now read-only.

Commit

Permalink
Merge pull request #26 from aws-samples/benisrae/fix-dns-record-logic…
Browse files Browse the repository at this point in the history
…al-id

fix: preserve logical ID of DNS record resource
  • Loading branch information
Elad Ben-Israel authored Feb 25, 2019
2 parents a8fc10c + e5d071f commit 231ac2c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cdkworkshop.com/cdkworkshop.com.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,8 @@ class CdkWorkshop extends cdk.Stack {
constructor(scope: cdk.App, id: string, props: CdkWorkshopProps) {
super(scope, id, props);

this.renameLogical('CloudFrontDNSRecord46217411', 'CloudFrontDNSRecord');

// Enable AWS GuardDuty in this account, and send any security findings via email
new GuardDutyNotifier(this, "GuardDuty", {
environmentName: props.domain,
Expand Down

0 comments on commit 231ac2c

Please sign in to comment.