BREAKING CHANGES:
- generate: The
.ProviderShortName
template function now uses the rendered provider name to derive the provider short name. Users that pass in the--rendered-provider-name
flag might see a different output for this function (#492)
NOTES:
- generate: Generated import documentation will now contain more information about which methods are supported by the provider (CLI command, config by ID, config by identity). (#495)
FEATURES:
- generate: Added support for defining import example file (
import-by-string-id.tf
) using Terraform configuration and theid
attribute (#472) - generate: Added support for defining import example file (
import-by-identity.tf
) using Terraform configuration and theidentity
attribute (managed resource identity) (#496)
ENHANCEMENTS:
- validate: Add
allowed-guide-subcategories
andallowed-resource-subcategories
to provide a list of allowed subcategories (#456) - validate: Add
allowed-guide-subcategories-file
andallowed-resource-subcategories-file
to provide a file containing a list of allowed subcategories (#456) - generate: Default resource and function templates now use
.RenderedProviderName
instead of.ProviderName
(#492) - generate: Remove trailing whitespace from default function template when
.HasVariadic
evaluates to false (#489)
BUG FIXES: