terraform-plugin-mux Example (framework + framework)

Terraform Provider Scaffolding (Terraform Plugin Framework)

This template repository is built on the Terraform Plugin Framework. The template repository built on the Terraform Plugin SDK can be found at terraform-provider-scaffolding. See Which SDK Should I Use? in the Terraform documentation for additional information.

This repository is a template for a Terraform provider. It is intended as a starting point for creating Terraform providers, containing:

  • A resource and a data source (internal/provider/),
  • Examples (examples/) and generated documentation (docs/),
  • Miscellaneous meta files.

These files contain boilerplate code that you will need to edit to create your own Terraform provider. Tutorials for creating Terraform providers can be found on the HashiCorp Learn platform. Terraform Plugin Framework specific guides are titled accordingly.

Please see the GitHub template repository documentation for how to create a new repository from this template on GitHub.

Once you've written your provider, you'll want to publish it on the Terraform Registry so that others can use it.

Requirements

Building The Provider

  1. Clone the repository
  2. Enter the repository directory
  3. Build the provider using the Go install command:
go install

Adding Dependencies

This provider uses Go modules. Please see the Go documentation for the most up to date information about using Go modules.

To add a new dependency github.com/author/dependency to your Terraform provider:

go get github.com/author/dependency
go mod tidy

Then commit the changes to go.mod and go.sum.

Using the provider

Fill this in for each provider

Developing the Provider

If you wish to work on the provider, you'll first need Go installed on your machine (see Requirements above).

To compile the provider, run go install. This will build the provider and put the provider binary in the $GOPATH/bin directory.

To generate or update documentation, run go generate.

In order to run the full suite of Acceptance tests, run make testacc.

Note: Acceptance tests create real resources, and often cost money to run.

