mirror of
https://github.com/opentofu/opentofu.git
synced 2024-12-24 16:10:46 -06:00
command/jsonprovider: bump format version (#28115)
Support for attributes with NestedTypes was added in https://github.com/hashicorp/terraform/pull/28055, and should have included a format version bump: this is a backwards-compatible change, but consumers will need to be updated in order to properly decode attributes (with NestedTypes) going forward.
This commit is contained in:
parent
2a49d908b8
commit
77562d9b57
@ -9,7 +9,7 @@ import (
|
||||
// FormatVersion represents the version of the json format and will be
|
||||
// incremented for any change to this format that requires changes to a
|
||||
// consuming parser.
|
||||
const FormatVersion = "0.1"
|
||||
const FormatVersion = "0.2"
|
||||
|
||||
// providers is the top-level object returned when exporting provider schemas
|
||||
type providers struct {
|
||||
|
@ -1,5 +1,5 @@
|
||||
{
|
||||
"format_version": "0.1",
|
||||
"format_version": "0.2",
|
||||
"provider_schemas": {
|
||||
"registry.terraform.io/hashicorp/test": {
|
||||
"provider": {
|
||||
|
@ -1,3 +1,3 @@
|
||||
{
|
||||
"format_version": "0.1"
|
||||
"format_version": "0.2"
|
||||
}
|
@ -1,5 +1,5 @@
|
||||
{
|
||||
"format_version": "0.1",
|
||||
"format_version": "0.2",
|
||||
"provider_schemas": {
|
||||
"registry.terraform.io/hashicorp/test": {
|
||||
"provider": {
|
||||
|
Loading…
Reference in New Issue
Block a user