diff --git a/.prettierignore b/.prettierignore index d0e19f2..b2fc7d4 100644 --- a/.prettierignore +++ b/.prettierignore @@ -7,3 +7,4 @@ list.json.json /static/js/ /src/favicon/ LICENSE +**/*.html diff --git a/.prettierrc b/.prettierrc index 7d0f2d4..bfb86bb 100644 --- a/.prettierrc +++ b/.prettierrc @@ -2,13 +2,5 @@ "printWidth": 99, "singleQuote": false, "semi": false, - "trailingComma": "none", - "overrides": [ - { - "files": ["*.html"], - "options": { - "parser": "go-template" - } - } - ] + "trailingComma": "none" } diff --git a/content/posts/2022/store-terraform-state-on-backblaze-s3/index.md b/content/posts/2022/store-terraform-state-on-backblaze-s3/index.md index 6c2056a..ecae21a 100644 --- a/content/posts/2022/store-terraform-state-on-backblaze-s3/index.md +++ b/content/posts/2022/store-terraform-state-on-backblaze-s3/index.md @@ -18,7 +18,7 @@ resources: Terraform is an open source infrastructure-as-code tool for creating, modifying, and extending infrastructure in a secure and predictable way. Terraform needs to store a state about the managed infrastructure and configuration. This state is used by Terraform to map real-world resources to your configuration and track metadata. By default, this state is stored in a local file, but it can also be stored remotely. -Terraform supports multiple remote backend provider including S3. I already use Backblaze for backups and have had good experiences with it. Since Backblaze also provides an S3 Compatible API, I wanted to use it for Terraform. How to use S3 as a state backend is well [documented](https://www.terraform.io/language/settings/backends/s3), but as it's focused on Amazon S3 there are a few things to take care of. A basic working configuration will look like this: +Terraform supports multiple remote backend provider including S3. I already use Backblaze for backups and have had good experiences with it. Since Backblaze also provides an S3 Compatible API, I wanted to use it for Terraform. How to use S3 as a state backend is well [documented](https://developer.hashicorp.com/terraform/language/settings/backends/s3), but as it's focused on Amazon S3 there are a few things to take care of. A basic working configuration will look like this: ```Terraform terraform { diff --git a/package-lock.json b/package-lock.json index 37aff42..b634ffb 100644 --- a/package-lock.json +++ b/package-lock.json @@ -14,7 +14,6 @@ "js-yaml": "4.1.0", "npm-run-all": "4.1.5", "prettier": "2.8.8", - "prettier-plugin-go-template": "0.0.13", "shx": "0.3.4", "svg-sprite": "2.0.2", "webpack": "5.88.1", @@ -3249,21 +3248,6 @@ "url": "https://github.com/prettier/prettier?sponsor=1" } }, - "node_modules/prettier-plugin-go-template": { - "version": "0.0.13", - "resolved": "https://registry.npmjs.org/prettier-plugin-go-template/-/prettier-plugin-go-template-0.0.13.tgz", - "integrity": "sha512-gG/xT5kd+kCzoMaTchXvdfBdsunyRCV6G8cgdPGPd2V5JGGKXUG7SjzBKU7jaGh2RTeblcAdBb/E+S/duOAMsA==", - "dev": true, - "dependencies": { - "ulid": "^2.3.0" - }, - "engines": { - "node": ">=14.0.0" - }, - "peerDependencies": { - "prettier": "^2.0.0" - } - }, "node_modules/pretty-error": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/pretty-error/-/pretty-error-4.0.0.tgz", @@ -4313,15 +4297,6 @@ "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/ulid": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/ulid/-/ulid-2.3.0.tgz", - "integrity": "sha512-keqHubrlpvT6G2wH0OEfSW4mquYRcbe/J8NMmveoQOjUqmo+hXtO+ORCpWhdbZ7k72UtY61BL7haGxW6enBnjw==", - "dev": true, - "bin": { - "ulid": "bin/cli.js" - } - }, "node_modules/unbox-primitive": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/unbox-primitive/-/unbox-primitive-1.0.2.tgz", diff --git a/package.json b/package.json index 14e2a21..268fe1f 100644 --- a/package.json +++ b/package.json @@ -26,7 +26,6 @@ "js-yaml": "4.1.0", "npm-run-all": "4.1.5", "prettier": "2.8.8", - "prettier-plugin-go-template": "0.0.13", "shx": "0.3.4", "svg-sprite": "2.0.2", "webpack": "5.88.1",