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
|
// FormatVersion represents the version of the json format and will be
|
||||||
// incremented for any change to this format that requires changes to a
|
// incremented for any change to this format that requires changes to a
|
||||||
// consuming parser.
|
// consuming parser.
|
||||||
const FormatVersion = "0.1"
|
const FormatVersion = "0.2"
|
||||||
|
|
||||||
// providers is the top-level object returned when exporting provider schemas
|
// providers is the top-level object returned when exporting provider schemas
|
||||||
type providers struct {
|
type providers struct {
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
{
|
{
|
||||||
"format_version": "0.1",
|
"format_version": "0.2",
|
||||||
"provider_schemas": {
|
"provider_schemas": {
|
||||||
"registry.terraform.io/hashicorp/test": {
|
"registry.terraform.io/hashicorp/test": {
|
||||||
"provider": {
|
"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": {
|
"provider_schemas": {
|
||||||
"registry.terraform.io/hashicorp/test": {
|
"registry.terraform.io/hashicorp/test": {
|
||||||
"provider": {
|
"provider": {
|
||||||
|
|
Loading…
Reference in New Issue