terraform-provider-envbuilder/examples
Cian Johnston 68cc59d705
fix(internal/provider): correct escaping of strings in envbuilder_cached_image.env ()
Fixes 

We had previously been doing the equivalent of value.String() when writing envbuilder_cached_image.env. This was incorrectly escaping newlines, potentially breaking ENVBUILDER_INIT_SCRIPT.

This PR modifies the behaviour to correctly handle string values via ValueString() instead.
2024-08-14 14:55:22 +01:00
..
provider chore: update README.md () 2024-08-09 11:02:20 +01:00
resources/envbuilder_cached_image fix(internal/provider): correct escaping of strings in envbuilder_cached_image.env () 2024-08-14 14:55:22 +01:00
README.md Initial commit 2024-07-18 14:43:45 +03: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/full data source name/data-source.tf example file for the named data source page
  • resources/full resource name/resource.tf example file for the named data source page