Is it a flack acceptance test or a real issue with the API ? I don't know yet.
However, the ordering is not guaranteed (detected when running acceptance tests, sometimes, more often now) by the API.
We are switching from OrderedPropertiesSchema to UnorderedPropertiesSchema in the meantime to not throwing internal errors when using our provider!
--- FAIL: TestAccCustomResourceResource (4.42s)
custom_resource_resource_test.go:13: Step 1/2 error: Error running apply: exit status 1
There are some problems with the CLI configuration:
╷
│ Warning: Unable to open CLI configuration file
│
│ The CLI configuration file at "../terraform.rc" does not exist.
╵
Error: Provider produced inconsistent result after apply
When applying changes to aria_custom_resource.test, provider
"provider[\"registry.terraform.io/hashicorp/aria\"]" produced an unexpected
new value: .properties[0].one_of: was
cty.ListVal([]cty.Value{cty.ObjectVal(map[string]cty.Value{"const":cty.StringVal("a"),
"encrypted":cty.False, "title":cty.StringVal("A")}),
cty.ObjectVal(map[string]cty.Value{"const":cty.StringVal("b"),
"encrypted":cty.False, "title":cty.StringVal("B")})}), but now null.
This is a bug in the provider, which should be reported in the provider's own
issue tracker.
Error: Provider produced inconsistent result after apply
When applying changes to aria_custom_resource.test, provider
"provider[\"registry.terraform.io/hashicorp/aria\"]" produced an unexpected
new value: .properties[0].description: was cty.StringVal("Some text, more
text."), but now cty.StringVal("").
This is a bug in the provider, which should be reported in the provider's own
issue tracker.
Error: Provider produced inconsistent result after apply
When applying changes to aria_custom_resource.test, provider
"provider[\"registry.terraform.io/hashicorp/aria\"]" produced an unexpected
new value: .properties[0].title: was cty.StringVal("Some Text"), but now
cty.StringVal("Other").
This is a bug in the provider, which should be reported in the provider's own
issue tracker.
Error: Provider produced inconsistent result after apply
When applying changes to aria_custom_resource.test, provider
"provider[\"registry.terraform.io/hashicorp/aria\"]" produced an unexpected
new value: .properties[0].name: was cty.StringVal("some_text"), but now
cty.StringVal("other").
This is a bug in the provider, which should be reported in the provider's own
issue tracker.
Error: Provider produced inconsistent result after apply
When applying changes to aria_custom_resource.test, provider
"provider[\"registry.terraform.io/hashicorp/aria\"]" produced an unexpected
new value: .properties[2].one_of: was null, but now
cty.ListVal([]cty.Value{cty.ObjectVal(map[string]cty.Value{"const":cty.StringVal("a"),
"encrypted":cty.False, "title":cty.StringVal("A")}),
cty.ObjectVal(map[string]cty.Value{"const":cty.StringVal("b"),
"encrypted":cty.False, "title":cty.StringVal("B")})}).
This is a bug in the provider, which should be reported in the provider's own
issue tracker.
Error: Provider produced inconsistent result after apply
When applying changes to aria_custom_resource.test, provider
"provider[\"registry.terraform.io/hashicorp/aria\"]" produced an unexpected
new value: .properties[2].min_length: was cty.NumberIntVal(16), but now null.
This is a bug in the provider, which should be reported in the provider's own
issue tracker.
Error: Provider produced inconsistent result after apply
When applying changes to aria_custom_resource.test, provider
"provider[\"registry.terraform.io/hashicorp/aria\"]" produced an unexpected
new value: .properties[2].title: was cty.StringVal("Super Secret"), but now
cty.StringVal("Some Text").
This is a bug in the provider, which should be reported in the provider's own
issue tracker.
Error: Provider produced inconsistent result after apply
When applying changes to aria_custom_resource.test, provider
"provider[\"registry.terraform.io/hashicorp/aria\"]" produced an unexpected
new value: .properties[2].encrypted: was cty.True, but now cty.False.
This is a bug in the provider, which should be reported in the provider's own
issue tracker.
Error: Provider produced inconsistent result after apply
When applying changes to aria_custom_resource.test, provider
"provider[\"registry.terraform.io/hashicorp/aria\"]" produced an unexpected
new value: .properties[2].description: was cty.StringVal(""), but now
cty.StringVal("Some text, more text.").
This is a bug in the provider, which should be reported in the provider's own
issue tracker.
Error: Provider produced inconsistent result after apply
When applying changes to aria_custom_resource.test, provider
"provider[\"registry.terraform.io/hashicorp/aria\"]" produced an unexpected
new value: .properties[2].name: was cty.StringVal("super_secret"), but now
cty.StringVal("some_text").
This is a bug in the provider, which should be reported in the provider's own
issue tracker.
Error: Provider produced inconsistent result after apply
When applying changes to aria_custom_resource.test, provider
"provider[\"registry.terraform.io/hashicorp/aria\"]" produced an unexpected
new value: .properties[2].max_length: was cty.NumberIntVal(64), but now null.
This is a bug in the provider, which should be reported in the provider's own
issue tracker.
Error: Provider produced inconsistent result after apply
When applying changes to aria_custom_resource.test, provider
"provider[\"registry.terraform.io/hashicorp/aria\"]" produced an unexpected
new value: .properties[3].name: was cty.StringVal("other"), but now
cty.StringVal("super_secret").
This is a bug in the provider, which should be reported in the provider's own
issue tracker.
Error: Provider produced inconsistent result after apply
When applying changes to aria_custom_resource.test, provider
"provider[\"registry.terraform.io/hashicorp/aria\"]" produced an unexpected
new value: .properties[3].max_length: was null, but now cty.NumberIntVal(64).
This is a bug in the provider, which should be reported in the provider's own
issue tracker.
Error: Provider produced inconsistent result after apply
When applying changes to aria_custom_resource.test, provider
"provider[\"registry.terraform.io/hashicorp/aria\"]" produced an unexpected
new value: .properties[3].min_length: was null, but now cty.NumberIntVal(16).
This is a bug in the provider, which should be reported in the provider's own
issue tracker.
Error: Provider produced inconsistent result after apply
When applying changes to aria_custom_resource.test, provider
"provider[\"registry.terraform.io/hashicorp/aria\"]" produced an unexpected
new value: .properties[3].title: was cty.StringVal("Other"), but now
cty.StringVal("Super Secret").
This is a bug in the provider, which should be reported in the provider's own
issue tracker.
Error: Provider produced inconsistent result after apply
When applying changes to aria_custom_resource.test, provider
"provider[\"registry.terraform.io/hashicorp/aria\"]" produced an unexpected
new value: .properties[3].encrypted: was cty.False, but now cty.True.
This is a bug in the provider, which should be reported in the provider's own
issue tracker.
Is it a flack acceptance test or a real issue with the API ? I don't know yet.
However, the ordering is not guaranteed (detected when running acceptance tests, sometimes, more often now) by the API.
We are switching from
OrderedPropertiesSchema
toUnorderedPropertiesSchema
in the meantime to not throwing internal errors when using our provider!