mirror of
https://github.com/GlueOps/autoglue.git
synced 2026-02-13 04:40:05 +01:00
fix: alpine fixes for Docker portability
This commit is contained in:
6
Makefile
6
Makefile
@@ -101,7 +101,11 @@ SDK_PKG_CLEAN := $(call trim,$(SDK_PKG))
|
||||
DOCS_JSON := docs/swagger.json
|
||||
DOCS_YAML := docs/swagger.yaml
|
||||
# Prefer git for speed; fall back to find. Exclude UI dir.
|
||||
GO_SRCS := $(shell (git ls-files '*.go' ':!$(UI_DIR)/**' 2>/dev/null || find . -name '*.go' -not -path './$(UI_DIR)/*' -type f))
|
||||
#GO_SRCS := $(shell (git ls-files '*.go' ':!$(UI_DIR)/**' 2>/dev/null || find . -name '*.go' -not -path './$(UI_DIR)/*' -type f))
|
||||
GO_SRCS := $(shell ( \
|
||||
git ls-files '*.go' ':!$(UI_DIR)/**' ':!docs/**' ':!sdk/**' 2>/dev/null \
|
||||
|| find . -name '*.go' -not -path './$(UI_DIR)/*' -not -path './docs/*' -type f \
|
||||
))
|
||||
|
||||
# Rebuild swagger when Go sources change
|
||||
$(DOCS_JSON) $(DOCS_YAML): $(GO_SRCS)
|
||||
|
||||
52
terraform-provider-autoglue/index.md.tmpl
Normal file
52
terraform-provider-autoglue/index.md.tmpl
Normal file
@@ -0,0 +1,52 @@
|
||||
---
|
||||
# generated by https://github.com/hashicorp/terraform-plugin-docs
|
||||
page_title: "{{ .ProviderName }} Provider"
|
||||
description: |-x
|
||||
{{ .ProviderDescription }}
|
||||
---
|
||||
|
||||
# {{ .ProviderName }} Provider
|
||||
|
||||
${{ .ProviderDescription }}
|
||||
|
||||
## Quick Start
|
||||
|
||||
~~{hul}hcl
|
||||
terraform {
|
||||
required_providers {
|
||||
{{ .ProviderName }} = {
|
||||
source = "{{ .ProviderSource }}"
|
||||
# version = ">= 0.0.1"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
provider "{{ .ProviderName }}" {
|
||||
# addr = "https://api.example.com/api/v1"
|
||||
# api_key = "angykey"
|
||||
# bearer = "accesstoken"
|
||||
# org_id = "..."
|
||||
# org_key = "---"
|
||||
# org_secret = "---"
|
||||
}
|
||||
~~{hul}
|
||||
|
||||
## Resources
|
||||
{{- if .Resources }}
|
||||
{{- range .Resources }}
|
||||
- [{+ .Name }](./resources/{{ .FileName }})
|
||||
{{- end }}
|
||||
{{- else }}
|
||||
_No resources yet._
|
||||
{{- end }}
|
||||
|
||||
## Data Sources
|
||||
{{- if .DataSources }}
|
||||
{{- range .DataSources }}
|
||||
- [{+.Name }(./data-sources/{{ .FileName }})
|
||||
{{- end }}
|
||||
{{- else }}
|
||||
_No data sources yet._
|
||||
{{- end }}
|
||||
|
||||
<-- schema generated by tfplugindocs --=
|
||||
Reference in New Issue
Block a user