make testacc
Comments
  • Bump github.com/hashicorp/terraform-plugin-framework from 0.5.0 to 1.0.0

    Bump github.com/hashicorp/terraform-plugin-framework from 0.5.0 to 1.0.0

    Bumps github.com/hashicorp/terraform-plugin-framework from 0.5.0 to 1.0.0.

    Release notes

    Sourced from github.com/hashicorp/terraform-plugin-framework's releases.

    v1.0.0

    NOTES:

    • The Terraform Plugin Framework is now generally available with semantic versioning compatibility promises. (#578)
    • types: Framework type implementations have been moved into the underlying basetypes package. Value creation functions and type aliases have been created in the types package that should prevent any breaking changes. (#567)

    BREAKING CHANGES:

    • provider: The Provider interface now requires the Metadata method. It can be left empty or set the MetadataResponse type TypeName field to populate datasource.MetadataRequest and resource.MetadataRequest type ProviderTypeName fields. (#580)
    • resource: The RequiresReplace() plan modifier has been removed. Use a type-specific plan modifier instead, such as resource/schema/stringplanmodifier.RequiresReplace() or resource/schema/stringplanmodifier.RequiresReplaceIfConfigured() (#576)
    • resource: The RequiresReplaceIf() plan modifier has been removed. Use a type-specific plan modifier instead, such as resource/schema/stringplanmodifier.RequiresReplaceIf() (#576)
    • resource: The Resource type GetSchema method has been removed. Use the Schema method instead. (#576)
    • resource: The StateUpgrader type PriorSchema field type has been migrated from tfsdk.Schema to resource/schema.Schema, similar to other resource schema handling (#573)
    • resource: The UseStateForUnknown() plan modifier has been removed. Use a type-specific plan modifier instead, such as resource/schema/stringplanmodifier.UseStateForUnknown() (#576)
    • tfsdk: The AttributePlanModifier interface has been removed. Use the type-specific plan modifier interfaces in the resource/schema/planmodifier package instead. (#576)
    • tfsdk: The AttributeValidator interface has been removed. Use the type-specific validator interfaces in the schema/validator package instead. (#576)
    • tfsdk: The Attribute, Block, and Schema types have been removed. Use the similarly named types in the datasource/schema, provider/schema, and resource/schema packages instead. (#576)
    • tfsdk: The ListNestedAttributes, MapNestedAttributes, SetNestedAttributes, and SingleNestedAttributes functions have been removed. Use the similarly named types in the datasource/schema, provider/schema, and resource/schema packages instead. (#576)
    • types: The type-specific Typable and Valuable interfaces have been moved into the underlying basetypes package. (#567)

    FEATURES:

    • types/basetypes: New package which contains embeddable types for custom types (#567)

    BUG FIXES:

    • datasource: Add Validate function to Schema to prevent usage of reserved and invalid names for attributes and blocks (#548)
    • provider: Add Validate function to MetaSchema to prevent usage of reserved and invalid names for attributes and blocks (#548)
    • provider: Add Validate function to Schema to prevent usage of reserved and invalid names for attributes and blocks (#548)
    • resource: Add Validate function to Schema to prevent usage of reserved and invalid names for attributes and blocks (#548)

    v0.17.0

    NOTES:

    • datasource: The DataSource type GetSchema method has been deprecated. Use the Schema method instead. (#546)
    • provider: The Provider type GetSchema method has been deprecated. Use the Schema method instead. (#553)
    • resource: The RequiresReplace() plan modifier has been deprecated. Use a type-specific plan modifier instead, such as resource/schema/stringplanmodifier.RequiresReplace() or resource/schema/stringplanmodifier.RequiresReplaceIfConfigured() (#565)
    • resource: The RequiresReplaceIf() plan modifier has been deprecated. Use a type-specific plan modifier instead, such as resource/schema/stringplanmodifier.RequiresReplaceIf() (#565)
    • resource: The Resource type GetSchema method has been deprecated. Use the Schema method instead. (#558)
    • resource: The UseStateForUnknown() plan modifier has been deprecated. Use a type-specific plan modifier instead, such as resource/schema/stringplanmodifier.UseStateForUnknown() (#565)
    • tfsdk: The Attribute, Block, and Schema types have been deprecated. Use the similarly named types in the datasource/schema, provider/schema, and resource/schema packages instead. (#563)
    • tfsdk: The ListNestedAttributes, MapNestedAttributes, SetNestedAttributes, and SingleNestedAttributes functions have been deprecated. Use the similarly named types in the datasource/schema, provider/schema, and resource/schema packages instead. (#563)

    BREAKING CHANGES:

    • provider: The ProviderWithMetaSchema type GetMetaSchema method has been replaced with the MetaSchema method (#562)
    • tfsdk: The Attribute type FrameworkType() method has been removed. Use the GetType() method instead which returns the same information. (#543)
    • tfsdk: The Attribute type GetType() method now returns type information whether the attribute implements the Type field or Attributes field. (#543)
    • tfsdk: The Config, Plan, and State type Schema field type has been updated from tfsdk.Schema to the generic fwschema.Schema interface to enable additional schema implementations (#544)

    ... (truncated)

    Changelog

    Sourced from github.com/hashicorp/terraform-plugin-framework's changelog.

    1.0.0 (December 13, 2022)

    NOTES:

    • The Terraform Plugin Framework is now generally available with semantic versioning compatibility promises. (#578)
    • types: Framework type implementations have been moved into the underlying basetypes package. Value creation functions and type aliases have been created in the types package that should prevent any breaking changes. (#567)

    BREAKING CHANGES:

    • provider: The Provider interface now requires the Metadata method. It can be left empty or set the MetadataResponse type TypeName field to populate datasource.MetadataRequest and resource.MetadataRequest type ProviderTypeName fields. (#580)
    • resource: The RequiresReplace() plan modifier has been removed. Use a type-specific plan modifier instead, such as resource/schema/stringplanmodifier.RequiresReplace() or resource/schema/stringplanmodifier.RequiresReplaceIfConfigured() (#576)
    • resource: The RequiresReplaceIf() plan modifier has been removed. Use a type-specific plan modifier instead, such as resource/schema/stringplanmodifier.RequiresReplaceIf() (#576)
    • resource: The Resource type GetSchema method has been removed. Use the Schema method instead. (#576)
    • resource: The StateUpgrader type PriorSchema field type has been migrated from tfsdk.Schema to resource/schema.Schema, similar to other resource schema handling (#573)
    • resource: The UseStateForUnknown() plan modifier has been removed. Use a type-specific plan modifier instead, such as resource/schema/stringplanmodifier.UseStateForUnknown() (#576)
    • tfsdk: The AttributePlanModifier interface has been removed. Use the type-specific plan modifier interfaces in the resource/schema/planmodifier package instead. (#576)
    • tfsdk: The AttributeValidator interface has been removed. Use the type-specific validator interfaces in the schema/validator package instead. (#576)
    • tfsdk: The Attribute, Block, and Schema types have been removed. Use the similarly named types in the datasource/schema, provider/schema, and resource/schema packages instead. (#576)
    • tfsdk: The ListNestedAttributes, MapNestedAttributes, SetNestedAttributes, and SingleNestedAttributes functions have been removed. Use the similarly named types in the datasource/schema, provider/schema, and resource/schema packages instead. (#576)
    • types: The type-specific Typable and Valuable interfaces have been moved into the underlying basetypes package. (#567)

    FEATURES:

    • types/basetypes: New package which contains embeddable types for custom types (#567)

    BUG FIXES:

    • datasource: Add Validate function to Schema to prevent usage of reserved and invalid names for attributes and blocks (#548)
    • provider: Add Validate function to MetaSchema to prevent usage of reserved and invalid names for attributes and blocks (#548)
    • provider: Add Validate function to Schema to prevent usage of reserved and invalid names for attributes and blocks (#548)
    • resource: Add Validate function to Schema to prevent usage of reserved and invalid names for attributes and blocks (#548)

    0.17.0 (November 30, 2022)

    NOTES:

    • datasource: The DataSource type GetSchema method has been deprecated. Use the Schema method instead. (#546)
    • provider: The Provider type GetSchema method has been deprecated. Use the Schema method instead. (#553)
    • resource: The RequiresReplace() plan modifier has been deprecated. Use a type-specific plan modifier instead, such as resource/schema/stringplanmodifier.RequiresReplace() or resource/schema/stringplanmodifier.RequiresReplaceIfConfigured() (#565)
    • resource: The RequiresReplaceIf() plan modifier has been deprecated. Use a type-specific plan modifier instead, such as resource/schema/stringplanmodifier.RequiresReplaceIf() (#565)
    • resource: The Resource type GetSchema method has been deprecated. Use the Schema method instead. (#558)
    • resource: The UseStateForUnknown() plan modifier has been deprecated. Use a type-specific plan modifier instead, such as resource/schema/stringplanmodifier.UseStateForUnknown() (#565)
    • tfsdk: The Attribute, Block, and Schema types have been deprecated. Use the similarly named types in the datasource/schema, provider/schema, and resource/schema packages instead. (#563)
    • tfsdk: The ListNestedAttributes, MapNestedAttributes, SetNestedAttributes, and SingleNestedAttributes functions have been deprecated. Use the similarly named types in the datasource/schema, provider/schema, and resource/schema packages instead. (#563)

    BREAKING CHANGES:

    • provider: The ProviderWithMetaSchema type GetMetaSchema method has been replaced with the MetaSchema method (#562)
    • tfsdk: The Attribute type FrameworkType() method has been removed. Use the GetType() method instead which returns the same information. (#543)
    • tfsdk: The Attribute type GetType() method now returns type information whether the attribute implements the Type field or Attributes field. (#543)

    ... (truncated)

    Commits
    • d540a40 Update CHANGELOG for 1.0.0
    • eebf3a5 Remove beta verbiage and state compatibility promises (#578)
    • 13ceef9 provider: Require Metadata method for Provider interface (#580)
    • 38a3421 Refactor Schema and Schema Data Related Documentation (#554)
    • ea5dd66 all: Remove remaining Block-based MaxItems and MinItems functionality (#577)
    • 707c9ca resource+tfsdk: Remove tfsdk package schema types and functions (#576)
    • 085f2f9 internal: Replace tfsdk.Schema, tfsdk.Attribute, and tfsdk.Block usage in uni...
    • 7afa862 types: Migrate type implementations into basetypes subpackage (#567)
    • 23973ba Fix Framework allows top-level schema attributes that conflict with Terraform...
    • 3413b8f resource: Use schema.Schema for StateUpgrader.PriorSchema (#573)
    • Additional commits viewable in compare view

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
  • Bump github.com/hashicorp/terraform-plugin-framework from 0.5.0 to 0.17.0

    Bump github.com/hashicorp/terraform-plugin-framework from 0.5.0 to 0.17.0

    Bumps github.com/hashicorp/terraform-plugin-framework from 0.5.0 to 0.17.0.

    Release notes

    Sourced from github.com/hashicorp/terraform-plugin-framework's releases.

    v0.17.0

    NOTES:

    • datasource: The DataSource type GetSchema method has been deprecated. Use the Schema method instead. (#546)
    • provider: The Provider type GetSchema method has been deprecated. Use the Schema method instead. (#553)
    • resource: The RequiresReplace() plan modifier has been deprecated. Use a type-specific plan modifier instead, such as resource/schema/stringplanmodifier.RequiresReplace() or resource/schema/stringplanmodifier.RequiresReplaceIfConfigured() (#565)
    • resource: The RequiresReplaceIf() plan modifier has been deprecated. Use a type-specific plan modifier instead, such as resource/schema/stringplanmodifier.RequiresReplaceIf() (#565)
    • resource: The Resource type GetSchema method has been deprecated. Use the Schema method instead. (#558)
    • resource: The UseStateForUnknown() plan modifier has been deprecated. Use a type-specific plan modifier instead, such as resource/schema/stringplanmodifier.UseStateForUnknown() (#565)
    • tfsdk: The Attribute, Block, and Schema types have been deprecated. Use the similarly named types in the datasource/schema, provider/schema, and resource/schema packages instead. (#563)
    • tfsdk: The ListNestedAttributes, MapNestedAttributes, SetNestedAttributes, and SingleNestedAttributes functions have been deprecated. Use the similarly named types in the datasource/schema, provider/schema, and resource/schema packages instead. (#563)

    BREAKING CHANGES:

    • provider: The ProviderWithMetaSchema type GetMetaSchema method has been replaced with the MetaSchema method (#562)
    • tfsdk: The Attribute type FrameworkType() method has been removed. Use the GetType() method instead which returns the same information. (#543)
    • tfsdk: The Attribute type GetType() method now returns type information whether the attribute implements the Type field or Attributes field. (#543)
    • tfsdk: The Config, Plan, and State type Schema field type has been updated from tfsdk.Schema to the generic fwschema.Schema interface to enable additional schema implementations (#544)

    FEATURES:

    • datasource/schema: New package which contains schema interfaces and types relevant to data sources (#546)
    • provider/schema: New package which contains schema interfaces and types relevant to providers (#553)
    • resource/schema/planmodifier: New package which contains type-specific schema plan modifier interfaces (#557)
    • resource/schema: New package which contains schema interfaces and types relevant to resources (#558)
    • resource/schema: New packages, such as stringplanmodifier which contain type-specific schema plan modifier implementations (#565)
    • schema/validator: New package which contains type-specific schema validator interfaces (#542)

    BUG FIXES:

    • diag: Allow diagnostic messages with incorrect UTF-8 encoding to pass through with the invalid sequences replaced with the Unicode Replacement Character. This avoids returning the unhelpful message "string field contains invalid UTF-8" in that case. (#549)
    • internal/fwserver: Ensured blocks are ignored when marking computed nils as unknown during resource change planning (#552)

    v0.16.0

    BREAKING CHANGES:

    • types: The Bool type Null, Unknown, and Value fields have been removed. Use the BoolNull(), BoolUnknown(), and BoolValue() creation functions and IsNull(), IsUnknown(), and ValueBool() methods instead. (#523)
    • types: The Float64 type Null, Unknown, and Value fields have been removed. Use the Float64Null(), Float64Unknown(), and Float64Value() creation functions and IsNull(), IsUnknown(), and ValueFloat64() methods instead. (#523)
    • types: The Int64 type Null, Unknown, and Value fields have been removed. Use the Int64Null(), Int64Unknown(), and Int64Value() creation functions and IsNull(), IsUnknown(), and ValueInt64() methods instead. (#523)
    • types: The List type Elems, ElemType, Null, and Unknown fields have been removed. Use the ListNull(), ListUnknown(), ListValue(), and ListValueMust() creation functions and Elements(), ElementsAs(), ElementType(), IsNull(), and IsUnknown() methods instead. (#523)
    • types: The Map type Elems, ElemType, Null, and Unknown fields have been removed. Use the MapNull(), MapUnknown(), MapValue(), and MapValueMust() creation functions and Elements(), ElementsAs(), ElementType(), IsNull(), and IsUnknown() methods instead. (#523)
    • types: The Number type Null, Unknown, and Value fields have been removed. Use the NumberNull(), NumberUnknown(), and NumberValue() creation functions and IsNull(), IsUnknown(), and ValueBigFloat() methods instead. (#523)
    • types: The Object type Attrs, AttrTypes, Null, and Unknown fields have been removed. Use the ObjectNull(), ObjectUnknown(), ObjectValue(), and ObjectValueMust() creation functions and As(), Attributes(), AttributeTypes(), IsNull(), and IsUnknown() methods instead. (#523)
    • types: The Set type Elems, ElemType, Null, and Unknown fields have been removed. Use the SetNull(), SetUnknown(), SetValue(), and SetValueMust() creation functions and Elements(), ElementsAs(), ElementType(), IsNull(), and IsUnknown() methods instead. (#523)
    • types: The String type Null, Unknown, and Value fields have been removed. Use the StringNull(), StringUnknown(), and StringValue() creation functions and IsNull(), IsUnknown(), and ValueString() methods instead. (#523)

    ENHANCEMENTS:

    • attr: Added ValueState type, which custom types can use to consistently represent the three possible value states (known, null, and unknown) (#523)
    • types: Added BoolTypable and BoolValuable interface types, which enable embedding existing boolean types for custom types (#536)

    ... (truncated)

    Changelog

    Sourced from github.com/hashicorp/terraform-plugin-framework's changelog.

    0.17.0 (November 30, 2022)

    NOTES:

    • datasource: The DataSource type GetSchema method has been deprecated. Use the Schema method instead. (#546)
    • provider: The Provider type GetSchema method has been deprecated. Use the Schema method instead. (#553)
    • resource: The RequiresReplace() plan modifier has been deprecated. Use a type-specific plan modifier instead, such as resource/schema/stringplanmodifier.RequiresReplace() or resource/schema/stringplanmodifier.RequiresReplaceIfConfigured() (#565)
    • resource: The RequiresReplaceIf() plan modifier has been deprecated. Use a type-specific plan modifier instead, such as resource/schema/stringplanmodifier.RequiresReplaceIf() (#565)
    • resource: The Resource type GetSchema method has been deprecated. Use the Schema method instead. (#558)
    • resource: The UseStateForUnknown() plan modifier has been deprecated. Use a type-specific plan modifier instead, such as resource/schema/stringplanmodifier.UseStateForUnknown() (#565)
    • tfsdk: The Attribute, Block, and Schema types have been deprecated. Use the similarly named types in the datasource/schema, provider/schema, and resource/schema packages instead. (#563)
    • tfsdk: The ListNestedAttributes, MapNestedAttributes, SetNestedAttributes, and SingleNestedAttributes functions have been deprecated. Use the similarly named types in the datasource/schema, provider/schema, and resource/schema packages instead. (#563)

    BREAKING CHANGES:

    • provider: The ProviderWithMetaSchema type GetMetaSchema method has been replaced with the MetaSchema method (#562)
    • tfsdk: The Attribute type FrameworkType() method has been removed. Use the GetType() method instead which returns the same information. (#543)
    • tfsdk: The Attribute type GetType() method now returns type information whether the attribute implements the Type field or Attributes field. (#543)
    • tfsdk: The Config, Plan, and State type Schema field type has been updated from tfsdk.Schema to the generic fwschema.Schema interface to enable additional schema implementations (#544)

    FEATURES:

    • datasource/schema: New package which contains schema interfaces and types relevant to data sources (#546)
    • provider/schema: New package which contains schema interfaces and types relevant to providers (#553)
    • resource/schema/planmodifier: New package which contains type-specific schema plan modifier interfaces (#557)
    • resource/schema: New package which contains schema interfaces and types relevant to resources (#558)
    • resource/schema: New packages, such as stringplanmodifier which contain type-specific schema plan modifier implementations (#565)
    • schema/validator: New package which contains type-specific schema validator interfaces (#542)

    BUG FIXES:

    • diag: Allow diagnostic messages with incorrect UTF-8 encoding to pass through with the invalid sequences replaced with the Unicode Replacement Character. This avoids returning the unhelpful message "string field contains invalid UTF-8" in that case. (#549)
    • internal/fwserver: Ensured blocks are ignored when marking computed nils as unknown during resource change planning (#552)

    0.16.0 (November 15, 2022)

    BREAKING CHANGES:

    • types: The Bool type Null, Unknown, and Value fields have been removed. Use the BoolNull(), BoolUnknown(), and BoolValue() creation functions and IsNull(), IsUnknown(), and ValueBool() methods instead. (#523)
    • types: The Float64 type Null, Unknown, and Value fields have been removed. Use the Float64Null(), Float64Unknown(), and Float64Value() creation functions and IsNull(), IsUnknown(), and ValueFloat64() methods instead. (#523)
    • types: The Int64 type Null, Unknown, and Value fields have been removed. Use the Int64Null(), Int64Unknown(), and Int64Value() creation functions and IsNull(), IsUnknown(), and ValueInt64() methods instead. (#523)
    • types: The List type Elems, ElemType, Null, and Unknown fields have been removed. Use the ListNull(), ListUnknown(), ListValue(), and ListValueMust() creation functions and Elements(), ElementsAs(), ElementType(), IsNull(), and IsUnknown() methods instead. (#523)
    • types: The Map type Elems, ElemType, Null, and Unknown fields have been removed. Use the MapNull(), MapUnknown(), MapValue(), and MapValueMust() creation functions and Elements(), ElementsAs(), ElementType(), IsNull(), and IsUnknown() methods instead. (#523)
    • types: The Number type Null, Unknown, and Value fields have been removed. Use the NumberNull(), NumberUnknown(), and NumberValue() creation functions and IsNull(), IsUnknown(), and ValueBigFloat() methods instead. (#523)
    • types: The Object type Attrs, AttrTypes, Null, and Unknown fields have been removed. Use the ObjectNull(), ObjectUnknown(), ObjectValue(), and ObjectValueMust() creation functions and As(), Attributes(), AttributeTypes(), IsNull(), and IsUnknown() methods instead. (#523)
    • types: The Set type Elems, ElemType, Null, and Unknown fields have been removed. Use the SetNull(), SetUnknown(), SetValue(), and SetValueMust() creation functions and Elements(), ElementsAs(), ElementType(), IsNull(), and IsUnknown() methods instead. (#523)
    • types: The String type Null, Unknown, and Value fields have been removed. Use the StringNull(), StringUnknown(), and StringValue() creation functions and IsNull(), IsUnknown(), and ValueString() methods instead. (#523)

    ENHANCEMENTS:

    ... (truncated)

    Commits
    • 54ed5dc Update CHANGELOG for 0.17.0
    • d51781c website: Updates for tfsdk Attribute, Block, and Schema deprecations (#564)
    • 4db7ec6 resource/schema: New packages which contain type-specific schema plan modifie...
    • 8cde922 tfsdk: Deprecate Attribute, Block, and Schema types (#563)
    • 9353b7c provider/metaschema: Initial package (#562)
    • abe43b2 Fix nesting mode for map, set and single nested attribute within data source,...
    • 55244fe provider/schema: Fix Go documentation for Schema type (#559)
    • 30b78ab resource/schema: Initial package (#558)
    • 28f4804 resource/schema/planmodifier: New type-specific plan modifiers package (#557)
    • 1dfcd30 test: block attributes with MarkComputedNilsAsUnknown (#555)
    • Additional commits viewable in compare view

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
  • Bump github.com/hashicorp/terraform-plugin-framework from 0.5.0 to 0.16.0

    Bump github.com/hashicorp/terraform-plugin-framework from 0.5.0 to 0.16.0

    Bumps github.com/hashicorp/terraform-plugin-framework from 0.5.0 to 0.16.0.

    Release notes

    Sourced from github.com/hashicorp/terraform-plugin-framework's releases.

    v0.16.0

    BREAKING CHANGES:

    • types: The Bool type Null, Unknown, and Value fields have been removed. Use the BoolNull(), BoolUnknown(), and BoolValue() creation functions and IsNull(), IsUnknown(), and ValueBool() methods instead. (#523)
    • types: The Float64 type Null, Unknown, and Value fields have been removed. Use the Float64Null(), Float64Unknown(), and Float64Value() creation functions and IsNull(), IsUnknown(), and ValueFloat64() methods instead. (#523)
    • types: The Int64 type Null, Unknown, and Value fields have been removed. Use the Int64Null(), Int64Unknown(), and Int64Value() creation functions and IsNull(), IsUnknown(), and ValueInt64() methods instead. (#523)
    • types: The List type Elems, ElemType, Null, and Unknown fields have been removed. Use the ListNull(), ListUnknown(), ListValue(), and ListValueMust() creation functions and Elements(), ElementsAs(), ElementType(), IsNull(), and IsUnknown() methods instead. (#523)
    • types: The Map type Elems, ElemType, Null, and Unknown fields have been removed. Use the MapNull(), MapUnknown(), MapValue(), and MapValueMust() creation functions and Elements(), ElementsAs(), ElementType(), IsNull(), and IsUnknown() methods instead. (#523)
    • types: The Number type Null, Unknown, and Value fields have been removed. Use the NumberNull(), NumberUnknown(), and NumberValue() creation functions and IsNull(), IsUnknown(), and ValueBigFloat() methods instead. (#523)
    • types: The Object type Attrs, AttrTypes, Null, and Unknown fields have been removed. Use the ObjectNull(), ObjectUnknown(), ObjectValue(), and ObjectValueMust() creation functions and As(), Attributes(), AttributeTypes(), IsNull(), and IsUnknown() methods instead. (#523)
    • types: The Set type Elems, ElemType, Null, and Unknown fields have been removed. Use the SetNull(), SetUnknown(), SetValue(), and SetValueMust() creation functions and Elements(), ElementsAs(), ElementType(), IsNull(), and IsUnknown() methods instead. (#523)
    • types: The String type Null, Unknown, and Value fields have been removed. Use the StringNull(), StringUnknown(), and StringValue() creation functions and IsNull(), IsUnknown(), and ValueString() methods instead. (#523)

    ENHANCEMENTS:

    • attr: Added ValueState type, which custom types can use to consistently represent the three possible value states (known, null, and unknown) (#523)
    • types: Added BoolTypable and BoolValuable interface types, which enable embedding existing boolean types for custom types (#536)
    • types: Added Float64Typable and Float64Valuable interface types, which enable embedding existing float64 types for custom types (#536)
    • types: Added Int64Typable and Int64Valuable interface types, which enable embedding existing int64 types for custom types (#536)
    • types: Added ListTypable and ListValuable interface types, which enable embedding existing list types for custom types (#536)
    • types: Added MapTypable and MapValuable interface types, which enable embedding existing map types for custom types (#536)
    • types: Added NumberTypable and NumberValuable interface types, which enable embedding existing number types for custom types (#536)
    • types: Added ObjectTypable and ObjectValuable interface types, which enable embedding existing object types for custom types (#536)
    • types: Added SetTypable and SetValuable interface types, which enable embedding existing set types for custom types (#536)
    • types: Added StringTypable and StringValuable interface types, which enable embedding existing string types for custom types (#536)

    BUG FIXES:

    • types: Prevented Terraform errors where the zero-value for any attr.Value types such as String would be a known value instead of null (#523)
    • types: Prevented indeterminate behavior for any attr.Value types where they could be any combination of null, unknown, and/or known (#523)

    v0.15.0

    NOTES:

    • types: The Bool type Null, Unknown, and Value fields have been deprecated in preference of the BoolNull(), BoolUnknown(), and BoolValue() creation functions and IsNull(), IsUnknown(), and ValueBool() methods. The fields will be removed in a future release. (#502)
    • types: The Float64 type Null, Unknown, and Value fields have been deprecated in preference of the Float64Null(), Float64Unknown(), and Float64Value() creation functions and IsNull(), IsUnknown(), and ValueFloat64() methods. The fields will be removed in a future release. (#502)
    • types: The Int64 type Null, Unknown, and Value fields have been deprecated in preference of the Int64Null(), Int64Unknown(), and Int64Value() creation functions and IsNull(), IsUnknown(), and ValueInt64() methods. The fields will be removed in a future release. (#502)
    • types: The List type Elems, ElemType, Null, and Unknown fields have been deprecated in preference of the ListNull(), ListUnknown(), ListValue(), and ListValueMust() creation functions and Elements(), ElementsAs(), ElementType(), IsNull(), and IsUnknown() methods. The fields will be removed in a future release. (#502)
    • types: The Map type Elems, ElemType, Null, and Unknown fields have been deprecated in preference of the MapNull(), MapUnknown(), MapValue(), and MapValueMust() creation functions and Elements(), ElementsAs(), ElementType(), IsNull(), and IsUnknown() methods. The fields will be removed in a future release. (#502)
    • types: The Number type Null, Unknown, and Value fields have been deprecated in preference of the NumberNull(), NumberUnknown(), and NumberValue() creation functions and IsNull(), IsUnknown(), and ValueBigFloat() methods. The fields will be removed in a future release. (#502)
    • types: The Object type Attrs, AttrTypes, Null, and Unknown fields have been deprecated in preference of the ObjectNull(), ObjectUnknown(), ObjectValue(), and ObjectValueMust() creation functions and As(), Attributes(), AttributeTypes(), IsNull(), and IsUnknown() methods. The fields will be removed in a future release. (#502)
    • types: The Set type Elems, ElemType, Null, and Unknown fields have been deprecated in preference of the SetNull(), SetUnknown(), SetValue(), and SetValueMust() creation functions and Elements(), ElementsAs(), ElementType(), IsNull(), and IsUnknown() methods. The fields will be removed in a future release. (#502)
    • types: The String type Null, Unknown, and Value fields have been deprecated in preference of the StringNull(), StringUnknown(), and StringValue() creation functions and IsNull(), IsUnknown(), and ValueString() methods. The fields will be removed in a future release. (#502)

    ENHANCEMENTS:

    • types: Added BoolNull(), BoolUnknown(), and BoolValue() functions, which create immutable Bool values (#502)
    • types: Added Bool type ValueBool() method, which returns the bool of the known value or false if null or unknown (#502)
    • types: Added Float64Null(), Float64Unknown(), and Float64Value() functions, which create immutable Float64 values (#502)
    • types: Added Float64 type ValueFloat64() method, which returns the float64 of the known value or 0.0 if null or unknown (#502)

    ... (truncated)

    Changelog

    Sourced from github.com/hashicorp/terraform-plugin-framework's changelog.

    0.16.0 (November 15, 2022)

    BREAKING CHANGES:

    • types: The Bool type Null, Unknown, and Value fields have been removed. Use the BoolNull(), BoolUnknown(), and BoolValue() creation functions and IsNull(), IsUnknown(), and ValueBool() methods instead. (#523)
    • types: The Float64 type Null, Unknown, and Value fields have been removed. Use the Float64Null(), Float64Unknown(), and Float64Value() creation functions and IsNull(), IsUnknown(), and ValueFloat64() methods instead. (#523)
    • types: The Int64 type Null, Unknown, and Value fields have been removed. Use the Int64Null(), Int64Unknown(), and Int64Value() creation functions and IsNull(), IsUnknown(), and ValueInt64() methods instead. (#523)
    • types: The List type Elems, ElemType, Null, and Unknown fields have been removed. Use the ListNull(), ListUnknown(), ListValue(), and ListValueMust() creation functions and Elements(), ElementsAs(), ElementType(), IsNull(), and IsUnknown() methods instead. (#523)
    • types: The Map type Elems, ElemType, Null, and Unknown fields have been removed. Use the MapNull(), MapUnknown(), MapValue(), and MapValueMust() creation functions and Elements(), ElementsAs(), ElementType(), IsNull(), and IsUnknown() methods instead. (#523)
    • types: The Number type Null, Unknown, and Value fields have been removed. Use the NumberNull(), NumberUnknown(), and NumberValue() creation functions and IsNull(), IsUnknown(), and ValueBigFloat() methods instead. (#523)
    • types: The Object type Attrs, AttrTypes, Null, and Unknown fields have been removed. Use the ObjectNull(), ObjectUnknown(), ObjectValue(), and ObjectValueMust() creation functions and As(), Attributes(), AttributeTypes(), IsNull(), and IsUnknown() methods instead. (#523)
    • types: The Set type Elems, ElemType, Null, and Unknown fields have been removed. Use the SetNull(), SetUnknown(), SetValue(), and SetValueMust() creation functions and Elements(), ElementsAs(), ElementType(), IsNull(), and IsUnknown() methods instead. (#523)
    • types: The String type Null, Unknown, and Value fields have been removed. Use the StringNull(), StringUnknown(), and StringValue() creation functions and IsNull(), IsUnknown(), and ValueString() methods instead. (#523)

    ENHANCEMENTS:

    • attr: Added ValueState type, which custom types can use to consistently represent the three possible value states (known, null, and unknown) (#523)
    • types: Added BoolTypable and BoolValuable interface types, which enable embedding existing boolean types for custom types (#536)
    • types: Added Float64Typable and Float64Valuable interface types, which enable embedding existing float64 types for custom types (#536)
    • types: Added Int64Typable and Int64Valuable interface types, which enable embedding existing int64 types for custom types (#536)
    • types: Added ListTypable and ListValuable interface types, which enable embedding existing list types for custom types (#536)
    • types: Added MapTypable and MapValuable interface types, which enable embedding existing map types for custom types (#536)
    • types: Added NumberTypable and NumberValuable interface types, which enable embedding existing number types for custom types (#536)
    • types: Added ObjectTypable and ObjectValuable interface types, which enable embedding existing object types for custom types (#536)
    • types: Added SetTypable and SetValuable interface types, which enable embedding existing set types for custom types (#536)
    • types: Added StringTypable and StringValuable interface types, which enable embedding existing string types for custom types (#536)

    BUG FIXES:

    • types: Prevented Terraform errors where the zero-value for any attr.Value types such as String would be a known value instead of null (#523)
    • types: Prevented indeterminate behavior for any attr.Value types where they could be any combination of null, unknown, and/or known (#523)

    0.15.0 (October 26, 2022)

    NOTES:

    • types: The Bool type Null, Unknown, and Value fields have been deprecated in preference of the BoolNull(), BoolUnknown(), and BoolValue() creation functions and IsNull(), IsUnknown(), and ValueBool() methods. The fields will be removed in a future release. (#502)
    • types: The Float64 type Null, Unknown, and Value fields have been deprecated in preference of the Float64Null(), Float64Unknown(), and Float64Value() creation functions and IsNull(), IsUnknown(), and ValueFloat64() methods. The fields will be removed in a future release. (#502)
    • types: The Int64 type Null, Unknown, and Value fields have been deprecated in preference of the Int64Null(), Int64Unknown(), and Int64Value() creation functions and IsNull(), IsUnknown(), and ValueInt64() methods. The fields will be removed in a future release. (#502)
    • types: The List type Elems, ElemType, Null, and Unknown fields have been deprecated in preference of the ListNull(), ListUnknown(), ListValue(), and ListValueMust() creation functions and Elements(), ElementsAs(), ElementType(), IsNull(), and IsUnknown() methods. The fields will be removed in a future release. (#502)
    • types: The Map type Elems, ElemType, Null, and Unknown fields have been deprecated in preference of the MapNull(), MapUnknown(), MapValue(), and MapValueMust() creation functions and Elements(), ElementsAs(), ElementType(), IsNull(), and IsUnknown() methods. The fields will be removed in a future release. (#502)
    • types: The Number type Null, Unknown, and Value fields have been deprecated in preference of the NumberNull(), NumberUnknown(), and NumberValue() creation functions and IsNull(), IsUnknown(), and ValueBigFloat() methods. The fields will be removed in a future release. (#502)
    • types: The Object type Attrs, AttrTypes, Null, and Unknown fields have been deprecated in preference of the ObjectNull(), ObjectUnknown(), ObjectValue(), and ObjectValueMust() creation functions and As(), Attributes(), AttributeTypes(), IsNull(), and IsUnknown() methods. The fields will be removed in a future release. (#502)
    • types: The Set type Elems, ElemType, Null, and Unknown fields have been deprecated in preference of the SetNull(), SetUnknown(), SetValue(), and SetValueMust() creation functions and Elements(), ElementsAs(), ElementType(), IsNull(), and IsUnknown() methods. The fields will be removed in a future release. (#502)
    • types: The String type Null, Unknown, and Value fields have been deprecated in preference of the StringNull(), StringUnknown(), and StringValue() creation functions and IsNull(), IsUnknown(), and ValueString() methods. The fields will be removed in a future release. (#502)

    ENHANCEMENTS:

    • types: Added BoolNull(), BoolUnknown(), and BoolValue() functions, which create immutable Bool values (#502)
    • types: Added Bool type ValueBool() method, which returns the bool of the known value or false if null or unknown (#502)

    ... (truncated)

    Commits
    • 85c0b3f Update CHANGELOG for 0.16.0
    • 00e6cb1 Update migration guide to indicate Set field and SchemaSetFunc equivalents ar...
    • bf1ce9b types: Add Typable and Valuable Interfaces (#536)
    • 6fea713 website: Split resource lifecycle management into separate pages (#537)
    • 8a46db4 build(deps): Bump golangci/golangci-lint-action from 3.3.0 to 3.3.1 (#538)
    • 0eb939e tfsdk: Document and clarify GetAttribute and SetAttribute further (#534)
    • f427696 build(deps): Bump github.com/hashicorp/terraform-plugin-go (#531)
    • a3872da website: Fix overview page typo (#530)
    • 667c126 website: Fix broken links (#525)
    • 66a4d2c types: Remove Attrs, AttrTypes, Elems, ElemTypes, Null, Unknown, and Value fi...
    • Additional commits viewable in compare view

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
  • Bump github.com/hashicorp/terraform-plugin-go from 0.5.0 to 0.14.1

    Bump github.com/hashicorp/terraform-plugin-go from 0.5.0 to 0.14.1

    Bumps github.com/hashicorp/terraform-plugin-go from 0.5.0 to 0.14.1.

    Release notes

    Sourced from github.com/hashicorp/terraform-plugin-go's releases.

    v0.14.1

    NOTES:

    • No expected changes with this Go module's functionality. Contains updates to dependencies such as google.golang.org/grpc and github.com/hashicorp/go-plugin, which may be beneficial for consumers.

    v0.14.0

    NOTES:

    • This Go module has been updated to Go 1.18 per the Go support policy. Any consumers building on earlier Go versions may experience errors. (#219)

    ENHANCEMENTS:

    • tfprotov5/tf5server: Added resource private state when protocol data output is enabled (#221)
    • tfprotov6/tf6server: Added resource private state when protocol data output is enabled (#221)

    BUG FIXES:

    • tfprotov5/tf5server: Fixed ApplyResourceChange request RPC protocol data output to include PriorState and ProviderMeta fields (#221)
    • tfprotov6/tf6server: Fixed ApplyResourceChange request RPC protocol data output to include PriorState and ProviderMeta fields (#221)

    v0.13.0

    ENHANCEMENTS:

    • tfprotov5: Added RawState type UnmarshalWithOpts method to facilitate configurable behaviour during unmarshalling (#213)
    • tfprotov6: Added RawState type UnmarshalWithOpts method to facilitate configurable behaviour during unmarshalling (#213)

    BUG FIXES:

    • tftypes: Clarified ValueFromJSON error messaging with object attribute key issues (#214)

    v0.12.0

    NOTES:

    • The underlying terraform-plugin-log dependency has been updated to v0.6.0, which includes log filtering support and breaking changes of With() to SetField() function names. Any provider logging which calls those functions may require updates. (#209)

    v0.11.0

    FEATURES:

    • Added support for protocol version 5.3 and 6.3, which allows providers to opt into the PlanResourceChange RPC for resource destruction (#205)

    ENHANCEMENTS:

    • tfprotov5: Added ServerCapabilities type and ServerCapabilities field to GetProviderSchemaResponse (#205)
    • tfprotov6: Added ServerCapabilities type and ServerCapabilities field to GetProviderSchemaResponse (#205)

    v0.10.0

    ENHANCEMENTS:

    • tfprotov5/tf5server: Added downstream RPC request duration and response diagnostics logging (#203)
    • tfprotov6/tf6server: Added downstream RPC request duration and response diagnostics logging (#203)

    v0.9.1

    ... (truncated)

    Changelog

    Sourced from github.com/hashicorp/terraform-plugin-go's changelog.

    0.14.1 (November 8, 2022)

    NOTES:

    • No expected changes with this Go module's functionality. Contains updates to dependencies such as google.golang.org/grpc and github.com/hashicorp/go-plugin, which may be beneficial for consumers.

    0.14.0 (August 15, 2022)

    NOTES:

    • This Go module has been updated to Go 1.18 per the Go support policy. Any consumers building on earlier Go versions may experience errors. (#219)

    ENHANCEMENTS:

    • tfprotov5/tf5server: Added resource private state when protocol data output is enabled (#221)
    • tfprotov6/tf6server: Added resource private state when protocol data output is enabled (#221)

    BUG FIXES:

    • tfprotov5/tf5server: Fixed ApplyResourceChange request RPC protocol data output to include PriorState and ProviderMeta fields (#221)
    • tfprotov6/tf6server: Fixed ApplyResourceChange request RPC protocol data output to include PriorState and ProviderMeta fields (#221)

    0.13.0 (July 28, 2022)

    ENHANCEMENTS:

    • tfprotov5: Added RawState type UnmarshalWithOpts method to facilitate configurable behaviour during unmarshalling (#213)
    • tfprotov6: Added RawState type UnmarshalWithOpts method to facilitate configurable behaviour during unmarshalling (#213)

    BUG FIXES:

    • tftypes: Clarified ValueFromJSON error messaging with object attribute key issues (#214)

    0.12.0 (July 15, 2022)

    NOTES:

    • The underlying terraform-plugin-log dependency has been updated to v0.6.0, which includes log filtering support and breaking changes of With() to SetField() function names. Any provider logging which calls those functions may require updates. (#209)

    0.11.0 (July 8, 2022)

    FEATURES:

    • Added support for protocol version 5.3 and 6.3, which allows providers to opt into the PlanResourceChange RPC for resource destruction (#205)

    ENHANCEMENTS:

    • tfprotov5: Added ServerCapabilities type and ServerCapabilities field to GetProviderSchemaResponse (#205)
    • tfprotov6: Added ServerCapabilities type and ServerCapabilities field to GetProviderSchemaResponse (#205)

    0.10.0 (July 5, 2022)

    ... (truncated)

    Commits
    • f3636ee Update CHANGELOG for 0.14.1
    • 33a20bc Bump github.com/hashicorp/go-plugin from 1.4.5 to 1.4.6 (#234)
    • d2a0c01 Bump golangci/golangci-lint-action from 3.2.0 to 3.3.0 (#233)
    • aae27cd Bump google.golang.org/grpc from 1.50.0 to 1.50.1 (#232)
    • c199d46 tfprotov5+tfprotov6: Synchronize Protocol Buffers comments for ReadResource a...
    • 368e57a [COMPLIANCE] Update MPL 2.0 LICENSE (#230)
    • 31394ab Bump google.golang.org/grpc from 1.49.0 to 1.50.0 (#229)
    • edd142d Fix Go documentation typo (#228)
    • 30bbb35 Bump leonsteinhaeuser/project-beta-automations from 2.0.0 to 2.0.1 (#227)
    • 8b53d1b .github/workflows: Add Terraform 1.3.x to testing matrix (#226)
    • Additional commits viewable in compare view

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
  • Bump github.com/hashicorp/terraform-plugin-framework from 0.5.0 to 0.15.0

    Bump github.com/hashicorp/terraform-plugin-framework from 0.5.0 to 0.15.0

    Bumps github.com/hashicorp/terraform-plugin-framework from 0.5.0 to 0.15.0.

    Release notes

    Sourced from github.com/hashicorp/terraform-plugin-framework's releases.

    v0.15.0

    NOTES:

    • types: The Bool type Null, Unknown, and Value fields have been deprecated in preference of the BoolNull(), BoolUnknown(), and BoolValue() creation functions and IsNull(), IsUnknown(), and ValueBool() methods. The fields will be removed in a future release. (#502)
    • types: The Float64 type Null, Unknown, and Value fields have been deprecated in preference of the Float64Null(), Float64Unknown(), and Float64Value() creation functions and IsNull(), IsUnknown(), and ValueFloat64() methods. The fields will be removed in a future release. (#502)
    • types: The Int64 type Null, Unknown, and Value fields have been deprecated in preference of the Int64Null(), Int64Unknown(), and Int64Value() creation functions and IsNull(), IsUnknown(), and ValueInt64() methods. The fields will be removed in a future release. (#502)
    • types: The List type Elems, ElemType, Null, and Unknown fields have been deprecated in preference of the ListNull(), ListUnknown(), ListValue(), and ListValueMust() creation functions and Elements(), ElementsAs(), ElementType(), IsNull(), and IsUnknown() methods. The fields will be removed in a future release. (#502)
    • types: The Map type Elems, ElemType, Null, and Unknown fields have been deprecated in preference of the MapNull(), MapUnknown(), MapValue(), and MapValueMust() creation functions and Elements(), ElementsAs(), ElementType(), IsNull(), and IsUnknown() methods. The fields will be removed in a future release. (#502)
    • types: The Number type Null, Unknown, and Value fields have been deprecated in preference of the NumberNull(), NumberUnknown(), and NumberValue() creation functions and IsNull(), IsUnknown(), and ValueBigFloat() methods. The fields will be removed in a future release. (#502)
    • types: The Object type Attrs, AttrTypes, Null, and Unknown fields have been deprecated in preference of the ObjectNull(), ObjectUnknown(), ObjectValue(), and ObjectValueMust() creation functions and As(), Attributes(), AttributeTypes(), IsNull(), and IsUnknown() methods. The fields will be removed in a future release. (#502)
    • types: The Set type Elems, ElemType, Null, and Unknown fields have been deprecated in preference of the SetNull(), SetUnknown(), SetValue(), and SetValueMust() creation functions and Elements(), ElementsAs(), ElementType(), IsNull(), and IsUnknown() methods. The fields will be removed in a future release. (#502)
    • types: The String type Null, Unknown, and Value fields have been deprecated in preference of the StringNull(), StringUnknown(), and StringValue() creation functions and IsNull(), IsUnknown(), and ValueString() methods. The fields will be removed in a future release. (#502)

    ENHANCEMENTS:

    • types: Added BoolNull(), BoolUnknown(), and BoolValue() functions, which create immutable Bool values (#502)
    • types: Added Bool type ValueBool() method, which returns the bool of the known value or false if null or unknown (#502)
    • types: Added Float64Null(), Float64Unknown(), and Float64Value() functions, which create immutable Float64 values (#502)
    • types: Added Float64 type ValueFloat64() method, which returns the float64 of the known value or 0.0 if null or unknown (#502)
    • types: Added Int64Null(), Int64Unknown(), and Int64Value() functions, which create immutable Int64 values (#502)
    • types: Added Int64 type ValueInt64() method, which returns the int64 of the known value or 0 if null or unknown (#502)
    • types: Added ListNull(), ListUnknown(), ListValue(), and ListValueMust() functions, which create immutable List values (#502)
    • types: Added ListValueFrom(), MapValueFrom(), ObjectValueFrom(), and SetValueFrom() functions, which can create value types from standard Go types using reflection similar to tfsdk.ValueFrom() (#522)
    • types: Added List type Elements() method, which returns the []attr.Value of the known values or nil if null or unknown (#502)
    • types: Added MapNull(), MapUnknown(), MapValue(), and MapValueMust() functions, which create immutable Map values (#502)
    • types: Added Map type Elements() method, which returns the map[string]attr.Value of the known values or nil if null or unknown (#502)
    • types: Added NumberNull(), NumberUnknown(), and NumberValue() functions, which create immutable Number values (#502)
    • types: Added Number type ValueBigFloat() method, which returns the *big.Float of the known value or nil if null or unknown (#502)
    • types: Added SetNull(), SetUnknown(), SetValue(), and SetValueMust() functions, which create immutable Set values (#502)
    • types: Added Set type Elements() method, which returns the []attr.Value of the known values or nil if null or unknown (#502)
    • types: Added StringNull(), StringUnknown(), and StringValue() functions, which create immutable String values (#502)
    • types: Added String type ValueString() method, which returns the string of the known value or "" if null or unknown (#502)

    v0.14.0

    NOTES:

    • The Terraform Plugin Framework is now in beta. Feedback towards a general availability release in the future with compatibility promises is appreciated. (#500)

    BREAKING CHANGES:

    • attr: The Type interface now requires the ValueType method, which is used for enhancing error diagnostics from the framework (#497)

    ENHANCEMENTS:

    • internal/reflect: Added attr.Value type suggestions to error diagnostics (#497)

    v0.13.0

    NOTES:

    • tfsdk: Schema definitions may now introduce single nested mode blocks, however this support is only intended for migrating terraform-plugin-sdk timeouts blocks. New implementations should prefer single nested attributes instead. (#477)

    ... (truncated)

    Changelog

    Sourced from github.com/hashicorp/terraform-plugin-framework's changelog.

    0.15.0 (October 26, 2022)

    NOTES:

    • types: The Bool type Null, Unknown, and Value fields have been deprecated in preference of the BoolNull(), BoolUnknown(), and BoolValue() creation functions and IsNull(), IsUnknown(), and ValueBool() methods. The fields will be removed in a future release. (#502)
    • types: The Float64 type Null, Unknown, and Value fields have been deprecated in preference of the Float64Null(), Float64Unknown(), and Float64Value() creation functions and IsNull(), IsUnknown(), and ValueFloat64() methods. The fields will be removed in a future release. (#502)
    • types: The Int64 type Null, Unknown, and Value fields have been deprecated in preference of the Int64Null(), Int64Unknown(), and Int64Value() creation functions and IsNull(), IsUnknown(), and ValueInt64() methods. The fields will be removed in a future release. (#502)
    • types: The List type Elems, ElemType, Null, and Unknown fields have been deprecated in preference of the ListNull(), ListUnknown(), ListValue(), and ListValueMust() creation functions and Elements(), ElementsAs(), ElementType(), IsNull(), and IsUnknown() methods. The fields will be removed in a future release. (#502)
    • types: The Map type Elems, ElemType, Null, and Unknown fields have been deprecated in preference of the MapNull(), MapUnknown(), MapValue(), and MapValueMust() creation functions and Elements(), ElementsAs(), ElementType(), IsNull(), and IsUnknown() methods. The fields will be removed in a future release. (#502)
    • types: The Number type Null, Unknown, and Value fields have been deprecated in preference of the NumberNull(), NumberUnknown(), and NumberValue() creation functions and IsNull(), IsUnknown(), and ValueBigFloat() methods. The fields will be removed in a future release. (#502)
    • types: The Object type Attrs, AttrTypes, Null, and Unknown fields have been deprecated in preference of the ObjectNull(), ObjectUnknown(), ObjectValue(), and ObjectValueMust() creation functions and As(), Attributes(), AttributeTypes(), IsNull(), and IsUnknown() methods. The fields will be removed in a future release. (#502)
    • types: The Set type Elems, ElemType, Null, and Unknown fields have been deprecated in preference of the SetNull(), SetUnknown(), SetValue(), and SetValueMust() creation functions and Elements(), ElementsAs(), ElementType(), IsNull(), and IsUnknown() methods. The fields will be removed in a future release. (#502)
    • types: The String type Null, Unknown, and Value fields have been deprecated in preference of the StringNull(), StringUnknown(), and StringValue() creation functions and IsNull(), IsUnknown(), and ValueString() methods. The fields will be removed in a future release. (#502)

    ENHANCEMENTS:

    • types: Added BoolNull(), BoolUnknown(), and BoolValue() functions, which create immutable Bool values (#502)
    • types: Added Bool type ValueBool() method, which returns the bool of the known value or false if null or unknown (#502)
    • types: Added Float64Null(), Float64Unknown(), and Float64Value() functions, which create immutable Float64 values (#502)
    • types: Added Float64 type ValueFloat64() method, which returns the float64 of the known value or 0.0 if null or unknown (#502)
    • types: Added Int64Null(), Int64Unknown(), and Int64Value() functions, which create immutable Int64 values (#502)
    • types: Added Int64 type ValueInt64() method, which returns the int64 of the known value or 0 if null or unknown (#502)
    • types: Added ListNull(), ListUnknown(), ListValue(), and ListValueMust() functions, which create immutable List values (#502)
    • types: Added ListValueFrom(), MapValueFrom(), ObjectValueFrom(), and SetValueFrom() functions, which can create value types from standard Go types using reflection similar to tfsdk.ValueFrom() (#522)
    • types: Added List type Elements() method, which returns the []attr.Value of the known values or nil if null or unknown (#502)
    • types: Added MapNull(), MapUnknown(), MapValue(), and MapValueMust() functions, which create immutable Map values (#502)
    • types: Added Map type Elements() method, which returns the map[string]attr.Value of the known values or nil if null or unknown (#502)
    • types: Added NumberNull(), NumberUnknown(), and NumberValue() functions, which create immutable Number values (#502)
    • types: Added Number type ValueBigFloat() method, which returns the *big.Float of the known value or nil if null or unknown (#502)
    • types: Added SetNull(), SetUnknown(), SetValue(), and SetValueMust() functions, which create immutable Set values (#502)
    • types: Added Set type Elements() method, which returns the []attr.Value of the known values or nil if null or unknown (#502)
    • types: Added StringNull(), StringUnknown(), and StringValue() functions, which create immutable String values (#502)
    • types: Added String type ValueString() method, which returns the string of the known value or "" if null or unknown (#502)

    0.14.0 (October 4, 2022)

    NOTES:

    • The Terraform Plugin Framework is now in beta. Feedback towards a general availability release in the future with compatibility promises is appreciated. (#500)

    BREAKING CHANGES:

    • attr: The Type interface now requires the ValueType method, which is used for enhancing error diagnostics from the framework (#497)

    ENHANCEMENTS:

    • internal/reflect: Added attr.Value type suggestions to error diagnostics (#497)

    0.13.0 (September 15, 2022)

    ... (truncated)

    Commits
    • 1ee1a4f Update CHANGELOG for 0.15.0
    • de565fa types: Introduce ListValueFrom, MapValueFrom, ObjectValueFrom, and SetValueFr...
    • 4b21cf8 types: Deprecate Attrs, AttrTypes, Elems, ElemTypes, Null, Unknown, and Value...
    • ce2519c build(deps): Bump golangci/golangci-lint-action from 3.2.0 to 3.3.0 (#519)
    • e1bf73e chore: Update Digital Team Files (#517)
    • 734074c chore(docs): rewrite internal redirects (#518)
    • 2be6665 [COMPLIANCE] Update MPL 2.0 LICENSE (#514)
    • 79303b8 website: Bold Note: in beta callouts (#507)
    • 56ca8c9 Update CHANGELOG for 0.14.0
    • 6f59b6f README updates (#503)
    • Additional commits viewable in compare view

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
  • Bump goreleaser/goreleaser-action from 2.8.1 to 3.2.0

    Bump goreleaser/goreleaser-action from 2.8.1 to 3.2.0

    Bumps goreleaser/goreleaser-action from 2.8.1 to 3.2.0.

    Release notes

    Sourced from goreleaser/goreleaser-action's releases.

    v3.2.0

    What's Changed

    • chore: remove workaround for setOutput by @​crazy-max (#374)
    • chore(deps): bump @​actions/core from 1.9.1 to 1.10.0 (#372)
    • chore(deps): bump yargs from 17.5.1 to 17.6.0 (#373)

    Full Changelog: https://github.com/goreleaser/goreleaser-action/compare/v3.1.0...v3.2.0

    v3.1.0

    What's Changed

    • fix: dist resolution from config file by @​crazy-max (#369)
    • ci: fix workflow by @​crazy-max (#357)
    • docs: bump actions to latest major by @​crazy-max (#356)
    • chore(deps): bump crazy-max/ghaction-import-gpg from 4 to 5 (#360)
    • chore(deps): bump ghaction-import-gpg to v5 (#359)
    • chore(deps): bump @​actions/core from 1.6.0 to 1.8.2 (#358)
    • chore(deps): bump @​actions/core from 1.8.2 to 1.9.1 (#367)

    Full Changelog: https://github.com/goreleaser/goreleaser-action/compare/v3.0.0...v3.1.0

    v3.0.0

    What's Changed

    New Contributors

    Full Changelog: https://github.com/goreleaser/goreleaser-action/compare/v2.9.1...v3.0.0

    v2.9.1

    What's Changed

    Full Changelog: https://github.com/goreleaser/goreleaser-action/compare/v2...v2.9.1

    v2.9.0

    What's Changed

    ... (truncated)

    Commits
    • b508e2e chore: remove workaround for setOutput (#374)
    • 0ca84fc chore(deps): bump yargs from 17.5.1 to 17.6.0 (#373)
    • 685a991 chore(deps): bump @​actions/core from 1.9.1 to 1.10.0 (#372)
    • ff11ca2 fix: dist resolution from config file (#369)
    • ef54bd4 chore(deps): bump @​actions/core from 1.8.2 to 1.9.1 (#367)
    • aab65f3 chore(deps): bump @​actions/core from 1.6.0 to 1.8.2 (#358)
    • 7bb9301 chore(deps): bump ghaction-import-gpg to v5 (#359)
    • 50f10b3 chore(deps): bump crazy-max/ghaction-import-gpg from 4 to 5 (#360)
    • 188063d ci: fix workflow (#357)
    • 7e270cc docs: bump actions to latest major (#356)
    • Additional commits viewable in compare view

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
  • Bump github.com/hashicorp/terraform-plugin-sdk/v2 from 2.10.1 to 2.24.0

    Bump github.com/hashicorp/terraform-plugin-sdk/v2 from 2.10.1 to 2.24.0

    Bumps github.com/hashicorp/terraform-plugin-sdk/v2 from 2.10.1 to 2.24.0.

    Release notes

    Sourced from github.com/hashicorp/terraform-plugin-sdk/v2's releases.

    v2.24.0

    ENHANCEMENTS:

    • helper/resource: Added TestStep type RefreshState field, which enables a step that refreshes state without an explicit apply or configuration changes (#1070)

    BUG FIXES:

    • helper/resource: Fixed TestStep type ImportStateVerify field so that it only matches against resources following a change in behaviour in Terraform 1.3 that imports both resources and their dependent data sources (#1077)

    v2.23.0

    ENHANCEMENTS:

    • helper/resource: Added Terraform configuration to TRACE logging (#1059)
    • helper/resource: Added terraform plan output to TRACE logging (#1058)

    BUG FIXES:

    • helper/resource: Prevented Inconsistent dependency lock file errors when using ExternalProviders outside the hashicorp namespace (#1057)

    v2.22.0

    ENHANCEMENTS:

    • helper/resource: Add ImportStatePersist to optionally persist state generated during import (#1052)

    BUG FIXES:

    • helper/schema: Delayed deprecated attribute warnings for unknown values, which may be null (#1047)
    • helper/schema: Included path information in list size diagnostics for cases where Terraform does not include the configuration source (#826)

    v2.21.0

    NOTES:

    • This Go module has been updated to Go 1.18 per the Go support policy. Any consumers building on earlier Go versions may experience errors. (#1027)

    BUG FIXES:

    • helper/resource: Fixed TestStep type Taint field usage to properly recreate resources (#1031)
    • helper/schema: Ensured RawConfig, RawPlan, and RawState are correctly copied during planning with recreation (#1024)

    v2.20.0

    NOTES:

    • helper/logging: Existing NewTransport() is now deprecated in favour of using the new NewLoggingHTTPTransport() or NewSubsystemLoggingHTTPTransport() (#1006)

    FEATURES:

    • helper/logging: New NewLoggingHTTPTransport() and NewSubsystemLoggingHTTPTransport() functions, providing http.RoundTripper Transport implementations that log request/response using terraform-plugin-log (#546) (#1006)

    v2.19.0

    NOTES:

    • The underlying terraform-plugin-log dependency has been updated to v0.6.0, which includes log filtering support and breaking changes of With() to SetField() function names. Any provider logging which calls those functions may require updates. (#1003)

    v2.18.0

    ... (truncated)

    Changelog

    Sourced from github.com/hashicorp/terraform-plugin-sdk/v2's changelog.

    2.24.0 (October 13, 2022)

    ENHANCEMENTS:

    • helper/resource: Added TestStep type RefreshState field, which enables a step that refreshes state without an explicit apply or configuration changes (#1070)

    BUG FIXES:

    • helper/resource: Fixed TestStep type ImportStateVerify field so that it only matches against resources following a change in behaviour in Terraform 1.3 that imports both resources and their dependent data sources (#1077)

    2.23.0 (September 15, 2022)

    ENHANCEMENTS:

    • helper/resource: Added Terraform configuration to TRACE logging (#1059)
    • helper/resource: Added terraform plan output to TRACE logging (#1058)

    BUG FIXES:

    • helper/resource: Prevented Inconsistent dependency lock file errors when using ExternalProviders outside the hashicorp namespace (#1057)

    2.22.0 (September 8, 2022)

    ENHANCEMENTS:

    • helper/resource: Add ImportStatePersist to optionally persist state generated during import (#1052)

    BUG FIXES:

    • helper/schema: Delayed deprecated attribute warnings for unknown values, which may be null (#1047)
    • helper/schema: Included path information in list size diagnostics for cases where Terraform does not include the configuration source (#826)

    2.21.0 (August 15, 2022)

    NOTES:

    • This Go module has been updated to Go 1.18 per the Go support policy. Any consumers building on earlier Go versions may experience errors. (#1027)

    BUG FIXES:

    • helper/resource: Fixed TestStep type Taint field usage to properly recreate resources (#1031)
    • helper/schema: Ensured RawConfig, RawPlan, and RawState are correctly copied during planning with recreation (#1024)

    2.20.0 (July 28, 2022)

    NOTES:

    • helper/logging: Existing NewTransport() is now deprecated in favour of using the new NewLoggingHTTPTransport() or NewSubsystemLoggingHTTPTransport() (#1006)

    FEATURES:

    • helper/logging: New NewLoggingHTTPTransport() and NewSubsystemLoggingHTTPTransport() functions, providing http.RoundTripper Transport implementations that log request/response using terraform-plugin-log (#546) (#1006)

    2.19.0 (July 15, 2022)

    ... (truncated)

    Commits
    • 3827d73 Update CHANGELOG for 2.24.0
    • bee17ac Adding test coverage for changes to ignore data sources in imported state (#1...
    • 443a5c7 [COMPLIANCE] Update MPL 2.0 LICENSE (#1078)
    • 1dba057 Adding RefreshState test step (#1070)
    • 3495894 helper/schema: Compile valid field name regex once (#1062)
    • 6c09938 build(deps): Bump github.com/hashicorp/hcl/v2 from 2.14.0 to 2.14.1 (#1067)
    • e6f34f7 build(deps): Bump leonsteinhaeuser/project-beta-automations (#1068)
    • fa98583 Merge DevPortal into Main (#1061)
    • a0ace48 Update CHANGELOG for 2.23.0
    • 755f211 helper/resource: Add Terraform configuration to TRACE logging (#1059)
    • Additional commits viewable in compare view

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
  • Bump github.com/hashicorp/terraform-plugin-framework from 0.5.0 to 0.14.0

    Bump github.com/hashicorp/terraform-plugin-framework from 0.5.0 to 0.14.0

    Bumps github.com/hashicorp/terraform-plugin-framework from 0.5.0 to 0.14.0.

    Release notes

    Sourced from github.com/hashicorp/terraform-plugin-framework's releases.

    v0.14.0

    NOTES:

    • The Terraform Plugin Framework is now in beta. Feedback towards a general availability release in the future with compatibility promises is appreciated. (#500)

    BREAKING CHANGES:

    • attr: The Type interface now requires the ValueType method, which is used for enhancing error diagnostics from the framework (#497)

    ENHANCEMENTS:

    • internal/reflect: Added attr.Value type suggestions to error diagnostics (#497)

    v0.13.0

    NOTES:

    • tfsdk: Schema definitions may now introduce single nested mode blocks, however this support is only intended for migrating terraform-plugin-sdk timeouts blocks. New implementations should prefer single nested attributes instead. (#477)

    BREAKING CHANGES:

    • datasource: The DataSource interface now requires the GetSchema and Metadata methods. (#478)
    • provider: The DataSourceType and ResourceType types have been removed. Use the GetSchema, Metadata, and optionally the Configure methods on datasource.DataSource and resource.Resource implementations instead. (#478)
    • provider: The Provider interface GetDataSources and GetResources methods have been removed. Use the DataSources and Resources methods instead. (#478)
    • resource: The Resource interface now requires the GetSchema and Metadata methods. (#478)

    ENHANCEMENTS:

    • tfsdk: Added single nested mode block support (#477)

    BUG FIXES:

    • internal/fwserver: Ensured nested block plan modifiers correctly set their request AttributeConfig, AttributePlan, and AttributeState values (#479)
    • types: Ensured List, Map, and Set types with xattr.TypeWithValidate elements run validation on those elements (#481)

    v0.12.0

    NOTES:

    • datasource: The DataSource type GetSchema and Metadata methods will be required in the next version. (#472)
    • provider: The DataSourceType type has been deprecated in preference of moving the GetSchema method to the datasource.DataSource type and optionally implementing the NewResource method logic to a new Configure method. The DataSourceType type will be removed in the next version. (#472)
    • provider: The Provider type GetDataSources method has been deprecated in preference of the DataSources method. All datasource.DataSource types must implement the Metadata method after migrating. Support for the GetDataSources method will be removed in the next version. (#472)
    • provider: The Provider type GetResources method has been deprecated in preference of the Resources method. All resource.Resource types must implement the Metadata method after migrating. Support for the GetResources method will be removed in the next version. (#472)
    • provider: The ResourceType type has been deprecated in preference of moving the GetSchema method to the resource.Resource type and optionally implementing the NewResource method logic to a new Configure method. The ResourceType type will be removed in the next version. (#472)
    • resource: The Resource type GetSchema and Metadata methods will be required in the next version. (#472)

    BREAKING CHANGES:

    • tfsdk: The Schema type AttributeAtPath() method signature has be updated with a path.Path parameter and diag.Diagnostics return. Use the AttributeAtTerraformPath() method instead if *tftypes.AttributePath or specific error handling is still necessary. (#450)
    • tfsdk: The previously deprecated Schema type AttributeType() method has been removed. Use the Type() method instead. (#450)
    • tfsdk: The previously deprecated Schema type AttributeTypeAtPath() method has been removed. Use the TypeAtPath() or TypeAtTerraformPath() method instead. (#450)
    • tfsdk: The previously deprecated Schema type TerraformType() method has been removed. Use Type().TerraformType() instead. (#450)

    ... (truncated)

    Changelog

    Sourced from github.com/hashicorp/terraform-plugin-framework's changelog.

    0.14.0 (October 4, 2022)

    NOTES:

    • The Terraform Plugin Framework is now in beta. Feedback towards a general availability release in the future with compatibility promises is appreciated. (#500)

    BREAKING CHANGES:

    • attr: The Type interface now requires the ValueType method, which is used for enhancing error diagnostics from the framework (#497)

    ENHANCEMENTS:

    • internal/reflect: Added attr.Value type suggestions to error diagnostics (#497)

    0.13.0 (September 15, 2022)

    NOTES:

    • tfsdk: Schema definitions may now introduce single nested mode blocks, however this support is only intended for migrating terraform-plugin-sdk timeouts blocks. New implementations should prefer single nested attributes instead. (#477)

    BREAKING CHANGES:

    • datasource: The DataSource interface now requires the GetSchema and Metadata methods. (#478)
    • provider: The DataSourceType and ResourceType types have been removed. Use the GetSchema, Metadata, and optionally the Configure methods on datasource.DataSource and resource.Resource implementations instead. (#478)
    • provider: The Provider interface GetDataSources and GetResources methods have been removed. Use the DataSources and Resources methods instead. (#478)
    • resource: The Resource interface now requires the GetSchema and Metadata methods. (#478)

    ENHANCEMENTS:

    • tfsdk: Added single nested mode block support (#477)

    BUG FIXES:

    • internal/fwserver: Ensured nested block plan modifiers correctly set their request AttributeConfig, AttributePlan, and AttributeState values (#479)
    • types: Ensured List, Map, and Set types with xattr.TypeWithValidate elements run validation on those elements (#481)

    0.12.0 (September 12, 2022)

    NOTES:

    • datasource: The DataSource type GetSchema and Metadata methods will be required in the next version. (#472)
    • provider: The DataSourceType type has been deprecated in preference of moving the GetSchema method to the datasource.DataSource type and optionally implementing the NewResource method logic to a new Configure method. The DataSourceType type will be removed in the next version. (#472)
    • provider: The Provider type GetDataSources method has been deprecated in preference of the DataSources method. All datasource.DataSource types must implement the Metadata method after migrating. Support for the GetDataSources method will be removed in the next version. (#472)
    • provider: The Provider type GetResources method has been deprecated in preference of the Resources method. All resource.Resource types must implement the Metadata method after migrating. Support for the GetResources method will be removed in the next version. (#472)
    • provider: The ResourceType type has been deprecated in preference of moving the GetSchema method to the resource.Resource type and optionally implementing the NewResource method logic to a new Configure method. The ResourceType type will be removed in the next version. (#472)
    • resource: The Resource type GetSchema and Metadata methods will be required in the next version. (#472)

    BREAKING CHANGES:

    • tfsdk: The Schema type AttributeAtPath() method signature has be updated with a path.Path parameter and diag.Diagnostics return. Use the AttributeAtTerraformPath() method instead if *tftypes.AttributePath or specific error handling is still necessary. (#450)

    ... (truncated)

    Commits
    • 56ca8c9 Update CHANGELOG for 0.14.0
    • 6f59b6f README updates (#503)
    • f5b7613 Update CHANGELOG for #500
    • afd88cb website: Update HashiCorp learn links for new collection (#506)
    • ef5183a website: Fix old code examples to tfsdk.ModifyResourcePlanRe(quest|sponse) (#...
    • 66e1a42 website: Further discourage usage of non-types package types with accessing s...
    • 5e9e49f website: Create concept-specific configuration validation pages (#501)
    • 254863a website: Add beta callout on all pages (#500)
    • be8ba7c build(deps): Bump leonsteinhaeuser/project-beta-automations (#499)
    • f24aeb9 attr: Add ValueType method to Type interface (#497)
    • Additional commits viewable in compare view

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
  • Bump github.com/hashicorp/terraform-plugin-framework from 0.5.0 to 0.13.0

    Bump github.com/hashicorp/terraform-plugin-framework from 0.5.0 to 0.13.0

    Bumps github.com/hashicorp/terraform-plugin-framework from 0.5.0 to 0.13.0.

    Release notes

    Sourced from github.com/hashicorp/terraform-plugin-framework's releases.

    v0.13.0

    NOTES:

    • tfsdk: Schema definitions may now introduce single nested mode blocks, however this support is only intended for migrating terraform-plugin-sdk timeouts blocks. New implementations should prefer single nested attributes instead. (#477)

    BREAKING CHANGES:

    • datasource: The DataSource interface now requires the GetSchema and Metadata methods. (#478)
    • provider: The DataSourceType and ResourceType types have been removed. Use the GetSchema, Metadata, and optionally the Configure methods on datasource.DataSource and resource.Resource implementations instead. (#478)
    • provider: The Provider interface GetDataSources and GetResources methods have been removed. Use the DataSources and Resources methods instead. (#478)
    • resource: The Resource interface now requires the GetSchema and Metadata methods. (#478)

    ENHANCEMENTS:

    • tfsdk: Added single nested mode block support (#477)

    BUG FIXES:

    • internal/fwserver: Ensured nested block plan modifiers correctly set their request AttributeConfig, AttributePlan, and AttributeState values (#479)
    • types: Ensured List, Map, and Set types with xattr.TypeWithValidate elements run validation on those elements (#481)

    v0.12.0

    NOTES:

    • datasource: The DataSource type GetSchema and Metadata methods will be required in the next version. (#472)
    • provider: The DataSourceType type has been deprecated in preference of moving the GetSchema method to the datasource.DataSource type and optionally implementing the NewResource method logic to a new Configure method. The DataSourceType type will be removed in the next version. (#472)
    • provider: The Provider type GetDataSources method has been deprecated in preference of the DataSources method. All datasource.DataSource types must implement the Metadata method after migrating. Support for the GetDataSources method will be removed in the next version. (#472)
    • provider: The Provider type GetResources method has been deprecated in preference of the Resources method. All resource.Resource types must implement the Metadata method after migrating. Support for the GetResources method will be removed in the next version. (#472)
    • provider: The ResourceType type has been deprecated in preference of moving the GetSchema method to the resource.Resource type and optionally implementing the NewResource method logic to a new Configure method. The ResourceType type will be removed in the next version. (#472)
    • resource: The Resource type GetSchema and Metadata methods will be required in the next version. (#472)

    BREAKING CHANGES:

    • tfsdk: The Schema type AttributeAtPath() method signature has be updated with a path.Path parameter and diag.Diagnostics return. Use the AttributeAtTerraformPath() method instead if *tftypes.AttributePath or specific error handling is still necessary. (#450)
    • tfsdk: The previously deprecated Schema type AttributeType() method has been removed. Use the Type() method instead. (#450)
    • tfsdk: The previously deprecated Schema type AttributeTypeAtPath() method has been removed. Use the TypeAtPath() or TypeAtTerraformPath() method instead. (#450)
    • tfsdk: The previously deprecated Schema type TerraformType() method has been removed. Use Type().TerraformType() instead. (#450)

    ENHANCEMENTS:

    • datasource: Added DataSource type Configure, GetSchema, and Metadata method support (#472)
    • provider: Added ConfigureResponse type DataSourceData field, which will set the datasource.ConfigureRequest.ProviderData field (#472)
    • provider: Added ConfigureResponse type ResourceData field, which will set the resource.ConfigureRequest.ProviderData field (#472)
    • provider: Added Provider type Metadata method support, which the MetadataResponse.TypeName field will set the datasource.MetadataRequest.ProviderTypeName and resource.MetadataRequest.ProviderTypeName fields (#472)
    • resource: Added Resource type Configure, GetSchema, and Metadata method support (#472)

    BUG FIXES:

    • internal/fwserver: Delayed deprecated attribute/block warnings for unknown values, which may be null (#465)
    • internal/fwserver: Fixed alignment of set type plan modification (#468)

    ... (truncated)

    Changelog

    Sourced from github.com/hashicorp/terraform-plugin-framework's changelog.

    0.13.0 (September 15, 2022)

    NOTES:

    • tfsdk: Schema definitions may now introduce single nested mode blocks, however this support is only intended for migrating terraform-plugin-sdk timeouts blocks. New implementations should prefer single nested attributes instead. (#477)

    BREAKING CHANGES:

    • datasource: The DataSource interface now requires the GetSchema and Metadata methods. (#478)
    • provider: The DataSourceType and ResourceType types have been removed. Use the GetSchema, Metadata, and optionally the Configure methods on datasource.DataSource and resource.Resource implementations instead. (#478)
    • provider: The Provider interface GetDataSources and GetResources methods have been removed. Use the DataSources and Resources methods instead. (#478)
    • resource: The Resource interface now requires the GetSchema and Metadata methods. (#478)

    ENHANCEMENTS:

    • tfsdk: Added single nested mode block support (#477)

    BUG FIXES:

    • internal/fwserver: Ensured nested block plan modifiers correctly set their request AttributeConfig, AttributePlan, and AttributeState values (#479)
    • types: Ensured List, Map, and Set types with xattr.TypeWithValidate elements run validation on those elements (#481)

    0.12.0 (September 12, 2022)

    NOTES:

    • datasource: The DataSource type GetSchema and Metadata methods will be required in the next version. (#472)
    • provider: The DataSourceType type has been deprecated in preference of moving the GetSchema method to the datasource.DataSource type and optionally implementing the NewResource method logic to a new Configure method. The DataSourceType type will be removed in the next version. (#472)
    • provider: The Provider type GetDataSources method has been deprecated in preference of the DataSources method. All datasource.DataSource types must implement the Metadata method after migrating. Support for the GetDataSources method will be removed in the next version. (#472)
    • provider: The Provider type GetResources method has been deprecated in preference of the Resources method. All resource.Resource types must implement the Metadata method after migrating. Support for the GetResources method will be removed in the next version. (#472)
    • provider: The ResourceType type has been deprecated in preference of moving the GetSchema method to the resource.Resource type and optionally implementing the NewResource method logic to a new Configure method. The ResourceType type will be removed in the next version. (#472)
    • resource: The Resource type GetSchema and Metadata methods will be required in the next version. (#472)

    BREAKING CHANGES:

    • tfsdk: The Schema type AttributeAtPath() method signature has be updated with a path.Path parameter and diag.Diagnostics return. Use the AttributeAtTerraformPath() method instead if *tftypes.AttributePath or specific error handling is still necessary. (#450)
    • tfsdk: The previously deprecated Schema type AttributeType() method has been removed. Use the Type() method instead. (#450)
    • tfsdk: The previously deprecated Schema type AttributeTypeAtPath() method has been removed. Use the TypeAtPath() or TypeAtTerraformPath() method instead. (#450)
    • tfsdk: The previously deprecated Schema type TerraformType() method has been removed. Use Type().TerraformType() instead. (#450)

    ENHANCEMENTS:

    • datasource: Added DataSource type Configure, GetSchema, and Metadata method support (#472)
    • provider: Added ConfigureResponse type DataSourceData field, which will set the datasource.ConfigureRequest.ProviderData field (#472)
    • provider: Added ConfigureResponse type ResourceData field, which will set the resource.ConfigureRequest.ProviderData field (#472)
    • provider: Added Provider type Metadata method support, which the MetadataResponse.TypeName field will set the datasource.MetadataRequest.ProviderTypeName and resource.MetadataRequest.ProviderTypeName fields (#472)
    • resource: Added Resource type Configure, GetSchema, and Metadata method support (#472)

    BUG FIXES:

    ... (truncated)

    Commits
    • 65fd838 Update CHANGELOG for 0.13.0
    • 5f9d3d3 types: Add element type validation to ListType, MapType, and SetType (#481)
    • e4d656e docs: Additional migration notes on Update handling and RemoveResource handli...
    • 9696464 internal/fwserver: Fix framework setting nested blocks within nested lists to...
    • d974925 website: Typo in resources index: s/Read/Delete/ (#482)
    • 04ff770 Fix broken links in migration docs (#476)
    • 6dd6fbe website: Migration guide updates for provider.DataSourceType and provider.Res...
    • 46b5573 provider: Remove DataSourceType and ResourceType types, Provider GetDataSourc...
    • f957ca7 tfsdk: Add support for single nested mode blocks (#477)
    • b79aef6 Update CHANGELOG 0.12.0 entry position for clarity
    • Additional commits viewable in compare view

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
  • Bump github.com/hashicorp/terraform-plugin-sdk/v2 from 2.10.1 to 2.23.0

    Bump github.com/hashicorp/terraform-plugin-sdk/v2 from 2.10.1 to 2.23.0

    Bumps github.com/hashicorp/terraform-plugin-sdk/v2 from 2.10.1 to 2.23.0.

    Release notes

    Sourced from github.com/hashicorp/terraform-plugin-sdk/v2's releases.

    v2.23.0

    ENHANCEMENTS:

    • helper/resource: Added Terraform configuration to TRACE logging (#1059)
    • helper/resource: Added terraform plan output to TRACE logging (#1058)

    BUG FIXES:

    • helper/resource: Prevented Inconsistent dependency lock file errors when using ExternalProviders outside the hashicorp namespace (#1057)

    v2.22.0

    ENHANCEMENTS:

    • helper/resource: Add ImportStatePersist to optionally persist state generated during import (#1052)

    BUG FIXES:

    • helper/schema: Delayed deprecated attribute warnings for unknown values, which may be null (#1047)
    • helper/schema: Included path information in list size diagnostics for cases where Terraform does not include the configuration source (#826)

    v2.21.0

    NOTES:

    • This Go module has been updated to Go 1.18 per the Go support policy. Any consumers building on earlier Go versions may experience errors. (#1027)

    BUG FIXES:

    • helper/resource: Fixed TestStep type Taint field usage to properly recreate resources (#1031)
    • helper/schema: Ensured RawConfig, RawPlan, and RawState are correctly copied during planning with recreation (#1024)

    v2.20.0

    NOTES:

    • helper/logging: Existing NewTransport() is now deprecated in favour of using the new NewLoggingHTTPTransport() or NewSubsystemLoggingHTTPTransport() (#1006)

    FEATURES:

    • helper/logging: New NewLoggingHTTPTransport() and NewSubsystemLoggingHTTPTransport() functions, providing http.RoundTripper Transport implementations that log request/response using terraform-plugin-log (#546) (#1006)

    v2.19.0

    NOTES:

    • The underlying terraform-plugin-log dependency has been updated to v0.6.0, which includes log filtering support and breaking changes of With() to SetField() function names. Any provider logging which calls those functions may require updates. (#1003)

    v2.18.0

    ENHANCEMENTS:

    • helper/resource: Added TF_ACC_LOG, TF_LOG_CORE, and TF_LOG_PROVIDER environment variable handling for Terraform versions 0.15 and later (#993)
    • helper/schema: Added sdk.proto logger request duration and response diagnostics logging (#996)

    BUG FIXES:

    ... (truncated)

    Changelog

    Sourced from github.com/hashicorp/terraform-plugin-sdk/v2's changelog.

    2.23.0 (September 15, 2022)

    ENHANCEMENTS:

    • helper/resource: Added Terraform configuration to TRACE logging (#1059)
    • helper/resource: Added terraform plan output to TRACE logging (#1058)

    BUG FIXES:

    • helper/resource: Prevented Inconsistent dependency lock file errors when using ExternalProviders outside the hashicorp namespace (#1057)

    2.22.0 (September 8, 2022)

    ENHANCEMENTS:

    • helper/resource: Add ImportStatePersist to optionally persist state generated during import (#1052)

    BUG FIXES:

    • helper/schema: Delayed deprecated attribute warnings for unknown values, which may be null (#1047)
    • helper/schema: Included path information in list size diagnostics for cases where Terraform does not include the configuration source (#826)

    2.21.0 (August 15, 2022)

    NOTES:

    • This Go module has been updated to Go 1.18 per the Go support policy. Any consumers building on earlier Go versions may experience errors. (#1027)

    BUG FIXES:

    • helper/resource: Fixed TestStep type Taint field usage to properly recreate resources (#1031)
    • helper/schema: Ensured RawConfig, RawPlan, and RawState are correctly copied during planning with recreation (#1024)

    2.20.0 (July 28, 2022)

    NOTES:

    • helper/logging: Existing NewTransport() is now deprecated in favour of using the new NewLoggingHTTPTransport() or NewSubsystemLoggingHTTPTransport() (#1006)

    FEATURES:

    • helper/logging: New NewLoggingHTTPTransport() and NewSubsystemLoggingHTTPTransport() functions, providing http.RoundTripper Transport implementations that log request/response using terraform-plugin-log (#546) (#1006)

    2.19.0 (July 15, 2022)

    NOTES:

    • The underlying terraform-plugin-log dependency has been updated to v0.6.0, which includes log filtering support and breaking changes of With() to SetField() function names. Any provider logging which calls those functions may require updates. (#1003)

    2.18.0 (July 5, 2022)

    ENHANCEMENTS:

    ... (truncated)

    Commits
    • a0ace48 Update CHANGELOG for 2.23.0
    • 755f211 helper/resource: Add Terraform configuration to TRACE logging (#1059)
    • 0f41bb0 helper/resource: Add terraform plan output to TRACE logging (#1058)
    • a096f3a internal/plugintest: Switch from (os.File).Readdir() to os.ReadDir() (#1056)
    • ef65fde helper/resource: Prevent Inconsistent dependency lock file errors when usin...
    • 44ccfdc build(deps): Bump github.com/google/go-cmp from 0.5.8 to 0.5.9 (#1054)
    • c425f01 Update CHANGELOG for 2.22.0
    • d0009e2 Use ImportStatePersist to preserve state generated by import operation (#1052)
    • 3951e14 build(deps): Bump leonsteinhaeuser/project-beta-automations (#1051)
    • ec0c139 build(deps): Bump github.com/hashicorp/hcl/v2 from 2.13.0 to 2.14.0 (#1046)
    • Additional commits viewable in compare view

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
  • Bump github.com/hashicorp/terraform-plugin-framework from 0.5.0 to 0.12.0

    Bump github.com/hashicorp/terraform-plugin-framework from 0.5.0 to 0.12.0

    Bumps github.com/hashicorp/terraform-plugin-framework from 0.5.0 to 0.12.0.

    Release notes

    Sourced from github.com/hashicorp/terraform-plugin-framework's releases.

    v0.12.0

    NOTES:

    • datasource: The DataSource type GetSchema and Metadata methods will be required in the next version. (#472)
    • provider: The DataSourceType type has been deprecated in preference of moving the GetSchema method to the datasource.DataSource type and optionally implementing the NewResource method logic to a new Configure method. The DataSourceType type will be removed in the next version. (#472)
    • provider: The Provider type GetDataSources method has been deprecated in preference of the DataSources method. All datasource.DataSource types must implement the Metadata method after migrating. Support for the GetDataSources method will be removed in the next version. (#472)
    • provider: The Provider type GetResources method has been deprecated in preference of the Resources method. All resource.Resource types must implement the Metadata method after migrating. Support for the GetResources method will be removed in the next version. (#472)
    • provider: The ResourceType type has been deprecated in preference of moving the GetSchema method to the resource.Resource type and optionally implementing the NewResource method logic to a new Configure method. The ResourceType type will be removed in the next version. (#472)
    • resource: The Resource type GetSchema and Metadata methods will be required in the next version. (#472)

    BREAKING CHANGES:

    • tfsdk: The Schema type AttributeAtPath() method signature has be updated with a path.Path parameter and diag.Diagnostics return. Use the AttributeAtTerraformPath() method instead if *tftypes.AttributePath or specific error handling is still necessary. (#450)
    • tfsdk: The previously deprecated Schema type AttributeType() method has been removed. Use the Type() method instead. (#450)
    • tfsdk: The previously deprecated Schema type AttributeTypeAtPath() method has been removed. Use the TypeAtPath() or TypeAtTerraformPath() method instead. (#450)
    • tfsdk: The previously deprecated Schema type TerraformType() method has been removed. Use Type().TerraformType() instead. (#450)

    ENHANCEMENTS:

    • datasource: Added DataSource type Configure, GetSchema, and Metadata method support (#472)
    • provider: Added ConfigureResponse type DataSourceData field, which will set the datasource.ConfigureRequest.ProviderData field (#472)
    • provider: Added ConfigureResponse type ResourceData field, which will set the resource.ConfigureRequest.ProviderData field (#472)
    • provider: Added Provider type Metadata method support, which the MetadataResponse.TypeName field will set the datasource.MetadataRequest.ProviderTypeName and resource.MetadataRequest.ProviderTypeName fields (#472)
    • resource: Added Resource type Configure, GetSchema, and Metadata method support (#472)

    BUG FIXES:

    • internal/fwserver: Delayed deprecated attribute/block warnings for unknown values, which may be null (#465)
    • internal/fwserver: Fixed alignment of set type plan modification (#468)

    v0.11.1

    BUG FIXES:

    • resource: Prevented Error Decoding Private State errors on resources previously managed by terraform-plugin-sdk (#452)

    v0.11.0

    NOTES:

    • This Go module has been updated to Go 1.18 per the Go support policy. Any consumers building on earlier Go versions may experience errors. (#445)
    • tfsdk: The Schema type AttributeAtPath() method signature will be updated from a *tftypes.AttributePath parameter to path.Path in the next release. Switch to the AttributeAtTerraformPath() method if *tftypes.AttributePath handling is still necessary. (#440)
    • tfsdk: The Schema type AttributeType() method has been deprecated in preference of the Type() method. (#440)
    • tfsdk: The Schema type AttributeTypeAtPath() method has been deprecated for the TypeAtPath() and TypeAtTerraformPath() methods. (#440)
    • tfsdk: The Schema type TerraformType() method has been deprecated in preference of calling Type().TerraformType(). (#440)

    BREAKING CHANGES:

    • tfsdk: Go types relating to data source handling have been migrated to the new datasource package. Consult the pull request description for a full listing of find-and-replace information. (#432)
    • tfsdk: Go types relating to provider handling have been migrated to the new provider package. Consult the pull request description for a full listing of find-and-replace information. (#432)
    • tfsdk: Go types relating to resource handling have been migrated to the new resource package. Consult the pull request description for a full listing of find-and-replace information. (#432)

    ... (truncated)

    Changelog

    Sourced from github.com/hashicorp/terraform-plugin-framework's changelog.

    0.12.0 (September 12, 2022)

    NOTES:

    • datasource: The DataSource type GetSchema and Metadata methods will be required in the next version. (#472)
    • provider: The DataSourceType type has been deprecated in preference of moving the GetSchema method to the datasource.DataSource type and optionally implementing the NewResource method logic to a new Configure method. The DataSourceType type will be removed in the next version. (#472)
    • provider: The Provider type GetDataSources method has been deprecated in preference of the DataSources method. All datasource.DataSource types must implement the Metadata method after migrating. Support for the GetDataSources method will be removed in the next version. (#472)
    • provider: The Provider type GetResources method has been deprecated in preference of the Resources method. All resource.Resource types must implement the Metadata method after migrating. Support for the GetResources method will be removed in the next version. (#472)
    • provider: The ResourceType type has been deprecated in preference of moving the GetSchema method to the resource.Resource type and optionally implementing the NewResource method logic to a new Configure method. The ResourceType type will be removed in the next version. (#472)
    • resource: The Resource type GetSchema and Metadata methods will be required in the next version. (#472)

    BREAKING CHANGES:

    • tfsdk: The Schema type AttributeAtPath() method signature has be updated with a path.Path parameter and diag.Diagnostics return. Use the AttributeAtTerraformPath() method instead if *tftypes.AttributePath or specific error handling is still necessary. (#450)
    • tfsdk: The previously deprecated Schema type AttributeType() method has been removed. Use the Type() method instead. (#450)
    • tfsdk: The previously deprecated Schema type AttributeTypeAtPath() method has been removed. Use the TypeAtPath() or TypeAtTerraformPath() method instead. (#450)
    • tfsdk: The previously deprecated Schema type TerraformType() method has been removed. Use Type().TerraformType() instead. (#450)

    ENHANCEMENTS:

    • datasource: Added DataSource type Configure, GetSchema, and Metadata method support (#472)
    • provider: Added ConfigureResponse type DataSourceData field, which will set the datasource.ConfigureRequest.ProviderData field (#472)
    • provider: Added ConfigureResponse type ResourceData field, which will set the resource.ConfigureRequest.ProviderData field (#472)
    • provider: Added Provider type Metadata method support, which the MetadataResponse.TypeName field will set the datasource.MetadataRequest.ProviderTypeName and resource.MetadataRequest.ProviderTypeName fields (#472)
    • resource: Added Resource type Configure, GetSchema, and Metadata method support (#472)

    BUG FIXES:

    • internal/fwserver: Delayed deprecated attribute/block warnings for unknown values, which may be null (#465)
    • internal/fwserver: Fixed alignment of set type plan modification (#468)

    0.11.1 (August 15, 2022)

    BUG FIXES:

    • resource: Prevented Error Decoding Private State errors on resources previously managed by terraform-plugin-sdk (#452)

    0.11.0 (August 11, 2022)

    NOTES:

    • This Go module has been updated to Go 1.18 per the Go support policy. Any consumers building on earlier Go versions may experience errors. (#445)
    • tfsdk: The Schema type AttributeAtPath() method signature will be updated from a *tftypes.AttributePath parameter to path.Path in the next release. Switch to the AttributeAtTerraformPath() method if *tftypes.AttributePath handling is still necessary. (#440)
    • tfsdk: The Schema type AttributeType() method has been deprecated in preference of the Type() method. (#440)
    • tfsdk: The Schema type AttributeTypeAtPath() method has been deprecated for the TypeAtPath() and TypeAtTerraformPath() methods. (#440)
    • tfsdk: The Schema type TerraformType() method has been deprecated in preference of calling Type().TerraformType(). (#440)

    BREAKING CHANGES:

    • tfsdk: Go types relating to data source handling have been migrated to the new datasource package. Consult the pull request description for a full listing of find-and-replace information. (#432)
    • tfsdk: Go types relating to provider handling have been migrated to the new provider package. Consult the pull request description for a full listing of find-and-replace information. (#432)

    ... (truncated)

    Commits
    • 152f771 Update CHANGELOG for 0.12.0
    • 7541ab1 provider: Deprecate DataSourceType, ResourceType, Provider type `GetDat...
    • ff9c66b internal/fwserver: Prevent two sources of errors/panics (#475)
    • 8ce2dcd Adding docs for migrating from SDKv2 to the Framework (#461)
    • beffdc6 build(deps): Bump github.com/google/go-cmp from 0.5.8 to 0.5.9 (#471)
    • 6588d60 internal/fwserver: Use existing data instead of path-based lookups during pla...
    • a5185c1 build(deps): Bump leonsteinhaeuser/project-beta-automations (#469)
    • a5593d4 internal/fwserver: Delay deprecated attribute/block warnings for unknown valu...
    • 47f5b81 Adding website documentation for private state management (#458)
    • 5810578 internal/fwschemadata: Replace fwserver duplicate logic, add data description...
    • Additional commits viewable in compare view

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
  • Bump github.com/hashicorp/terraform-plugin-framework from 0.5.0 to 1.0.1

    Bump github.com/hashicorp/terraform-plugin-framework from 0.5.0 to 1.0.1

    Bumps github.com/hashicorp/terraform-plugin-framework from 0.5.0 to 1.0.1.

    Release notes

    Sourced from github.com/hashicorp/terraform-plugin-framework's releases.

    v1.0.1

    BUG FIXES:

    • resource/schema/planmodifier: Prevented assignment to entry in nil map panic for Object type plan modifiers (#591)
    • types/basetypes: Prevented type mutation via the ObjectType type AttributeTypes() method return (#591)
    • types/basetypes: Prevented value mutation via the ListValue, MapValue, and SetValue type Elements() method return (#591)
    • types/basetypes: Prevented value mutation via the ObjectValue type AttributeTypes() and Attributes() method returns (#591)

    v1.0.0

    NOTES:

    • The Terraform Plugin Framework is now generally available with semantic versioning compatibility promises. (#578)
    • types: Framework type implementations have been moved into the underlying basetypes package. Value creation functions and type aliases have been created in the types package that should prevent any breaking changes. (#567)

    BREAKING CHANGES:

    • provider: The Provider interface now requires the Metadata method. It can be left empty or set the MetadataResponse type TypeName field to populate datasource.MetadataRequest and resource.MetadataRequest type ProviderTypeName fields. (#580)
    • resource: The RequiresReplace() plan modifier has been removed. Use a type-specific plan modifier instead, such as resource/schema/stringplanmodifier.RequiresReplace() or resource/schema/stringplanmodifier.RequiresReplaceIfConfigured() (#576)
    • resource: The RequiresReplaceIf() plan modifier has been removed. Use a type-specific plan modifier instead, such as resource/schema/stringplanmodifier.RequiresReplaceIf() (#576)
    • resource: The Resource type GetSchema method has been removed. Use the Schema method instead. (#576)
    • resource: The StateUpgrader type PriorSchema field type has been migrated from tfsdk.Schema to resource/schema.Schema, similar to other resource schema handling (#573)
    • resource: The UseStateForUnknown() plan modifier has been removed. Use a type-specific plan modifier instead, such as resource/schema/stringplanmodifier.UseStateForUnknown() (#576)
    • tfsdk: The AttributePlanModifier interface has been removed. Use the type-specific plan modifier interfaces in the resource/schema/planmodifier package instead. (#576)
    • tfsdk: The AttributeValidator interface has been removed. Use the type-specific validator interfaces in the schema/validator package instead. (#576)
    • tfsdk: The Attribute, Block, and Schema types have been removed. Use the similarly named types in the datasource/schema, provider/schema, and resource/schema packages instead. (#576)
    • tfsdk: The ListNestedAttributes, MapNestedAttributes, SetNestedAttributes, and SingleNestedAttributes functions have been removed. Use the similarly named types in the datasource/schema, provider/schema, and resource/schema packages instead. (#576)
    • types: The type-specific Typable and Valuable interfaces have been moved into the underlying basetypes package. (#567)

    FEATURES:

    • types/basetypes: New package which contains embeddable types for custom types (#567)

    BUG FIXES:

    • datasource: Add Validate function to Schema to prevent usage of reserved and invalid names for attributes and blocks (#548)
    • provider: Add Validate function to MetaSchema to prevent usage of reserved and invalid names for attributes and blocks (#548)
    • provider: Add Validate function to Schema to prevent usage of reserved and invalid names for attributes and blocks (#548)
    • resource: Add Validate function to Schema to prevent usage of reserved and invalid names for attributes and blocks (#548)

    v0.17.0

    NOTES:

    • datasource: The DataSource type GetSchema method has been deprecated. Use the Schema method instead. (#546)
    • provider: The Provider type GetSchema method has been deprecated. Use the Schema method instead. (#553)
    • resource: The RequiresReplace() plan modifier has been deprecated. Use a type-specific plan modifier instead, such as resource/schema/stringplanmodifier.RequiresReplace() or resource/schema/stringplanmodifier.RequiresReplaceIfConfigured() (#565)
    • resource: The RequiresReplaceIf() plan modifier has been deprecated. Use a type-specific plan modifier instead, such as resource/schema/stringplanmodifier.RequiresReplaceIf() (#565)
    • resource: The Resource type GetSchema method has been deprecated. Use the Schema method instead. (#558)
    • resource: The UseStateForUnknown() plan modifier has been deprecated. Use a type-specific plan modifier instead, such as resource/schema/stringplanmodifier.UseStateForUnknown() (#565)
    • tfsdk: The Attribute, Block, and Schema types have been deprecated. Use the similarly named types in the datasource/schema, provider/schema, and resource/schema packages instead. (#563)
    • tfsdk: The ListNestedAttributes, MapNestedAttributes, SetNestedAttributes, and SingleNestedAttributes functions have been deprecated. Use the similarly named types in the datasource/schema, provider/schema, and resource/schema packages instead. (#563)

    ... (truncated)

    Changelog

    Sourced from github.com/hashicorp/terraform-plugin-framework's changelog.

    1.0.1 (December 19, 2022)

    BUG FIXES:

    • resource/schema/planmodifier: Prevented assignment to entry in nil map panic for Object type plan modifiers (#591)
    • types/basetypes: Prevented type mutation via the ObjectType type AttributeTypes() method return (#591)
    • types/basetypes: Prevented value mutation via the ListValue, MapValue, and SetValue type Elements() method return (#591)
    • types/basetypes: Prevented value mutation via the ObjectValue type AttributeTypes() and Attributes() method returns (#591)

    1.0.0 (December 13, 2022)

    NOTES:

    • The Terraform Plugin Framework is now generally available with semantic versioning compatibility promises. (#578)
    • types: Framework type implementations have been moved into the underlying basetypes package. Value creation functions and type aliases have been created in the types package that should prevent any breaking changes. (#567)

    BREAKING CHANGES:

    • provider: The Provider interface now requires the Metadata method. It can be left empty or set the MetadataResponse type TypeName field to populate datasource.MetadataRequest and resource.MetadataRequest type ProviderTypeName fields. (#580)
    • resource: The RequiresReplace() plan modifier has been removed. Use a type-specific plan modifier instead, such as resource/schema/stringplanmodifier.RequiresReplace() or resource/schema/stringplanmodifier.RequiresReplaceIfConfigured() (#576)
    • resource: The RequiresReplaceIf() plan modifier has been removed. Use a type-specific plan modifier instead, such as resource/schema/stringplanmodifier.RequiresReplaceIf() (#576)
    • resource: The Resource type GetSchema method has been removed. Use the Schema method instead. (#576)
    • resource: The StateUpgrader type PriorSchema field type has been migrated from tfsdk.Schema to resource/schema.Schema, similar to other resource schema handling (#573)
    • resource: The UseStateForUnknown() plan modifier has been removed. Use a type-specific plan modifier instead, such as resource/schema/stringplanmodifier.UseStateForUnknown() (#576)
    • tfsdk: The AttributePlanModifier interface has been removed. Use the type-specific plan modifier interfaces in the resource/schema/planmodifier package instead. (#576)
    • tfsdk: The AttributeValidator interface has been removed. Use the type-specific validator interfaces in the schema/validator package instead. (#576)
    • tfsdk: The Attribute, Block, and Schema types have been removed. Use the similarly named types in the datasource/schema, provider/schema, and resource/schema packages instead. (#576)
    • tfsdk: The ListNestedAttributes, MapNestedAttributes, SetNestedAttributes, and SingleNestedAttributes functions have been removed. Use the similarly named types in the datasource/schema, provider/schema, and resource/schema packages instead. (#576)
    • types: The type-specific Typable and Valuable interfaces have been moved into the underlying basetypes package. (#567)

    FEATURES:

    • types/basetypes: New package which contains embeddable types for custom types (#567)

    BUG FIXES:

    • datasource: Add Validate function to Schema to prevent usage of reserved and invalid names for attributes and blocks (#548)
    • provider: Add Validate function to MetaSchema to prevent usage of reserved and invalid names for attributes and blocks (#548)
    • provider: Add Validate function to Schema to prevent usage of reserved and invalid names for attributes and blocks (#548)
    • resource: Add Validate function to Schema to prevent usage of reserved and invalid names for attributes and blocks (#548)

    0.17.0 (November 30, 2022)

    NOTES:

    • datasource: The DataSource type GetSchema method has been deprecated. Use the Schema method instead. (#546)
    • provider: The Provider type GetSchema method has been deprecated. Use the Schema method instead. (#553)
    • resource: The RequiresReplace() plan modifier has been deprecated. Use a type-specific plan modifier instead, such as resource/schema/stringplanmodifier.RequiresReplace() or resource/schema/stringplanmodifier.RequiresReplaceIfConfigured() (#565)
    • resource: The RequiresReplaceIf() plan modifier has been deprecated. Use a type-specific plan modifier instead, such as resource/schema/stringplanmodifier.RequiresReplaceIf() (#565)
    • resource: The Resource type GetSchema method has been deprecated. Use the Schema method instead. (#558)

    ... (truncated)

    Commits
    • c28e463 Update CHANGELOG for 1.0.1
    • 5a6c8f4 website: fix incorrect field reference (#595)
    • 85f4a77 types: Ensure List/Map/Object/Set Attributes/AttributeTypes/Elements returns ...
    • 88e1c5b Fix incorrect type used for Validators field (#593)
    • 92fcdb0 fix typo (#592)
    • 4250f76 website: Further clarify configuration validation and when API access is avai...
    • 221ae8f Improvements to Documentation (#584)
    • 26244b8 website: Align Attributes page with schema attribute types (#585)
    • 26743e9 chore: Update Digital Team Files (#569)
    • 530c74b build(deps): Bump goreleaser/goreleaser-action from 3 to 4 (#579)
    • Additional commits viewable in compare view

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
  • Bump goreleaser/goreleaser-action from 2.8.1 to 4.1.0

    Bump goreleaser/goreleaser-action from 2.8.1 to 4.1.0

    Bumps goreleaser/goreleaser-action from 2.8.1 to 4.1.0.

    Release notes

    Sourced from goreleaser/goreleaser-action's releases.

    v4.1.0

    What's Changed

    New Contributors

    Full Changelog: https://github.com/goreleaser/goreleaser-action/compare/v4...v4.1.0

    v4.0.0

    What's Changed

    Full Changelog: https://github.com/goreleaser/goreleaser-action/compare/v3...v4.0.0

    v3.2.0

    What's Changed

    • chore: remove workaround for setOutput by @​crazy-max (#374)
    • chore(deps): bump @​actions/core from 1.9.1 to 1.10.0 (#372)
    • chore(deps): bump yargs from 17.5.1 to 17.6.0 (#373)

    Full Changelog: https://github.com/goreleaser/goreleaser-action/compare/v3.1.0...v3.2.0

    v3.1.0

    What's Changed

    • fix: dist resolution from config file by @​crazy-max (#369)
    • ci: fix workflow by @​crazy-max (#357)
    • docs: bump actions to latest major by @​crazy-max (#356)
    • chore(deps): bump crazy-max/ghaction-import-gpg from 4 to 5 (#360)
    • chore(deps): bump ghaction-import-gpg to v5 (#359)
    • chore(deps): bump @​actions/core from 1.6.0 to 1.8.2 (#358)
    • chore(deps): bump @​actions/core from 1.8.2 to 1.9.1 (#367)

    Full Changelog: https://github.com/goreleaser/goreleaser-action/compare/v3.0.0...v3.1.0

    v3.0.0

    What's Changed

    ... (truncated)

    Commits
    • 8f67e59 chore: regenerate
    • 78df308 chore(deps): bump minimatch from 3.0.4 to 3.1.2 (#383)
    • 66134d9 Merge remote-tracking branch 'origin/master' into flarco/master
    • 3c08cfd chore(deps): bump yargs from 17.6.0 to 17.6.2
    • 5dc579b docs: add example when using workdir along with upload-artifact (#366)
    • 3b7d1ba feat!: remove auto-snapshot on dirty tag (#382)
    • 23e0ed5 fix: do not override GORELEASER_CURRENT_TAG (#370)
    • 1315dab update build
    • b60ea88 improve install
    • 4d25ab4 Update goreleaser.ts
    • Additional commits viewable in compare view

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
  • Bump github.com/hashicorp/terraform-plugin-go from 0.5.0 to 0.14.2

    Bump github.com/hashicorp/terraform-plugin-go from 0.5.0 to 0.14.2

    Bumps github.com/hashicorp/terraform-plugin-go from 0.5.0 to 0.14.2.

    Release notes

    Sourced from github.com/hashicorp/terraform-plugin-go's releases.

    v0.14.2

    BUG FIXES:

    • tfprotov5: Allow diagnostic messages with incorrect UTF-8 encoding to pass through with the invalid sequences replaced with the Unicode Replacement Character. This avoids returning the unhelpful message "string field contains invalid UTF-8" in that case. (#237)
    • tfprotov6: Allow diagnostic messages with incorrect UTF-8 encoding to pass through with the invalid sequences replaced with the Unicode Replacement Character. This avoids returning the unhelpful message "string field contains invalid UTF-8" in that case. (#237)

    v0.14.1

    NOTES:

    • No expected changes with this Go module's functionality. Contains updates to dependencies such as google.golang.org/grpc and github.com/hashicorp/go-plugin, which may be beneficial for consumers.

    v0.14.0

    NOTES:

    • This Go module has been updated to Go 1.18 per the Go support policy. Any consumers building on earlier Go versions may experience errors. (#219)

    ENHANCEMENTS:

    • tfprotov5/tf5server: Added resource private state when protocol data output is enabled (#221)
    • tfprotov6/tf6server: Added resource private state when protocol data output is enabled (#221)

    BUG FIXES:

    • tfprotov5/tf5server: Fixed ApplyResourceChange request RPC protocol data output to include PriorState and ProviderMeta fields (#221)
    • tfprotov6/tf6server: Fixed ApplyResourceChange request RPC protocol data output to include PriorState and ProviderMeta fields (#221)

    v0.13.0

    ENHANCEMENTS:

    • tfprotov5: Added RawState type UnmarshalWithOpts method to facilitate configurable behaviour during unmarshalling (#213)
    • tfprotov6: Added RawState type UnmarshalWithOpts method to facilitate configurable behaviour during unmarshalling (#213)

    BUG FIXES:

    • tftypes: Clarified ValueFromJSON error messaging with object attribute key issues (#214)

    v0.12.0

    NOTES:

    • The underlying terraform-plugin-log dependency has been updated to v0.6.0, which includes log filtering support and breaking changes of With() to SetField() function names. Any provider logging which calls those functions may require updates. (#209)

    v0.11.0

    FEATURES:

    • Added support for protocol version 5.3 and 6.3, which allows providers to opt into the PlanResourceChange RPC for resource destruction (#205)

    ENHANCEMENTS:

    • tfprotov5: Added ServerCapabilities type and ServerCapabilities field to GetProviderSchemaResponse (#205)
    • tfprotov6: Added ServerCapabilities type and ServerCapabilities field to GetProviderSchemaResponse (#205)

    v0.10.0

    ... (truncated)

    Changelog

    Sourced from github.com/hashicorp/terraform-plugin-go's changelog.

    0.14.2 (November 22, 2022)

    BUG FIXES:

    • tfprotov5: Allow diagnostic messages with incorrect UTF-8 encoding to pass through with the invalid sequences replaced with the Unicode Replacement Character. This avoids returning the unhelpful message "string field contains invalid UTF-8" in that case. (#237)
    • tfprotov6: Allow diagnostic messages with incorrect UTF-8 encoding to pass through with the invalid sequences replaced with the Unicode Replacement Character. This avoids returning the unhelpful message "string field contains invalid UTF-8" in that case. (#237)

    0.14.1 (November 8, 2022)

    NOTES:

    • No expected changes with this Go module's functionality. Contains updates to dependencies such as google.golang.org/grpc and github.com/hashicorp/go-plugin, which may be beneficial for consumers.

    0.14.0 (August 15, 2022)

    NOTES:

    • This Go module has been updated to Go 1.18 per the Go support policy. Any consumers building on earlier Go versions may experience errors. (#219)

    ENHANCEMENTS:

    • tfprotov5/tf5server: Added resource private state when protocol data output is enabled (#221)
    • tfprotov6/tf6server: Added resource private state when protocol data output is enabled (#221)

    BUG FIXES:

    • tfprotov5/tf5server: Fixed ApplyResourceChange request RPC protocol data output to include PriorState and ProviderMeta fields (#221)
    • tfprotov6/tf6server: Fixed ApplyResourceChange request RPC protocol data output to include PriorState and ProviderMeta fields (#221)

    0.13.0 (July 28, 2022)

    ENHANCEMENTS:

    • tfprotov5: Added RawState type UnmarshalWithOpts method to facilitate configurable behaviour during unmarshalling (#213)
    • tfprotov6: Added RawState type UnmarshalWithOpts method to facilitate configurable behaviour during unmarshalling (#213)

    BUG FIXES:

    • tftypes: Clarified ValueFromJSON error messaging with object attribute key issues (#214)

    0.12.0 (July 15, 2022)

    NOTES:

    • The underlying terraform-plugin-log dependency has been updated to v0.6.0, which includes log filtering support and breaking changes of With() to SetField() function names. Any provider logging which calls those functions may require updates. (#209)

    0.11.0 (July 8, 2022)

    FEATURES:

    • Added support for protocol version 5.3 and 6.3, which allows providers to opt into the PlanResourceChange RPC for resource destruction (#205)

    ... (truncated)

    Commits
    • 8f3514e Update CHANGELOG for 0.14.2
    • 0488e08 Tweak diagnostics with invalid UTF-8 so they can pass over the wire (#237)
    • 434a0b0 build(deps): bump google.golang.org/grpc from 1.50.1 to 1.51.0 (#240)
    • 389a5cd deps: github.com/hashicorp/[email protected] (#239)
    • a476543 Bump golangci/golangci-lint-action from 3.3.0 to 3.3.1 (#236)
    • b1a92ab deps: Remove github.com/nsf/jsondiff (#235)
    • f3636ee Update CHANGELOG for 0.14.1
    • 33a20bc Bump github.com/hashicorp/go-plugin from 1.4.5 to 1.4.6 (#234)
    • d2a0c01 Bump golangci/golangci-lint-action from 3.2.0 to 3.3.0 (#233)
    • aae27cd Bump google.golang.org/grpc from 1.50.0 to 1.50.1 (#232)
    • Additional commits viewable in compare view

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
  • Bump github.com/hashicorp/terraform-plugin-sdk/v2 from 2.10.1 to 2.24.1

    Bump github.com/hashicorp/terraform-plugin-sdk/v2 from 2.10.1 to 2.24.1

    Bumps github.com/hashicorp/terraform-plugin-sdk/v2 from 2.10.1 to 2.24.1.

    Release notes

    Sourced from github.com/hashicorp/terraform-plugin-sdk/v2's releases.

    v2.24.1

    BUG FIXES:

    • helper/resource: Fixed TestStep type ImportStateCheck field so that it only matches against resources following a change in behaviour in Terraform 1.3 that imports both resources and data sources into state (#1089)
    • helper/resource: Prevented go-plugin goroutine leak per Terraform command (#1095)
    • helper/resource: Prevented goroutine leak per Terraform command when testing terraform-plugin-sdk based providers via Providers or ProviderFactories (#1091)
    • helper/resource: Prevented provider configuration already given error when TestStep type Config field already contained provider configuration block (#1092)

    v2.24.0

    ENHANCEMENTS:

    • helper/resource: Added TestStep type RefreshState field, which enables a step that refreshes state without an explicit apply or configuration changes (#1070)

    BUG FIXES:

    • helper/resource: Fixed TestStep type ImportStateVerify field so that it only matches against resources following a change in behaviour in Terraform 1.3 that imports both resources and their dependent data sources (#1077)

    v2.23.0

    ENHANCEMENTS:

    • helper/resource: Added Terraform configuration to TRACE logging (#1059)
    • helper/resource: Added terraform plan output to TRACE logging (#1058)

    BUG FIXES:

    • helper/resource: Prevented Inconsistent dependency lock file errors when using ExternalProviders outside the hashicorp namespace (#1057)

    v2.22.0

    ENHANCEMENTS:

    • helper/resource: Add ImportStatePersist to optionally persist state generated during import (#1052)

    BUG FIXES:

    • helper/schema: Delayed deprecated attribute warnings for unknown values, which may be null (#1047)
    • helper/schema: Included path information in list size diagnostics for cases where Terraform does not include the configuration source (#826)

    v2.21.0

    NOTES:

    • This Go module has been updated to Go 1.18 per the Go support policy. Any consumers building on earlier Go versions may experience errors. (#1027)

    BUG FIXES:

    • helper/resource: Fixed TestStep type Taint field usage to properly recreate resources (#1031)
    • helper/schema: Ensured RawConfig, RawPlan, and RawState are correctly copied during planning with recreation (#1024)

    v2.20.0

    NOTES:

    • helper/logging: Existing NewTransport() is now deprecated in favour of using the new NewLoggingHTTPTransport() or NewSubsystemLoggingHTTPTransport() (#1006)

    FEATURES:

    ... (truncated)

    Changelog

    Sourced from github.com/hashicorp/terraform-plugin-sdk/v2's changelog.

    2.24.1 (November 14, 2022)

    BUG FIXES:

    • helper/resource: Fixed TestStep type ImportStateCheck field so that it only matches against resources following a change in behaviour in Terraform 1.3 that imports both resources and data sources into state (#1089)
    • helper/resource: Prevented go-plugin goroutine leak per Terraform command (#1095)
    • helper/resource: Prevented goroutine leak per Terraform command when testing terraform-plugin-sdk based providers via Providers or ProviderFactories (#1091)
    • helper/resource: Prevented provider configuration already given error when TestStep type Config field already contained provider configuration block (#1092)

    2.24.0 (October 13, 2022)

    ENHANCEMENTS:

    • helper/resource: Added TestStep type RefreshState field, which enables a step that refreshes state without an explicit apply or configuration changes (#1070)

    BUG FIXES:

    • helper/resource: Fixed TestStep type ImportStateVerify field so that it only matches against resources following a change in behaviour in Terraform 1.3 that imports both resources and their dependent data sources (#1077)

    2.23.0 (September 15, 2022)

    ENHANCEMENTS:

    • helper/resource: Added Terraform configuration to TRACE logging (#1059)
    • helper/resource: Added terraform plan output to TRACE logging (#1058)

    BUG FIXES:

    • helper/resource: Prevented Inconsistent dependency lock file errors when using ExternalProviders outside the hashicorp namespace (#1057)

    2.22.0 (September 8, 2022)

    ENHANCEMENTS:

    • helper/resource: Add ImportStatePersist to optionally persist state generated during import (#1052)

    BUG FIXES:

    • helper/schema: Delayed deprecated attribute warnings for unknown values, which may be null (#1047)
    • helper/schema: Included path information in list size diagnostics for cases where Terraform does not include the configuration source (#826)

    2.21.0 (August 15, 2022)

    NOTES:

    • This Go module has been updated to Go 1.18 per the Go support policy. Any consumers building on earlier Go versions may experience errors. (#1027)

    BUG FIXES:

    • helper/resource: Fixed TestStep type Taint field usage to properly recreate resources (#1031)
    • helper/schema: Ensured RawConfig, RawPlan, and RawState are correctly copied during planning with recreation (#1024)

    2.20.0 (July 28, 2022)

    ... (truncated)

    Commits
    • 5dfe31a Update CHANGELOG for 2.24.1
    • 9523045 helper/resource: Check for existing provider configuration block in TestStep ...
    • ff2cdef Linking to the framework migration guide (#1097) (#1098)
    • ac0b965 build(deps): Bump github.com/hashicorp/hcl/v2 from 2.14.1 to 2.15.0 (#1100)
    • dfa6529 build(deps): Bump github.com/zclconf/go-cty from 1.12.0 to 1.12.1 (#1096)
    • 81b192b build(deps): Bump github.com/hashicorp/terraform-plugin-go from 0.14.0 to 0.1...
    • 7bc4c6e helper/resource: Various small fixes (#1091)
    • 6275669 all: Remove deprecated io/ioutil package usage (#1090)
    • ba4b604 helper/resource: Skip data source states with TestStep.ImportStateCheck (#1089)
    • f5c914f build(deps): Bump github.com/zclconf/go-cty from 1.11.0 to 1.12.0 (#1086)
    • Additional commits viewable in compare view

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
  • Bump hashicorp/setup-terraform from 1 to 2.0.2

    Bump hashicorp/setup-terraform from 1 to 2.0.2

    Bumps hashicorp/setup-terraform from 1 to 2.0.2.

    Release notes

    Sourced from hashicorp/setup-terraform's releases.

    v2.0.2

    What's Changed

    NOTES

    INTERNAL

    Full Changelog: https://github.com/hashicorp/setup-terraform/compare/v2.0.1...v2.0.2

    v2.0.1

    What's Changed

    ENHANCEMENTS

    BUG FIXES

    INTERNAL

    ... (truncated)

    Commits
    • bbe167f Release 2.0.2 (#254)
    • 6f80dc7 README.md updates - direct links to license and code of conduct, updated Gi...
    • 98a64d4 Bump jest from 29.0.3 to 29.1.2 (#248)
    • 2ed08d8 Update 2.0.1 release metadata (#253)
    • 98db142 Fix the example of how to comment on pull request. (#220)
    • a549f5e Merge pull request #250 from hashicorp/dependabot/github_actions/leonsteinhae...
    • cf8fe30 Merge pull request #249 from hashicorp/dependabot/npm_and_yarn/actions/github...
    • c016a46 Bump leonsteinhaeuser/project-beta-automations from 2.0.0 to 2.0.1
    • 0258cdf Bump @​actions/github from 5.0.3 to 5.1.1
    • 4f5ea8b Update GitHub workflow branch triggers from master -> main (#216)
    • Additional commits viewable in compare view

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
  • Bump actions/checkout from 2 to 3.1.0

    Bump actions/checkout from 2 to 3.1.0

    Bumps actions/checkout from 2 to 3.1.0.

    Release notes

    Sourced from actions/checkout's releases.

    v3.1.0

    What's Changed

    New Contributors

    Full Changelog: https://github.com/actions/checkout/compare/v3.0.2...v3.1.0

    v3.0.2

    What's Changed

    Full Changelog: https://github.com/actions/checkout/compare/v3...v3.0.2

    v3.0.1

    v3.0.0

    • Updated to the node16 runtime by default
      • This requires a minimum Actions Runner version of v2.285.0 to run, which is by default available in GHES 3.4 or later.

    v2.4.2

    What's Changed

    Full Changelog: https://github.com/actions/checkout/compare/v2...v2.4.2

    v2.4.1

    • Fixed an issue where checkout failed to run in container jobs due to the new git setting safe.directory

    v2.4.0

    • Convert SSH URLs like org-<ORG_ID>@github.com: to https://github.com/ - pr

    v2.3.5

    Update dependencies

    v2.3.4

    v2.3.3

    ... (truncated)

    Changelog

    Sourced from actions/checkout's changelog.

    v3.1.0

    v3.0.2

    v3.0.1

    v3.0.0

    v2.3.1

    v2.3.0

    v2.2.0

    v2.1.1

    • Changes to support GHES (here and here)

    v2.1.0

    v2.0.0

    Commits

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Quick start repository for creating a Terraform provider using terraform-plugin-framework

Terraform Provider Scaffolding (Terraform Plugin Framework) This template repository is built on the Terraform Plugin Framework. The template reposito

Dec 15, 2022
Terraform-equinix-migration-tool - Tool to migrate code from Equinix Metal terraform provider to Equinix terraform provider

Equinix Terraform Provider Migration Tool This tool targets a terraform working

Feb 15, 2022
Terraform-in-Terraform: Execute Modules directly from the Terraform Registry

Terraform-In-Terraform Provider This provider allows running Terraform in Terraform. This might seem insane but there are some edge cases where it com

Dec 25, 2022
Terraform Provider Scaffolding (Terraform Plugin SDK)

Terraform Provider Scaffolding (Terraform Plugin SDK) This template repository is built on the Terraform Plugin SDK. The template repository built on

Feb 8, 2022
Terraform-house - Golang Based terraform automation example using tf.json

Terraform House Manage your own terraform workflow using go language, with the b

Feb 17, 2022
Golang CRUD using database PostgreSQL, adding some fremework like mux and pq.

Golang CRUD with PostgreSQL Table of contents ?? General info Technologies Blog Setup General info GOPOST or Go-Post is a Golang REST API made to show

Nov 27, 2021
Book-API was made using Golang and PostgreSQL with technique CRUD with mux and pq

Book-API CRUD with PostgreSQL Table of contents ?? General info Technologies Blog Setup General info BAPI or Book-API is a Golang REST API made to sho

Feb 18, 2022
Terraform utility provider for constructing bash scripts that use data from a Terraform module

Terraform Bash Provider This is a Terraform utility provider which aims to robustly generate Bash scripts which refer to data that originated in Terra

Sep 6, 2022
Terraform provider to help with various AWS automation tasks (mostly all that stuff we cannot accomplish with the official AWS terraform provider)
Terraform provider to help with various AWS automation tasks (mostly all that stuff we cannot accomplish with the official AWS terraform provider)

terraform-provider-awsutils Terraform provider for performing various tasks that cannot be performed with the official AWS Terraform Provider from Has

Dec 8, 2022
Terraform Provider for Azure (Resource Manager)Terraform Provider for Azure (Resource Manager)
Terraform Provider for Azure (Resource Manager)Terraform Provider for Azure (Resource Manager)

Terraform Provider for Azure (Resource Manager) Version 2.x of the AzureRM Provider requires Terraform 0.12.x and later, but 1.0 is recommended. Terra

Oct 16, 2021
Terraform-provider-mailcow - Terraform provider for Mailcow

Terraform Provider Scaffolding (Terraform Plugin SDK) This template repository i

Dec 31, 2021
Terraform-provider-buddy - Terraform Buddy provider For golang

Terraform Provider for Buddy Documentation Requirements Terraform >= 1.0.11 Go >

Jan 5, 2022
Terraform-provider-vercel - Terraform Vercel Provider With Golang

Vercel Terraform Provider Website: https://www.terraform.io Documentation: https

Dec 14, 2022
Terraform-grafana-dashboard - Grafana dashboard Terraform module

terraform-grafana-dashboard terraform-grafana-dashboard for project Requirements

May 2, 2022
Puccini-terraform - Enable TOSCA for Terraform using Puccini

(work in progress) TOSCA for Terraform Enable TOSCA for Terraform using Puccini.

Jun 27, 2022
Terraform-ncloud-docs - Terraform-ncloud-docs

terraform-ncloud-docs Overview This docs help to use terraform creation server C

Oct 2, 2022
Terraform-provider-age - Age Terraform Provider with golang

Age Terraform Provider This provider lets you generate an Age key pair. Using th

Feb 15, 2022
LTF is a minimal, transparent Terraform wrapper. It makes Terraform projects easier to work with.

LTF Status: alpha LTF is a minimal, transparent Terraform wrapper. It makes Terraform projects easier to work with. In standard Terraform projects, th

Nov 19, 2022