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:
Kristin Laemmert 2021-03-22 11:45:36 -04:00 committed by GitHub
parent 2a49d908b8
commit 77562d9b57
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 4 additions and 4 deletions

View File

@ -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 {

View File

@ -1,5 +1,5 @@
{
"format_version": "0.1",
"format_version": "0.2",
"provider_schemas": {
"registry.terraform.io/hashicorp/test": {
"provider": {

View File

@ -1,3 +1,3 @@
{
"format_version": "0.1"
"format_version": "0.2"
}

View File

@ -1,5 +1,5 @@
{
"format_version": "0.1",
"format_version": "0.2",
"provider_schemas": {
"registry.terraform.io/hashicorp/test": {
"provider": {