terraform-provider-tfcoremock

Terraform mock provider - Used to configure and test Terraform configuration edge cases and output.

MPL-2.0 License

Stars
13
Committers
6

Bot releases are visible (Hide)

terraform-provider-tfcoremock - v0.3.0 Latest Release

Published by github-actions[bot] about 2 months ago

ENHANCEMENTS:

  • Destroying the last managed resource in a workspace will now cause the provider to also tidy up and remove the resource directory itself. (#54)
terraform-provider-tfcoremock - v0.2.0

Published by github-actions[bot] over 1 year ago

ENHANCEMENTS:

  • Computed attributes in dynamic resources will no longer create default values, but will return null values by default. Users can still specify concrete values for computed attributes to return. (#51)

BUG FIXES:

  • Fix bug in which custom values for the resource and data directories were being interpreted incorrectly, meaning custom resource and data directories were unusable. (#52)
terraform-provider-tfcoremock - v0.1.3

Published by github-actions[bot] over 1 year ago

BUG FIXES:

  • Fix bug in which data sources that were not setting the computed status for their attributes. (#48)
terraform-provider-tfcoremock - v0.1.2

Published by github-actions[bot] almost 2 years ago

FEATURES:

  • Introduce the TFCOREMOCK_DYNAMIC_RESOURCES_FILE environment variable. The location of the dynamic_resources.json file is now customisable.

v0.1.1 (24 Nov 2022)

FEATURES:

  • sensitive: Resource and data source attributes can be marked as sensitive, meaning they will be elided in Terraform plans and logs.
  • replace: Resource and data source attributes can be marked as forcing a replacement, meaning that when these attributes are modified the resource will be destroyed and recreated instead of just updated.
  • skip_nested_metadata: Resource and data source complex attributes can be created without embedded metadata. This doesn't change anything when editing Terraform config, but it changes the underlying format of the attributes and removes optional, sensitive, replacement metadata from attributes nested within complex attributes marked with this field.

v0.1.0 (22 Nov 2022)

First release of the Terraform Core Mock terraform provider.

FEATURES:

  • tfcoremock_simple_resource: Resource and data source for a simple resource that can model numbers, strings, and booleans.
  • tfcoremock_complex_resource: Resource and data source for a complex resource that can model nested blocks, lists, sets, maps and objects.
  • Reads a dynamic_resources.json file to allow the user to specify additional resources and data sources dynamically.
    • Add support for computed attributes within dynamic resources. (#5)
terraform-provider-tfcoremock - v0.1.1

Published by github-actions[bot] almost 2 years ago

FEATURES:

  • sensitive: Resource and data source attributes can be marked as sensitive, meaning they will be elided in Terraform plans and logs.
  • replace: Resource and data source attributes can be marked as forcing a replacement, meaning that when these attributes are modified the resource will be destroyed and recreated instead of just updated.
  • skip_nested_metadata: Resource and data source complex attributes can be created without embedded metadata. This doesn't change anything when editing Terraform config, but it changes the underlying format of the attributes and removes optional, sensitive, replacement metadata from attributes nested within complex attributes marked with this field.

v0.1.0 (22 Nov 2022)

First release of the Terraform Core Mock terraform provider.

FEATURES:

  • tfcoremock_simple_resource: Resource and data source for a simple resource that can model numbers, strings, and booleans.
  • tfcoremock_complex_resource: Resource and data source for a complex resource that can model nested blocks, lists, sets, maps and objects.
  • Reads a dynamic_resources.json file to allow the user to specify additional resources and data sources dynamically.
    • Add support for computed attributes within dynamic resources. (#5)
terraform-provider-tfcoremock - v0.1.0

Published by github-actions[bot] almost 2 years ago

First release of the Terraform Core Mock terraform provider.

FEATURES:

  • tfcoremock_simple_resource: Resource and data source for a simple resource that can model numbers, strings, and booleans.
  • tfcoremock_complex_resource: Resource and data source for a complex resource that can model nested blocks, lists, sets, maps and objects.
  • Reads a dynamic_resources.json file to allow the user to specify additional resources and data sources dynamically.
    • Add support for computed attributes within dynamic resources. (#5)