From 709414867f58878b634e372f7de4bbd82e0c8b01 Mon Sep 17 00:00:00 2001 From: Sebastian Florek Date: Wed, 15 Nov 2023 16:33:27 +0100 Subject: [PATCH] cleanup and regenerate docs --- Makefile | 2 +- docs/resources/cluster.md | 1 + hack/docker/compose.yml | 20 -------------------- hack/docker/conf.json | 5 ----- 4 files changed, 2 insertions(+), 26 deletions(-) delete mode 100644 hack/docker/compose.yml delete mode 100644 hack/docker/conf.json diff --git a/Makefile b/Makefile index 848c01d..b97075c 100644 --- a/Makefile +++ b/Makefile @@ -39,7 +39,7 @@ install: build ## install plugin locally release: ## builds release version of the app. Requires GoReleaser to work. goreleaser build --clean --single-target --snapshot -.PHONY: install +.PHONY: install-go install: ## installs terraform plugin binary locally go install . diff --git a/docs/resources/cluster.md b/docs/resources/cluster.md index 232ac56..6dc5b4b 100644 --- a/docs/resources/cluster.md +++ b/docs/resources/cluster.md @@ -23,6 +23,7 @@ A representation of a cluster you can deploy to. ### Optional - `handle` (String) A short, unique human-readable name used to identify this cluster. Does not necessarily map to the cloud resource name. +- `protect` (Boolean) If set to `true` then this cluster cannot be deleted. - `tags` (Map of String) Key-value tags used to filter clusters. ### Read-Only diff --git a/hack/docker/compose.yml b/hack/docker/compose.yml deleted file mode 100644 index 8aae38d..0000000 --- a/hack/docker/compose.yml +++ /dev/null @@ -1,20 +0,0 @@ -version: '3.7' -services: - api: - image: "hashicorpdemoapp/product-api:v0.0.22" - ports: - - "19090:9090" - volumes: - - ./conf.json:/config/config.json - environment: - CONFIG_FILE: '/config/config.json' - depends_on: - - db - db: - image: "hashicorpdemoapp/product-api-db:v0.0.22" - ports: - - "15432:5432" - environment: - POSTGRES_DB: 'products' - POSTGRES_USER: 'postgres' - POSTGRES_PASSWORD: 'password' diff --git a/hack/docker/conf.json b/hack/docker/conf.json deleted file mode 100644 index da6b198..0000000 --- a/hack/docker/conf.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "db_connection": "host=db port=5432 user=postgres password=password dbname=products sslmode=disable", - "bind_address": "0.0.0.0:9090", - "metrics_address": "localhost:9102" -}