[hendry@t480s static-site]$ npm install > core-js@2.6.9 postinstall /home/hendry/tmp/aws-cdk-examples/typescript/static-site/node_modules/core-js > node scripts/postinstall || echo "ignore" Thank you for using core-js ( https://github.com/zloirock/core-js ) for polyfilling JavaScript standard library! The project needs your help! Please consider supporting of core-js on Open Collective or Patreon: > https://opencollective.com/core-js > https://www.patreon.com/zloirock Also, the author of core-js ( https://github.com/zloirock ) is looking for a good job -) npm notice created a lockfile as package-lock.json. You should commit this file. npm WARN static-site@1.0.0 No repository field. added 263 packages from 254 contributors and audited 4194 packages in 13.302s found 0 vulnerabilities [hendry@t480s static-site]$ vim README.md [hendry@t480s static-site]$ npm run build > static-site@1.0.0 build /home/hendry/tmp/aws-cdk-examples/typescript/static-site > tsc [hendry@t480s static-site]$ vim README.md [hendry@t480s static-site]$ cdk deploy -c domain=webconverger.com -c subdomain=talks Unable to resolve AWS account to use. It must be either configured when you define your CDK or through the environment [hendry@t480s static-site]$ export AWS_PROFILE=mine [hendry@t480s static-site]$ cdk deploy -c domain=webconverger.com -c subdomain=talks This deployment will make potentially sensitive changes according to your current security approval level (--require-approval broadening). Please confirm you intend to make the following modifications: IAM Statement Changes ┌───┬────────────────────────────────┬────────┬──────────────┬───────────┬───────────┐ │ │ Resource │ Effect │ Action │ Principal │ Condition │ ├───┼────────────────────────────────┼────────┼──────────────┼───────────┼───────────┤ │ + │ ${StaticSite/SiteBucket.Arn}/* │ Allow │ s3:GetObject │ * │ │ └───┴────────────────────────────────┴────────┴──────────────┴───────────┴───────────┘ (NOTE: There may be security-related changes not in this list. See http://bit.ly/cdk-2EhF7Np) Do you wish to deploy these changes (y/n)? y MyStaticSite: deploying... MyStaticSite: creating CloudFormation changeset... 0/8 | 8:49:57 pm | CREATE_IN_PROGRESS | AWS::CDK::Metadata | CDKMetadata 0/8 | 8:49:57 pm | CREATE_IN_PROGRESS | AWS::CertificateManager::Certificate | StaticSite/ArnParameter (StaticSiteArnParameterED3722EA) 0/8 | 8:49:57 pm | CREATE_IN_PROGRESS | AWS::Route53::HostedZone | StaticSite/MyHostedZone (StaticSiteMyHostedZone2FF4976C) 0/8 | 8:49:57 pm | CREATE_IN_PROGRESS | AWS::S3::Bucket | StaticSite/SiteBucket (StaticSiteSiteBucket1A888BC8) 0/8 | 8:49:57 pm | CREATE_IN_PROGRESS | AWS::Route53::HostedZone | StaticSite/MyHostedZone (StaticSiteMyHostedZone2FF4976C) Resource creation Initiated 0/8 | 8:49:57 pm | CREATE_IN_PROGRESS | AWS::CertificateManager::Certificate | StaticSite/ArnParameter (StaticSiteArnParameterED3722EA) Resource creation Initiated 0/8 | 8:49:59 pm | CREATE_IN_PROGRESS | AWS::CDK::Metadata | CDKMetadata Resource creation Initiated 1/8 | 8:49:59 pm | CREATE_COMPLETE | AWS::CDK::Metadata | CDKMetadata 2/8 | 8:50:00 pm | CREATE_FAILED | AWS::S3::Bucket | StaticSite/SiteBucket (StaticSiteSiteBucket1A888BC8) talks.webconverger.com already exists new Bucket (/home/hendry/tmp/aws-cdk-examples/typescript/static-site/node_modules/@aws-cdk/aws-s3/lib/bucket.js:342:26) \_ new StaticSite (/home/hendry/tmp/aws-cdk-examples/typescript/static-site/static-site.js:25:28) \_ new MyStaticSiteStack (/home/hendry/tmp/aws-cdk-examples/typescript/static-site/index.js:20:9) \_ Object. (/home/hendry/tmp/aws-cdk-examples/typescript/static-site/index.js:27:1) \_ Module._compile (internal/modules/cjs/loader.js:816:30) \_ Object.Module._extensions..js (internal/modules/cjs/loader.js:827:10) \_ Module.load (internal/modules/cjs/loader.js:685:32) \_ Function.Module._load (internal/modules/cjs/loader.js:620:12) \_ Function.Module.runMain (internal/modules/cjs/loader.js:877:12) \_ internal/main/run_main_module.js:21:11 3/8 | 8:50:00 pm | CREATE_FAILED | AWS::Route53::HostedZone | StaticSite/MyHostedZone (StaticSiteMyHostedZone2FF4976C) Resource creation cancelled new HostedZone (/home/hendry/tmp/aws-cdk-examples/typescript/static-site/node_modules/@aws-cdk/aws-route53/lib/hosted-zone.js:16:26) \_ new StaticSite (/home/hendry/tmp/aws-cdk-examples/typescript/static-site/static-site.js:63:22) \_ new MyStaticSiteStack (/home/hendry/tmp/aws-cdk-examples/typescript/static-site/index.js:20:9) \_ Object. (/home/hendry/tmp/aws-cdk-examples/typescript/static-site/index.js:27:1) \_ Module._compile (internal/modules/cjs/loader.js:816:30) \_ Object.Module._extensions..js (internal/modules/cjs/loader.js:827:10) \_ Module.load (internal/modules/cjs/loader.js:685:32) \_ Function.Module._load (internal/modules/cjs/loader.js:620:12) \_ Function.Module.runMain (internal/modules/cjs/loader.js:877:12) \_ internal/main/run_main_module.js:21:11 4/8 | 8:50:00 pm | CREATE_FAILED | AWS::CertificateManager::Certificate | StaticSite/ArnParameter (StaticSiteArnParameterED3722EA) Resource creation cancelled new Certificate (/home/hendry/tmp/aws-cdk-examples/typescript/static-site/node_modules/@aws-cdk/aws-certificatemanager/lib/certificate.js:39:22) \_ new StaticSite (/home/hendry/tmp/aws-cdk-examples/typescript/static-site/static-site.js:37:32) \_ new MyStaticSiteStack (/home/hendry/tmp/aws-cdk-examples/typescript/static-site/index.js:20:9) \_ Object. (/home/hendry/tmp/aws-cdk-examples/typescript/static-site/index.js:27:1) \_ Module._compile (internal/modules/cjs/loader.js:816:30) \_ Object.Module._extensions..js (internal/modules/cjs/loader.js:827:10) \_ Module.load (internal/modules/cjs/loader.js:685:32) \_ Function.Module._load (internal/modules/cjs/loader.js:620:12) \_ Function.Module.runMain (internal/modules/cjs/loader.js:877:12) \_ internal/main/run_main_module.js:21:11 4/8 | 8:50:02 pm | ROLLBACK_IN_PROGRESS | AWS::CloudFormation::Stack | MyStaticSite The following resource(s) failed to create: [StaticSiteArnParameterED3722EA, StaticSiteMyHostedZone2FF4976C, StaticSiteSiteBucket1A888BC8]. . Rollback requested by user. 4/8 | 8:50:15 pm | DELETE_IN_PROGRESS | AWS::CertificateManager::Certificate | StaticSite/ArnParameter (StaticSiteArnParameterED3722EA) 4/8 | 8:50:15 pm | DELETE_IN_PROGRESS | AWS::CDK::Metadata | CDKMetadata 4/8 | 8:50:16 pm | DELETE_IN_PROGRESS | AWS::Route53::HostedZone | StaticSite/MyHostedZone (StaticSiteMyHostedZone2FF4976C) 5/8 | 8:50:16 pm | DELETE_COMPLETE | AWS::S3::Bucket | StaticSite/SiteBucket (StaticSiteSiteBucket1A888BC8) 6/8 | 8:50:17 pm | DELETE_COMPLETE | AWS::CDK::Metadata | CDKMetadata 6/8 Currently in progress: MyStaticSite, StaticSiteArnParameterED3722EA, StaticSiteMyHostedZone2FF4976C 7/8 | 8:51:16 pm | DELETE_COMPLETE | AWS::CertificateManager::Certificate | StaticSite/ArnParameter (StaticSiteArnParameterED3722EA) 8/8 | 8:51:17 pm | DELETE_COMPLETE | AWS::Route53::HostedZone | StaticSite/MyHostedZone (StaticSiteMyHostedZone2FF4976C) 9/8 | 8:51:18 pm | ROLLBACK_COMPLETE | AWS::CloudFormation::Stack | MyStaticSite ❌ MyStaticSite failed: Error: The stack named MyStaticSite failed creation, it may need to be manually deleted from the AWS console: ROLLBACK_COMPLETE The stack named MyStaticSite failed creation, it may need to be manually deleted from the AWS console: ROLLBACK_COMPLETE [hendry@t480s static-site]$ cdk deploy -c domain=webconverger.com -c subdomain=talks MyStaticSite: deploying... MyStaticSite: creating CloudFormation changeset... 0/8 | 9:04:58 pm | CREATE_IN_PROGRESS | AWS::S3::Bucket | StaticSite/SiteBucket (StaticSiteSiteBucket1A888BC8) 0/8 | 9:04:58 pm | CREATE_IN_PROGRESS | AWS::CertificateManager::Certificate | StaticSite/ArnParameter (StaticSiteArnParameterED3722EA) 0/8 | 9:04:58 pm | CREATE_IN_PROGRESS | AWS::Route53::HostedZone | StaticSite/MyHostedZone (StaticSiteMyHostedZone2FF4976C) 0/8 | 9:04:58 pm | CREATE_IN_PROGRESS | AWS::CDK::Metadata | CDKMetadata 0/8 | 9:04:59 pm | CREATE_IN_PROGRESS | AWS::Route53::HostedZone | StaticSite/MyHostedZone (StaticSiteMyHostedZone2FF4976C) Resource creation Initiated 0/8 | 9:04:59 pm | CREATE_IN_PROGRESS | AWS::CertificateManager::Certificate | StaticSite/ArnParameter (StaticSiteArnParameterED3722EA) Resource creation Initiated 1/8 | 9:05:00 pm | CREATE_FAILED | AWS::S3::Bucket | StaticSite/SiteBucket (StaticSiteSiteBucket1A888BC8) talks.webconverger.com already exists new Bucket (/home/hendry/tmp/aws-cdk-examples/typescript/static-site/node_modules/@aws-cdk/aws-s3/lib/bucket.js:342:26) \_ new StaticSite (/home/hendry/tmp/aws-cdk-examples/typescript/static-site/static-site.js:25:28) \_ new MyStaticSiteStack (/home/hendry/tmp/aws-cdk-examples/typescript/static-site/index.js:20:9) \_ Object. (/home/hendry/tmp/aws-cdk-examples/typescript/static-site/index.js:27:1) \_ Module._compile (internal/modules/cjs/loader.js:816:30) \_ Object.Module._extensions..js (internal/modules/cjs/loader.js:827:10) \_ Module.load (internal/modules/cjs/loader.js:685:32) \_ Function.Module._load (internal/modules/cjs/loader.js:620:12) \_ Function.Module.runMain (internal/modules/cjs/loader.js:877:12) \_ internal/main/run_main_module.js:21:11 1/8 | 9:05:01 pm | CREATE_IN_PROGRESS | AWS::CDK::Metadata | CDKMetadata Resource creation Initiated 2/8 | 9:05:01 pm | CREATE_FAILED | AWS::Route53::HostedZone | StaticSite/MyHostedZone (StaticSiteMyHostedZone2FF4976C) Resource creation cancelled new HostedZone (/home/hendry/tmp/aws-cdk-examples/typescript/static-site/node_modules/@aws-cdk/aws-route53/lib/hosted-zone.js:16:26) \_ new StaticSite (/home/hendry/tmp/aws-cdk-examples/typescript/static-site/static-site.js:63:22) \_ new MyStaticSiteStack (/home/hendry/tmp/aws-cdk-examples/typescript/static-site/index.js:20:9) \_ Object. (/home/hendry/tmp/aws-cdk-examples/typescript/static-site/index.js:27:1) \_ Module._compile (internal/modules/cjs/loader.js:816:30) \_ Object.Module._extensions..js (internal/modules/cjs/loader.js:827:10) \_ Module.load (internal/modules/cjs/loader.js:685:32) \_ Function.Module._load (internal/modules/cjs/loader.js:620:12) \_ Function.Module.runMain (internal/modules/cjs/loader.js:877:12) \_ internal/main/run_main_module.js:21:11 3/8 | 9:05:01 pm | CREATE_FAILED | AWS::CertificateManager::Certificate | StaticSite/ArnParameter (StaticSiteArnParameterED3722EA) Resource creation cancelled new Certificate (/home/hendry/tmp/aws-cdk-examples/typescript/static-site/node_modules/@aws-cdk/aws-certificatemanager/lib/certificate.js:39:22) \_ new StaticSite (/home/hendry/tmp/aws-cdk-examples/typescript/static-site/static-site.js:37:32) \_ new MyStaticSiteStack (/home/hendry/tmp/aws-cdk-examples/typescript/static-site/index.js:20:9) \_ Object. (/home/hendry/tmp/aws-cdk-examples/typescript/static-site/index.js:27:1) \_ Module._compile (internal/modules/cjs/loader.js:816:30) \_ Object.Module._extensions..js (internal/modules/cjs/loader.js:827:10) \_ Module.load (internal/modules/cjs/loader.js:685:32) \_ Function.Module._load (internal/modules/cjs/loader.js:620:12) \_ Function.Module.runMain (internal/modules/cjs/loader.js:877:12) \_ internal/main/run_main_module.js:21:11 4/8 | 9:05:01 pm | CREATE_FAILED | AWS::CDK::Metadata | CDKMetadata Resource creation cancelled 4/8 | 9:05:02 pm | ROLLBACK_IN_PROGRESS | AWS::CloudFormation::Stack | MyStaticSite The following resource(s) failed to create: [StaticSiteArnParameterED3722EA, StaticSiteMyHostedZone2FF4976C, StaticSiteSiteBucket1A888BC8, CDKMetadata]. . Rollback requested by user. 5/8 | 9:05:17 pm | DELETE_COMPLETE | AWS::S3::Bucket | StaticSite/SiteBucket (StaticSiteSiteBucket1A888BC8) 5/8 | 9:05:17 pm | DELETE_IN_PROGRESS | AWS::CertificateManager::Certificate | StaticSite/ArnParameter (StaticSiteArnParameterED3722EA) 5/8 | 9:05:17 pm | DELETE_IN_PROGRESS | AWS::Route53::HostedZone | StaticSite/MyHostedZone (StaticSiteMyHostedZone2FF4976C) 5/8 | 9:05:17 pm | DELETE_IN_PROGRESS | AWS::CDK::Metadata | CDKMetadata 6/8 | 9:05:19 pm | DELETE_COMPLETE | AWS::CDK::Metadata | CDKMetadata 6/8 Currently in progress: MyStaticSite, StaticSiteArnParameterED3722EA, StaticSiteMyHostedZone2FF4976C 7/8 | 9:06:17 pm | DELETE_COMPLETE | AWS::CertificateManager::Certificate | StaticSite/ArnParameter (StaticSiteArnParameterED3722EA) ❌ MyStaticSite failed: Error: The stack named MyStaticSite failed creation, it may need to be manually deleted from the AWS console: ROLLBACK_COMPLETE The stack named MyStaticSite failed creation, it may need to be manually deleted from the AWS console: ROLLBACK_COMPLETE [hendry@t480s static-site]$ aws --profile mine s3 rb --force s3://talks.webconverger.com remove_bucket failed: s3://talks.webconverger.com An error occurred (BucketNotEmpty) when calling the DeleteBucket operation: The bucket you tried to delete is not empty. You must delete all versions in the bucket. [hendry@t480s static-site]$ cdk --help deploy -c domain=webconverger.com -c subdomain=talks cdk deploy [STACKS..] Deploys the stack(s) named STACKS into your AWS account Options: --app, -a REQUIRED: command-line for executing your app or a cloud assembly directory (e.g. "node bin/my-app.js") [string] --context, -c Add contextual string parameter (KEY=VALUE) [array] --plugin, -p Name or path of a node package that extend the CDK features. Can be specified multiple times [array] --trace Print trace for stack warnings [boolean] --strict Do not construct stacks with warnings [boolean] --ignore-errors Ignores synthesis errors, which will likely produce an invalid output [boolean] [default: false] --json, -j Use JSON output instead of YAML when templates are printed to STDOUT [boolean] [default: false] --verbose, -v Show debug logs [boolean] [default: false] --profile Use the indicated AWS profile as the default environment [string] --proxy Use the indicated proxy. Will read from HTTPS_PROXY environment variable if not specified. [string] --ec2creds, -i Force trying to fetch EC2 instance credentials. Default: guess EC2 instance status. [boolean] --version-reporting Include the "AWS::CDK::Metadata" resource in synthesized templates (enabled by default) [boolean] --path-metadata Include "aws:cdk:path" CloudFormation metadata for each resource (enabled by default) [boolean] [default: true] --asset-metadata Include "aws:asset:*" CloudFormation metadata for resources that user assets (enabled by default) [boolean] [default: true] --role-arn, -r ARN of Role to use when invoking CloudFormation [string] --toolkit-stack-name The name of the CDK toolkit stack [string] --staging copy assets to the output directory (use --no-staging to disable, needed for local debugging the source files with SAM CLI) [boolean] [default: true] --output, -o emits the synthesized cloud assembly into a directory (default: cdk.out) [string] --ci Force CI detection. Use --no-ci to disable CI autodetection. [boolean] [default: false] --tags, -t tags to add to the stack (KEY=VALUE) [array] --version Show version number [boolean] --build-exclude, -E do not rebuild asset with the given ID. Can be specified multiple times. [array] [default: []] --exclusively, -e only deploy requested stacks, don't include dependencies [boolean] --require-approval what security-sensitive changes need manual approval [string] [choices: "never", "any-change", "broadening"] -h, --help Show help [boolean] [hendry@t480s static-site]$ [hendry@t480s static-site]$ [hendry@t480s static-site]$ [hendry@t480s static-site]$ cdk deploy -o domain=webconverger.com -c subdomain=talks /home/hendry/tmp/aws-cdk-examples/typescript/static-site/node_modules/@aws-cdk/aws-certificatemanager/lib/util.js:8 const parts = domainName.split('.').reverse(); ^ TypeError: Cannot read property 'split' of undefined at Object.apexDomain (/home/hendry/tmp/aws-cdk-examples/typescript/static-site/node_modules/@aws-cdk/aws-certificatemanager/lib/util.js:8:30) at domainValidationOption (/home/hendry/tmp/aws-cdk-examples/typescript/static-site/node_modules/@aws-cdk/aws-certificatemanager/lib/certificate.js:55:60) at Array.map () at new Certificate (/home/hendry/tmp/aws-cdk-examples/typescript/static-site/node_modules/@aws-cdk/aws-certificatemanager/lib/certificate.js:42:53) at new StaticSite (/home/hendry/tmp/aws-cdk-examples/typescript/static-site/static-site.js:37:32) at new MyStaticSiteStack (/home/hendry/tmp/aws-cdk-examples/typescript/static-site/index.js:20:9) at Object. (/home/hendry/tmp/aws-cdk-examples/typescript/static-site/index.js:27:1) at Module._compile (internal/modules/cjs/loader.js:816:30) at Object.Module._extensions..js (internal/modules/cjs/loader.js:827:10) at Module.load (internal/modules/cjs/loader.js:685:32) Subprocess exited with error 1 [hendry@t480s static-site]$ cdk deploy -c domain=webconverger.com -c subdomain=talks MyStaticSite: deploying... MyStaticSite: creating CloudFormation changeset... 0/8 | 9:12:12 pm | CREATE_IN_PROGRESS | AWS::CertificateManager::Certificate | StaticSite/ArnParameter (StaticSiteArnParameterED3722EA) 0/8 | 9:12:12 pm | CREATE_IN_PROGRESS | AWS::S3::Bucket | StaticSite/SiteBucket (StaticSiteSiteBucket1A888BC8) 0/8 | 9:12:12 pm | CREATE_IN_PROGRESS | AWS::CDK::Metadata | CDKMetadata 0/8 | 9:12:13 pm | CREATE_IN_PROGRESS | AWS::CertificateManager::Certificate | StaticSite/ArnParameter (StaticSiteArnParameterED3722EA) Resource creation Initiated 0/8 | 9:12:13 pm | CREATE_IN_PROGRESS | AWS::Route53::HostedZone | StaticSite/MyHostedZone (StaticSiteMyHostedZone2FF4976C) 0/8 | 9:12:13 pm | CREATE_IN_PROGRESS | AWS::Route53::HostedZone | StaticSite/MyHostedZone (StaticSiteMyHostedZone2FF4976C) Resource creation Initiated 1/8 | 9:12:14 pm | CREATE_FAILED | AWS::S3::Bucket | StaticSite/SiteBucket (StaticSiteSiteBucket1A888BC8) Bad Request (Service: Amazon S3; Status Code: 400; Error Code: 400 Bad Request; Request ID: 4883CC47D599736D; S3 Extended Request ID: Y2AcEIVcmsbDeVyXjWLdQtEMNZiplu0x8xYb8GCkNzrVcql9mEjaF+b4OXA/wAJoYrE3ld5DvZY=) new Bucket (/home/hendry/tmp/aws-cdk-examples/typescript/static-site/node_modules/@aws-cdk/aws-s3/lib/bucket.js:342:26) \_ new StaticSite (/home/hendry/tmp/aws-cdk-examples/typescript/static-site/static-site.js:25:28) \_ new MyStaticSiteStack (/home/hendry/tmp/aws-cdk-examples/typescript/static-site/index.js:20:9) \_ Object. (/home/hendry/tmp/aws-cdk-examples/typescript/static-site/index.js:27:1) \_ Module._compile (internal/modules/cjs/loader.js:816:30) \_ Object.Module._extensions..js (internal/modules/cjs/loader.js:827:10) \_ Module.load (internal/modules/cjs/loader.js:685:32) \_ Function.Module._load (internal/modules/cjs/loader.js:620:12) \_ Function.Module.runMain (internal/modules/cjs/loader.js:877:12) \_ internal/main/run_main_module.js:21:11 1/8 | 9:12:14 pm | CREATE_IN_PROGRESS | AWS::CDK::Metadata | CDKMetadata Resource creation Initiated 2/8 | 9:12:15 pm | CREATE_COMPLETE | AWS::CDK::Metadata | CDKMetadata 3/8 | 9:12:15 pm | CREATE_FAILED | AWS::Route53::HostedZone | StaticSite/MyHostedZone (StaticSiteMyHostedZone2FF4976C) Resource creation cancelled new HostedZone (/home/hendry/tmp/aws-cdk-examples/typescript/static-site/node_modules/@aws-cdk/aws-route53/lib/hosted-zone.js:16:26) \_ new StaticSite (/home/hendry/tmp/aws-cdk-examples/typescript/static-site/static-site.js:63:22) \_ new MyStaticSiteStack (/home/hendry/tmp/aws-cdk-examples/typescript/static-site/index.js:20:9) \_ Object. (/home/hendry/tmp/aws-cdk-examples/typescript/static-site/index.js:27:1) \_ Module._compile (internal/modules/cjs/loader.js:816:30) \_ Object.Module._extensions..js (internal/modules/cjs/loader.js:827:10) \_ Module.load (internal/modules/cjs/loader.js:685:32) \_ Function.Module._load (internal/modules/cjs/loader.js:620:12) \_ Function.Module.runMain (internal/modules/cjs/loader.js:877:12) \_ internal/main/run_main_module.js:21:11 4/8 | 9:12:15 pm | CREATE_FAILED | AWS::CertificateManager::Certificate | StaticSite/ArnParameter (StaticSiteArnParameterED3722EA) Resource creation cancelled new Certificate (/home/hendry/tmp/aws-cdk-examples/typescript/static-site/node_modules/@aws-cdk/aws-certificatemanager/lib/certificate.js:39:22) \_ new StaticSite (/home/hendry/tmp/aws-cdk-examples/typescript/static-site/static-site.js:37:32) \_ new MyStaticSiteStack (/home/hendry/tmp/aws-cdk-examples/typescript/static-site/index.js:20:9) \_ Object. (/home/hendry/tmp/aws-cdk-examples/typescript/static-site/index.js:27:1) \_ Module._compile (internal/modules/cjs/loader.js:816:30) \_ Object.Module._extensions..js (internal/modules/cjs/loader.js:827:10) \_ Module.load (internal/modules/cjs/loader.js:685:32) \_ Function.Module._load (internal/modules/cjs/loader.js:620:12) \_ Function.Module.runMain (internal/modules/cjs/loader.js:877:12) \_ internal/main/run_main_module.js:21:11 4/8 | 9:12:15 pm | ROLLBACK_IN_PROGRESS | AWS::CloudFormation::Stack | MyStaticSite The following resource(s) failed to create: [StaticSiteArnParameterED3722EA, StaticSiteMyHostedZone2FF4976C, StaticSiteSiteBucket1A888BC8]. . Rollback requested by user. 4/8 | 9:12:17 pm | DELETE_IN_PROGRESS | AWS::CertificateManager::Certificate | StaticSite/ArnParameter (StaticSiteArnParameterED3722EA) 4/8 | 9:12:18 pm | DELETE_IN_PROGRESS | AWS::CDK::Metadata | CDKMetadata 5/8 | 9:12:18 pm | DELETE_COMPLETE | AWS::S3::Bucket | StaticSite/SiteBucket (StaticSiteSiteBucket1A888BC8) 5/8 | 9:12:18 pm | DELETE_IN_PROGRESS | AWS::Route53::HostedZone | StaticSite/MyHostedZone (StaticSiteMyHostedZone2FF4976C) 6/8 | 9:12:19 pm | DELETE_COMPLETE | AWS::CDK::Metadata | CDKMetadata 6/8 Currently in progress: MyStaticSite, StaticSiteArnParameterED3722EA, StaticSiteMyHostedZone2FF4976C 7/8 | 9:13:18 pm | DELETE_COMPLETE | AWS::CertificateManager::Certificate | StaticSite/ArnParameter (StaticSiteArnParameterED3722EA) ❌ MyStaticSite failed: Error: The stack named MyStaticSite failed creation, it may need to be manually deleted from the AWS console: ROLLBACK_COMPLETE The stack named MyStaticSite failed creation, it may need to be manually deleted from the AWS console: ROLLBACK_COMPLETE [hendry@t480s static-site]$ [hendry@t480s static-site]$ [hendry@t480s static-site]$ cdk deploy -c domain=webconverger.com -c subdomain=talks ^[[19;6~MyStaticSite: deploying... MyStaticSite: creating CloudFormation changeset... 0/8 | 9:00:12 am | CREATE_IN_PROGRESS | AWS::CDK::Metadata | CDKMetadata 0/8 | 9:00:12 am | CREATE_IN_PROGRESS | AWS::Route53::HostedZone | StaticSite/MyHostedZone (StaticSiteMyHostedZone2FF4976C) 0/8 | 9:00:12 am | CREATE_IN_PROGRESS | AWS::CertificateManager::Certificate | StaticSite/ArnParameter (StaticSiteArnParameterED3722EA) 0/8 | 9:00:12 am | CREATE_IN_PROGRESS | AWS::S3::Bucket | StaticSite/SiteBucket (StaticSiteSiteBucket1A888BC8) 0/8 | 9:00:13 am | CREATE_IN_PROGRESS | AWS::CertificateManager::Certificate | StaticSite/ArnParameter (StaticSiteArnParameterED3722EA) Resource creation Initiated 0/8 | 9:00:13 am | CREATE_IN_PROGRESS | AWS::S3::Bucket | StaticSite/SiteBucket (StaticSiteSiteBucket1A888BC8) Resource creation Initiated 0/8 | 9:00:13 am | CREATE_IN_PROGRESS | AWS::Route53::HostedZone | StaticSite/MyHostedZone (StaticSiteMyHostedZone2FF4976C) Resource creation Initiated 0/8 | 9:00:13 am | CREATE_IN_PROGRESS | AWS::CDK::Metadata | CDKMetadata Resource creation Initiated 1/8 | 9:00:14 am | CREATE_COMPLETE | AWS::CDK::Metadata | CDKMetadata 2/8 | 9:00:34 am | CREATE_COMPLETE | AWS::S3::Bucket | StaticSite/SiteBucket (StaticSiteSiteBucket1A888BC8) 2/8 | 9:00:36 am | CREATE_IN_PROGRESS | AWS::S3::BucketPolicy | StaticSite/SiteBucket/Policy (StaticSiteSiteBucketPolicyD7934718) 2/8 | 9:00:37 am | CREATE_IN_PROGRESS | AWS::S3::BucketPolicy | StaticSite/SiteBucket/Policy (StaticSiteSiteBucketPolicyD7934718) Resource creation Initiated 3/8 | 9:00:37 am | CREATE_COMPLETE | AWS::S3::BucketPolicy | StaticSite/SiteBucket/Policy (StaticSiteSiteBucketPolicyD7934718) ^[[20~^[[19;6~ 4/8 | 9:01:14 am | CREATE_COMPLETE | AWS::Route53::HostedZone | StaticSite/MyHostedZone (StaticSiteMyHostedZone2FF4976C) 4/8 Currently in progress: StaticSiteArnParameterED3722EA 5/8 | 9:12:17 am | CREATE_COMPLETE | AWS::CertificateManager::Certificate | StaticSite/ArnParameter (StaticSiteArnParameterED3722EA) 5/8 | 9:12:20 am | CREATE_IN_PROGRESS | AWS::CloudFront::Distribution | StaticSite/SiteDistribution/CFDistribution (StaticSiteSiteDistributionCFDistribution500D676B) 6/8 | 9:12:24 am | CREATE_FAILED | AWS::CloudFront::Distribution | StaticSite/SiteDistribution/CFDistribution (StaticSiteSiteDistributionCFDistribution500D676B) The certificate that is attached to your distribution doesn't cover the alternate domain name (CNAME) that you're trying to add. For more details, see: https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/CNAMEs.html#alternate-domain-names-requirements (Service: AmazonCloudFront; Status Code: 400; Error Code: InvalidViewerCertificate; Request ID: 91cb7b56-be30-11e9-87b3-eb3fa056f192) new CloudFrontWebDistribution (/home/hendry/tmp/aws-cdk-examples/typescript/static-site/node_modules/@aws-cdk/aws-cloudfront/lib/web_distribution.js:289:30) \_ new StaticSite (/home/hendry/tmp/aws-cdk-examples/typescript/static-site/static-site.js:41:30) \_ new MyStaticSiteStack (/home/hendry/tmp/aws-cdk-examples/typescript/static-site/index.js:20:9) \_ Object. (/home/hendry/tmp/aws-cdk-examples/typescript/static-site/index.js:27:1) \_ Module._compile (internal/modules/cjs/loader.js:816:30) \_ Object.Module._extensions..js (internal/modules/cjs/loader.js:827:10) \_ Module.load (internal/modules/cjs/loader.js:685:32) \_ Function.Module._load (internal/modules/cjs/loader.js:620:12) \_ Function.Module.runMain (internal/modules/cjs/loader.js:877:12) \_ internal/main/run_main_module.js:21:11 6/8 | 9:12:24 am | ROLLBACK_IN_PROGRESS | AWS::CloudFormation::Stack | MyStaticSite The following resource(s) failed to create: [StaticSiteSiteDistributionCFDistribution500D676B]. . Rollback requested by user. 6/8 | 9:12:26 am | DELETE_IN_PROGRESS | AWS::S3::BucketPolicy | StaticSite/SiteBucket/Policy (StaticSiteSiteBucketPolicyD7934718) 6/8 | 9:12:26 am | DELETE_IN_PROGRESS | AWS::Route53::HostedZone | StaticSite/MyHostedZone (StaticSiteMyHostedZone2FF4976C) 6/8 | 9:12:26 am | DELETE_IN_PROGRESS | AWS::CDK::Metadata | CDKMetadata 7/8 | 9:12:27 am | DELETE_COMPLETE | AWS::CloudFront::Distribution | StaticSite/SiteDistribution/CFDistribution (StaticSiteSiteDistributionCFDistribution500D676B) 8/8 | 9:12:27 am | DELETE_COMPLETE | AWS::S3::BucketPolicy | StaticSite/SiteBucket/Policy (StaticSiteSiteBucketPolicyD7934718) 8/8 | 9:12:28 am | DELETE_IN_PROGRESS | AWS::CertificateManager::Certificate | StaticSite/ArnParameter (StaticSiteArnParameterED3722EA) 8/8 | 9:12:28 am | DELETE_IN_PROGRESS | AWS::S3::Bucket | StaticSite/SiteBucket (StaticSiteSiteBucket1A888BC8) 9/8 | 9:12:28 am | DELETE_COMPLETE | AWS::CDK::Metadata | CDKMetadata 10/8 | 9:12:29 am | DELETE_COMPLETE | AWS::S3::Bucket | StaticSite/SiteBucket (StaticSiteSiteBucket1A888BC8) 10/8 Currently in progress: MyStaticSite, StaticSiteMyHostedZone2FF4976C, StaticSiteArnParameterED3722EA 11/8 | 9:13:28 am | DELETE_COMPLETE | AWS::Route53::HostedZone | StaticSite/MyHostedZone (StaticSiteMyHostedZone2FF4976C) 12/8 | 9:13:30 am | DELETE_COMPLETE | AWS::CertificateManager::Certificate | StaticSite/ArnParameter (StaticSiteArnParameterED3722EA) 13/8 | 9:13:30 am | ROLLBACK_COMPLETE | AWS::CloudFormation::Stack | MyStaticSite ❌ MyStaticSite failed: Error: The stack named MyStaticSite failed creation, it may need to be manually deleted from the AWS console: ROLLBACK_COMPLETE The stack named MyStaticSite failed creation, it may need to be manually deleted from the AWS console: ROLLBACK_COMPLETE [hendry@t480s static-site]$ ;6~;6~ -bash: syntax error near unexpected token `;' [hendry@t480s static-site]$ [hendry@t480s static-site]$ [hendry@t480s static-site]$ [hendry@t480s static-site]$ yay :: Synchronizing package databases... core is up to date extra is up to date community is up to date multilib is up to date :: Searching databases for updates... :: Searching AUR for updates... -> Missing AUR Packages: gegl02 js obs-studio-vaapi pcmciautils spl-utils -> Out Of Date AUR Packages: caddy prometheus-bin testdisk-wip :: Starting full system upgrade... there is nothing to do [hendry@t480s static-site]$ [hendry@t480s static-site]$ [hendry@t480s static-site]$ [hendry@t480s static-site]$ [hendry@t480s static-site]$ (reverse-i-search)`talk': cdk deploy -c domain=webconverger.com -c subdomain=^Clks (reverse-i-search)`s3 l': aws --profile mine ^C ls | grep hugo [hendry@t480s static-site]$ ^C [hendry@t480s static-site]$ aws --profile mine s3 ls s3://talks.webconverger.com An error occurred (NoSuchBucket) when calling the ListObjectsV2 operation: The specified bucket does not exist [hendry@t480s static-site]$ ^C [hendry@t480s static-site]$ ^C [hendry@t480s static-site]$ ^C [hendry@t480s static-site]$ cdk deploy -c domain=webconverger.com -c subdomain=talks This deployment will make potentially sensitive changes according to your current security approval level (--require-approval broadening). Please confirm you intend to make the following modifications: IAM Statement Changes ┌───┬────────────────────────────────┬────────┬──────────────┬───────────┬───────────┐ │ │ Resource │ Effect │ Action │ Principal │ Condition │ ├───┼────────────────────────────────┼────────┼──────────────┼───────────┼───────────┤ │ + │ ${StaticSite/SiteBucket.Arn}/* │ Allow │ s3:GetObject │ * │ │ └───┴────────────────────────────────┴────────┴──────────────┴───────────┴───────────┘ (NOTE: There may be security-related changes not in this list. See http://bit.ly/cdk-2EhF7Np) Do you wish to deploy these changes (y/n)? y MyStaticSite: deploying... MyStaticSite: creating CloudFormation changeset... 0/8 | 10:36:34 am | CREATE_IN_PROGRESS | AWS::Route53::HostedZone | StaticSite/MyHostedZone (StaticSiteMyHostedZone2FF4976C) 0/8 | 10:36:34 am | CREATE_IN_PROGRESS | AWS::CDK::Metadata | CDKMetadata 0/8 | 10:36:35 am | CREATE_IN_PROGRESS | AWS::Route53::HostedZone | StaticSite/MyHostedZone (StaticSiteMyHostedZone2FF4976C) Resource creation Initiated 0/8 | 10:36:35 am | CREATE_IN_PROGRESS | AWS::CertificateManager::Certificate | StaticSite/ArnParameter (StaticSiteArnParameterED3722EA) 0/8 | 10:36:35 am | CREATE_IN_PROGRESS | AWS::S3::Bucket | StaticSite/SiteBucket (StaticSiteSiteBucket1A888BC8) 0/8 | 10:36:35 am | CREATE_IN_PROGRESS | AWS::CertificateManager::Certificate | StaticSite/ArnParameter (StaticSiteArnParameterED3722EA) Resource creation Initiated 0/8 | 10:36:36 am | CREATE_IN_PROGRESS | AWS::S3::Bucket | StaticSite/SiteBucket (StaticSiteSiteBucket1A888BC8) Resource creation Initiated 0/8 | 10:36:37 am | CREATE_IN_PROGRESS | AWS::CDK::Metadata | CDKMetadata Resource creation Initiated 1/8 | 10:36:37 am | CREATE_COMPLETE | AWS::CDK::Metadata | CDKMetadata 2/8 | 10:36:37 am | CREATE_FAILED | AWS::S3::Bucket | StaticSite/SiteBucket (StaticSiteSiteBucket1A888BC8) The bucket is in this region: us-east-1. Please use this region to retry the request (Service: Amazon S3; Status Code: 301; Error Code: PermanentRedirect; Request ID: 7EDBFFD25DBFE302; S3 Extended Request ID: AmM1Q9oFc/pWVtKv2RYooH/OASEwNGHhFh+lJWJwDMURI5k0HnVo7nwve9nwQO8NNGmVWK3+y7Q=) new Bucket (/home/hendry/tmp/aws-cdk-examples/typescript/static-site/node_modules/@aws-cdk/aws-s3/lib/bucket.js:342:26) \_ new StaticSite (/home/hendry/tmp/aws-cdk-examples/typescript/static-site/static-site.js:25:28) \_ new MyStaticSiteStack (/home/hendry/tmp/aws-cdk-examples/typescript/static-site/index.js:20:9) \_ Object. (/home/hendry/tmp/aws-cdk-examples/typescript/static-site/index.js:27:1) \_ Module._compile (internal/modules/cjs/loader.js:816:30) \_ Object.Module._extensions..js (internal/modules/cjs/loader.js:827:10) \_ Module.load (internal/modules/cjs/loader.js:685:32) \_ Function.Module._load (internal/modules/cjs/loader.js:620:12) \_ Function.Module.runMain (internal/modules/cjs/loader.js:877:12) \_ internal/main/run_main_module.js:21:11 3/8 | 10:36:38 am | CREATE_FAILED | AWS::Route53::HostedZone | StaticSite/MyHostedZone (StaticSiteMyHostedZone2FF4976C) Resource creation cancelled new HostedZone (/home/hendry/tmp/aws-cdk-examples/typescript/static-site/node_modules/@aws-cdk/aws-route53/lib/hosted-zone.js:16:26) \_ new StaticSite (/home/hendry/tmp/aws-cdk-examples/typescript/static-site/static-site.js:63:22) \_ new MyStaticSiteStack (/home/hendry/tmp/aws-cdk-examples/typescript/static-site/index.js:20:9) \_ Object. (/home/hendry/tmp/aws-cdk-examples/typescript/static-site/index.js:27:1) \_ Module._compile (internal/modules/cjs/loader.js:816:30) \_ Object.Module._extensions..js (internal/modules/cjs/loader.js:827:10) \_ Module.load (internal/modules/cjs/loader.js:685:32) \_ Function.Module._load (internal/modules/cjs/loader.js:620:12) \_ Function.Module.runMain (internal/modules/cjs/loader.js:877:12) \_ internal/main/run_main_module.js:21:11 4/8 | 10:36:38 am | CREATE_FAILED | AWS::CertificateManager::Certificate | StaticSite/ArnParameter (StaticSiteArnParameterED3722EA) Resource creation cancelled new Certificate (/home/hendry/tmp/aws-cdk-examples/typescript/static-site/node_modules/@aws-cdk/aws-certificatemanager/lib/certificate.js:39:22) \_ new StaticSite (/home/hendry/tmp/aws-cdk-examples/typescript/static-site/static-site.js:37:32) \_ new MyStaticSiteStack (/home/hendry/tmp/aws-cdk-examples/typescript/static-site/index.js:20:9) \_ Object. (/home/hendry/tmp/aws-cdk-examples/typescript/static-site/index.js:27:1) \_ Module._compile (internal/modules/cjs/loader.js:816:30) \_ Object.Module._extensions..js (internal/modules/cjs/loader.js:827:10) \_ Module.load (internal/modules/cjs/loader.js:685:32) \_ Function.Module._load (internal/modules/cjs/loader.js:620:12) \_ Function.Module.runMain (internal/modules/cjs/loader.js:877:12) \_ internal/main/run_main_module.js:21:11 4/8 | 10:36:38 am | ROLLBACK_IN_PROGRESS | AWS::CloudFormation::Stack | MyStaticSite The following resource(s) failed to create: [StaticSiteArnParameterED3722EA, StaticSiteMyHostedZone2FF4976C, StaticSiteSiteBucket1A888BC8]. . Rollback requested by user. 4/8 | 10:37:00 am | DELETE_IN_PROGRESS | AWS::S3::Bucket | StaticSite/SiteBucket (StaticSiteSiteBucket1A888BC8) 4/8 | 10:37:01 am | DELETE_IN_PROGRESS | AWS::CDK::Metadata | CDKMetadata 4/8 | 10:37:01 am | DELETE_IN_PROGRESS | AWS::CertificateManager::Certificate | StaticSite/ArnParameter (StaticSiteArnParameterED3722EA) 4/8 | 10:37:02 am | DELETE_IN_PROGRESS | AWS::Route53::HostedZone | StaticSite/MyHostedZone (StaticSiteMyHostedZone2FF4976C) 5/8 | 10:37:02 am | DELETE_COMPLETE | AWS::S3::Bucket | StaticSite/SiteBucket (StaticSiteSiteBucket1A888BC8) 6/8 | 10:37:04 am | DELETE_COMPLETE | AWS::CDK::Metadata | CDKMetadata 7/8 | 10:37:33 am | DELETE_COMPLETE | AWS::Route53::HostedZone | StaticSite/MyHostedZone (StaticSiteMyHostedZone2FF4976C) 8/8 | 10:38:01 am | DELETE_COMPLETE | AWS::CertificateManager::Certificate | StaticSite/ArnParameter (StaticSiteArnParameterED3722EA) 9/8 | 10:38:02 am | ROLLBACK_COMPLETE | AWS::CloudFormation::Stack | MyStaticSite ❌ MyStaticSite failed: Error: The stack named MyStaticSite failed creation, it may need to be manually deleted from the AWS console: ROLLBACK_COMPLETE The stack named MyStaticSite failed creation, it may need to be manually deleted from the AWS console: ROLLBACK_COMPLETE [hendry@t480s static-site]$ [hendry@t480s static-site]$ export AWS_REGION=us-east-1 [hendry@t480s static-site]$ cdk deploy -c domain=webconverger.com -c subdomain=talks MyStaticSite: deploying... MyStaticSite: creating CloudFormation changeset... 0/8 | 10:41:00 am | CREATE_IN_PROGRESS | AWS::S3::Bucket | StaticSite/SiteBucket (StaticSiteSiteBucket1A888BC8) 0/8 | 10:41:00 am | CREATE_IN_PROGRESS | AWS::Route53::HostedZone | StaticSite/MyHostedZone (StaticSiteMyHostedZone2FF4976C) 0/8 | 10:41:00 am | CREATE_IN_PROGRESS | AWS::CertificateManager::Certificate | StaticSite/ArnParameter (StaticSiteArnParameterED3722EA) 0/8 | 10:41:00 am | CREATE_IN_PROGRESS | AWS::CDK::Metadata | CDKMetadata 0/8 | 10:41:00 am | CREATE_IN_PROGRESS | AWS::S3::Bucket | StaticSite/SiteBucket (StaticSiteSiteBucket1A888BC8) Resource creation Initiated 0/8 | 10:41:00 am | CREATE_IN_PROGRESS | AWS::CertificateManager::Certificate | StaticSite/ArnParameter (StaticSiteArnParameterED3722EA) Resource creation Initiated 0/8 | 10:41:01 am | CREATE_IN_PROGRESS | AWS::Route53::HostedZone | StaticSite/MyHostedZone (StaticSiteMyHostedZone2FF4976C) Resource creation Initiated 0/8 | 10:41:03 am | CREATE_IN_PROGRESS | AWS::CDK::Metadata | CDKMetadata Resource creation Initiated 1/8 | 10:41:03 am | CREATE_COMPLETE | AWS::CDK::Metadata | CDKMetadata 2/8 | 10:41:21 am | CREATE_COMPLETE | AWS::S3::Bucket | StaticSite/SiteBucket (StaticSiteSiteBucket1A888BC8) 2/8 | 10:41:24 am | CREATE_IN_PROGRESS | AWS::S3::BucketPolicy | StaticSite/SiteBucket/Policy (StaticSiteSiteBucketPolicyD7934718) 2/8 | 10:41:26 am | CREATE_IN_PROGRESS | AWS::S3::BucketPolicy | StaticSite/SiteBucket/Policy (StaticSiteSiteBucketPolicyD7934718) Resource creation Initiated 3/8 | 10:41:26 am | CREATE_COMPLETE | AWS::S3::BucketPolicy | StaticSite/SiteBucket/Policy (StaticSiteSiteBucketPolicyD7934718) 3/8 Currently in progress: StaticSiteMyHostedZone2FF4976C, StaticSiteArnParameterED3722EA 4/8 | 10:42:02 am | CREATE_COMPLETE | AWS::Route53::HostedZone | StaticSite/MyHostedZone (StaticSiteMyHostedZone2FF4976C) 4/8 Currently in progress: StaticSiteArnParameterED3722EA 5/8 | 10:53:06 am | CREATE_COMPLETE | AWS::CertificateManager::Certificate | StaticSite/ArnParameter (StaticSiteArnParameterED3722EA) 5/8 | 10:53:08 am | CREATE_IN_PROGRESS | AWS::CloudFront::Distribution | StaticSite/SiteDistribution/CFDistribution (StaticSiteSiteDistributionCFDistribution500D676B) 6/8 | 10:53:11 am | CREATE_FAILED | AWS::CloudFront::Distribution | StaticSite/SiteDistribution/CFDistribution (StaticSiteSiteDistributionCFDistribution500D676B) The certificate that is attached to your distribution doesn't cover the alternate domain name (CNAME) that you're trying to add. For more details, see: https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/CNAMEs.html#alternate-domain-names-requirements (Service: AmazonCloudFront; Status Code: 400; Error Code: InvalidViewerCertificate; Request ID: a63fa81a-be3e-11e9-9e08-a9d6f4920894) new CloudFrontWebDistribution (/home/hendry/tmp/aws-cdk-examples/typescript/static-site/node_modules/@aws-cdk/aws-cloudfront/lib/web_distribution.js:289:30) \_ new StaticSite (/home/hendry/tmp/aws-cdk-examples/typescript/static-site/static-site.js:41:30) \_ new MyStaticSiteStack (/home/hendry/tmp/aws-cdk-examples/typescript/static-site/index.js:20:9) \_ Object. (/home/hendry/tmp/aws-cdk-examples/typescript/static-site/index.js:27:1) \_ Module._compile (internal/modules/cjs/loader.js:816:30) \_ Object.Module._extensions..js (internal/modules/cjs/loader.js:827:10) \_ Module.load (internal/modules/cjs/loader.js:685:32) \_ Function.Module._load (internal/modules/cjs/loader.js:620:12) \_ Function.Module.runMain (internal/modules/cjs/loader.js:877:12) \_ internal/main/run_main_module.js:21:11 6/8 | 10:53:12 am | ROLLBACK_IN_PROGRESS | AWS::CloudFormation::Stack | MyStaticSite The following resource(s) failed to create: [StaticSiteSiteDistributionCFDistribution500D676B]. . Rollback requested by user. 6/8 | 10:53:32 am | DELETE_IN_PROGRESS | AWS::CDK::Metadata | CDKMetadata 6/8 | 10:53:32 am | DELETE_IN_PROGRESS | AWS::S3::BucketPolicy | StaticSite/SiteBucket/Policy (StaticSiteSiteBucketPolicyD7934718) 6/8 | 10:53:32 am | DELETE_IN_PROGRESS | AWS::Route53::HostedZone | StaticSite/MyHostedZone (StaticSiteMyHostedZone2FF4976C) 7/8 | 10:53:32 am | DELETE_COMPLETE | AWS::CloudFront::Distribution | StaticSite/SiteDistribution/CFDistribution (StaticSiteSiteDistributionCFDistribution500D676B) 8/8 | 10:53:33 am | DELETE_COMPLETE | AWS::S3::BucketPolicy | StaticSite/SiteBucket/Policy (StaticSiteSiteBucketPolicyD7934718) 8/8 | 10:53:33 am | DELETE_IN_PROGRESS | AWS::CertificateManager::Certificate | StaticSite/ArnParameter (StaticSiteArnParameterED3722EA) 8/8 | 10:53:34 am | DELETE_IN_PROGRESS | AWS::S3::Bucket | StaticSite/SiteBucket (StaticSiteSiteBucket1A888BC8) 9/8 | 10:53:34 am | DELETE_COMPLETE | AWS::CDK::Metadata | CDKMetadata 10/8 | 10:53:35 am | DELETE_COMPLETE | AWS::S3::Bucket | StaticSite/SiteBucket (StaticSiteSiteBucket1A888BC8) 10/8 Currently in progress: MyStaticSite, StaticSiteMyHostedZone2FF4976C, StaticSiteArnParameterED3722EA 11/8 | 10:54:34 am | DELETE_COMPLETE | AWS::CertificateManager::Certificate | StaticSite/ArnParameter (StaticSiteArnParameterED3722EA) 12/8 | 10:54:34 am | DELETE_COMPLETE | AWS::Route53::HostedZone | StaticSite/MyHostedZone (StaticSiteMyHostedZone2FF4976C) ❌ MyStaticSite failed: Error: The stack named MyStaticSite failed creation, it may need to be manually deleted from the AWS console: ROLLBACK_COMPLETE The stack named MyStaticSite failed creation, it may need to be manually deleted from the AWS console: ROLLBACK_COMPLETE [hendry@t480s static-site]$ [hendry@t480s static-site]$ [hendry@t480s static-site]$ [hendry@t480s static-site]$ [hendry@t480s static-site]$ [hendry@t480s static-site]$ [hendry@t480s static-site]$ ll total 144K drwxrwxr-x 5 hendry users 4.0K Aug 13 21:11 . drwxrwxr-x 14 hendry users 4.0K Aug 13 20:47 .. drwxrwxr-x 2 hendry users 4.0K Aug 13 20:49 cdk.out drwxrwxr-x 2 hendry users 4.0K Aug 13 21:11 'domain=webconverger.com' drwxrwxr-x 206 hendry users 4.0K Aug 13 20:48 node_modules -rw-rw-r-- 1 hendry users 28 Aug 13 20:47 cdk.json -rw-rw-r-- 1 hendry users 94 Aug 13 20:47 DO_NOT_AUTOTEST -rw-rw-r-- 1 hendry users 3.0K Aug 13 20:48 index.js -rw-rw-r-- 1 hendry users 838 Aug 13 20:47 index.ts -rw-rw-r-- 1 hendry users 723 Aug 13 20:47 package.json -rw-rw-r-- 1 hendry users 78K Aug 13 20:48 package-lock.json -rw-rw-r-- 1 hendry users 1.8K Aug 13 20:47 README.md -rw-rw-r-- 1 hendry users 11K Aug 13 20:48 static-site.js -rw-rw-r-- 1 hendry users 3.3K Aug 13 20:47 static-site.ts -rw-rw-r-- 1 hendry users 602 Aug 13 20:47 tsconfig.json [hendry@t480s static-site]$ vim static-site.js [hendry@t480s static-site]$ wc -l static-site.js 73 static-site.js [hendry@t480s static-site]$ vim static-site.js [hendry@t480s static-site]$ [hendry@t480s static-site]$ [hendry@t480s static-site]$ [hendry@t480s static-site]$