diff --git a/.github/templates/README.tpl b/.github/templates/README.tpl index f007195..6057a70 100644 --- a/.github/templates/README.tpl +++ b/.github/templates/README.tpl @@ -6,7 +6,7 @@ ## Version {{ $version }} -Using [terraform-docs](https://github.com/segmentio/terraform-docs) v0.8.0, which is supported and tested on terraform version 0.11+ & 0.12+ but may work for others. +Using [terraform-docs](https://github.com/segmentio/terraform-docs) v0.8.2, which is supported and tested on terraform version 0.11+ & 0.12+ but may work for others. {{ if eq $version "master" }} | WARNING: You should not rely on master being stable or to have accurate documentation. Please use a git tagged semver or major version tag like `v1`. | diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 87482d2..327f0d0 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -1,6 +1,8 @@ name: Build on: - - push + push: + branches-ignore: + - master jobs: build: name: 'Build example docs' diff --git a/Dockerfile b/Dockerfile index 183a7bb..003df12 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM derekrada/terraform-docs:v1.0.6 +FROM derekrada/terraform-docs:latest COPY ./src/common.sh /common.sh COPY ./src/docker-entrypoint.sh /docker-entrypoint.sh diff --git a/docker/Dockerfile b/docker/Dockerfile index c00e032..51e0f95 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -1,6 +1,5 @@ FROM golang:1.13-alpine3.10 as builder -# Locked down to a specific commit until v0.8 is released -ARG VERSION=v0.8.0 +ARG VERSION=v0.8.2 # Install dependencies RUN set -x \ diff --git a/examples/tf12_atlantis/README.md b/examples/tf12_atlantis/README.md index 2486d9e..09f8eb6 100644 --- a/examples/tf12_atlantis/README.md +++ b/examples/tf12_atlantis/README.md @@ -18,7 +18,7 @@ | Name | Description | Type | Default | Required | |------|-------------|------|---------|:-----:| -| extra\_environment | List of additional environment variables |
list(object({
name = string
value = string
}))
| `[]` | no | +| extra\_environment | List of additional environment variables |
list(object({
name = string
value = string
}))
| `[]` | no | | extra\_tags | Additional tags | `map(string)` | `{}` | no | | instance\_count | Number of instances to create | `number` | `1` | no | | instance\_name | Instance name prefix | `string` | `"test-"` | no | diff --git a/examples/tf12_basic/README.md b/examples/tf12_basic/README.md index d8fe9a7..f15445d 100644 --- a/examples/tf12_basic/README.md +++ b/examples/tf12_basic/README.md @@ -26,7 +26,7 @@ | Name | Description | Type | Default | Required | |------|-------------|------|---------|:-----:| -| extra\_environment | List of additional environment variables |
list(object({
name = string
value = string
}))
| `[]` | no | +| extra\_environment | List of additional environment variables |
list(object({
name = string
value = string
}))
| `[]` | no | | extra\_tags | Additional tags | `map(string)` | `{}` | no | | instance\_count | Number of instances to create | `number` | `1` | no | | instance\_name | Instance name prefix | `string` | `"test-"` | no | diff --git a/examples/tf12_find/USAGE.md b/examples/tf12_find/USAGE.md index db5ece0..950378f 100644 --- a/examples/tf12_find/USAGE.md +++ b/examples/tf12_find/USAGE.md @@ -11,7 +11,7 @@ | Name | Description | Type | Default | Required | |------|-------------|------|---------|:-----:| -| extra\_environment | List of additional environment variables |
list(object({
name = string
value = string
}))
| `[]` | no | +| extra\_environment | List of additional environment variables |
list(object({
name = string
value = string
}))
| `[]` | no | | extra\_tags | Additional tags | `map(string)` | `{}` | no | | instance\_count | Number of instances to create | `number` | `1` | no | | instance\_name | Instance name prefix | `string` | `"test-"` | no | diff --git a/examples/tf12_find/modules/tf12_find_submodules/USAGE.md b/examples/tf12_find/modules/tf12_find_submodules/USAGE.md index 637635a..7da4e0b 100644 --- a/examples/tf12_find/modules/tf12_find_submodules/USAGE.md +++ b/examples/tf12_find/modules/tf12_find_submodules/USAGE.md @@ -8,7 +8,7 @@ No provider. | Name | Description | Type | Default | Required | |------|-------------|------|---------|:-----:| -| extra\_environment | List of additional environment variables |
list(object({
name = string
value = string
}))
| `[]` | no | +| extra\_environment | List of additional environment variables |
list(object({
name = string
value = string
}))
| `[]` | no | | extra\_tags | Additional tags | `map(string)` | `{}` | no | | instance\_count | Number of instances to create | `number` | `1` | no | | instance\_name | Instance name prefix | `string` | `"test-"` | no | diff --git a/examples/tf12_inject/README.md b/examples/tf12_inject/README.md index fd052d5..69e4e1d 100644 --- a/examples/tf12_inject/README.md +++ b/examples/tf12_inject/README.md @@ -30,7 +30,7 @@ |------|-------------|------|---------|:-----:| | subnet\_ids | A list of subnet ids to use | `list(string)` | n/a | yes | | vpc\_id | The id of the vpc | `string` | n/a | yes | -| extra\_environment | List of additional environment variables |
list(object({
name = string
value = string
}))
| `[]` | no | +| extra\_environment | List of additional environment variables |
list(object({
name = string
value = string
}))
| `[]` | no | | extra\_tags | Additional tags | `map(string)` | `{}` | no | | instance\_count | Number of instances to create | `number` | `1` | no | | instance\_name | Instance name prefix | `string` | `"test-"` | no |