terraform-provider-docker/examples
Manuel Vogel 7f96a26866
fix/service bind options (#234)
* fix: give service bind_options propagation rprivate as default
* test: add second bind mount for full-service spec to test this case as well
* docs: add a second mount to service example
* fix(service): allow other options for mount binds although they might not be the specified type
* test: for empty and null mount bind
* docs(service): explains propagation more in details
* docs(service): adds missing default for propagation
* fix(test): update stop grace period to 30s for flaky test on gh actions

Co-authored-by: Shunsuke Suzuki <suzuki-shunsuke@users.noreply.github.com>
2021-06-27 16:34:01 +02:00
..
data-sources fix/service image name (#212) 2021-06-21 09:24:02 +02:00
provider chore: prepare release v2.13.0 2021-06-22 17:32:10 +02:00
resources fix/service bind options (#234) 2021-06-27 16:34:01 +02:00
ssh-protocol feat/doc generation (#193) 2021-05-21 21:30:56 +09:00
README.md feat/doc generation (#193) 2021-05-21 21:30:56 +09:00

Examples

This directory contains examples that are mostly used for documentation, but can also be run/tested manually via the Terraform CLI.

The document generation tool looks for files in the following locations by default. All other *.tf files besides the ones mentioned below are ignored by the documentation tool. This is useful for creating examples that can run and/or ar testable even if some parts are not relevant for the documentation.

  • provider/provider.tf example file for the provider index page
  • data-sources//data-source.tf example file for the named data source page
  • resources//resource.tf example file for the named data source page