Open quixoticmonk opened 7 months ago
2024-06-30T23:30:35.159-0400 [DEBUG] provider.terraform-provider-awscc_v1.4.0_x5:
Detected value change between proposed new state and prior state: @module=sdk.framework tf_resource_type=awscc_glue_schema tf_provider_addr=registry.terraform.io/hashicorp/awscc
tf_req_id=a3305589-d9c0-987f-8e25-d95ece26527e tf_rpc=PlanResourceChange
@caller=github.com/hashicorp/terraform-plugin-framework@v1.9.0/internal/fwserver/server_planresourcechange.go:208
tf_attribute_path=tags timestamp=2024-06-30T23:30:35.159-0400
2024-06-30T23:30:34.023-0400 [DEBUG] provider.terraform-provider-awscc_v1.4.0_x5:
Detected value change between proposed new state and prior state: tf_attribute_path=tags tf_provider_addr=registry.terraform.io/hashicorp/awscc
tf_resource_type=awscc_glue_schema tf_rpc=PlanResourceChange
@caller=github.com/hashicorp/terraform-plugin-framework@v1.9.0/internal/fwserver/server_planresourcechange.go:208
@module=sdk.framework tf_req_id=d53bba71-800a-29a5-3b5c-c09add360687 timestamp=2024-06-30T23:30:34.023-0400
SchemaDefinition
when it is already present in the state.\
.2024-06-30T23:30:35.166-0400 [DEBUG] provider.terraform-provider-awscc_v1.4.0_x5:
Cloud Control API PatchDocument:
value="[{\"op\":\"add\",\"path\":\"/SchemaDefinition\",\"value\":\"{\\"type\\": \\"record\\", \\"name\\": \\"r1\\", \\"fields\\": [ {\\"name\\": \\"f1\\", \\"type\\": \\"int\\"}, {\\"name\\": \\"f2\\", \\"type\\": \\"string\\"} ]}\"},{\"op\":\"add\",\"path\":\"/Tags\",\"value\":[{\"Key\":\"Modified By\",\"Value\":\"AWSCC\"}]}]"
cfn_type=AWS::Glue::Schema tf_req_id=1ff50dd5-cef2-233d-19a0-5976e618bcdf tf_rpc=ApplyResourceChange tf_provider_addr=registry.terraform.io/hashicorp/awscc tf_resource_type=awscc_glue_schema
@caller=github.com/hashicorp/terraform-provider-awscc/internal/generic/resource.go:583 @module=awscc timestamp=2024-06-30T23:30:35.166-0400
{
"arn": "arn:aws:glue:us-east-1:############:schema/example-registry/example",
"checkpoint_version": {
"is_latest": true,
"version_number": 1
},
"compatibility": "NONE",
"data_format": "AVRO",
"description": null,
"id": "arn:aws:glue:us-east-1:############:schema/example-registry/example",
"initial_schema_version_id": "a28bbf6f-85ce-408b-b940-2d62ce7f052a",
"name": "example",
"registry": {
"arn": "arn:aws:glue:us-east-1:############:registry/example-registry",
"name": "example-registry"
},
"schema_definition": "{\"type\": \"record\", \"name\": \"r1\", \"fields\": [ {\"name\": \"f1\", \"type\": \"int\"}, {\"name\": \"f2\", \"type\": \"string\"} ]}",
"tags": null
}
{
"arn": "arn:aws:glue:us-east-1:############:schema/example-registry/example",
"checkpoint_version": {
"is_latest": true,
"version_number": 1
},
"compatibility": "NONE",
"data_format": "AVRO",
"description": null,
"id": "arn:aws:glue:us-east-1:############:schema/example-registry/example",
"initial_schema_version_id": "a28bbf6f-85ce-408b-b940-2d62ce7f052a",
"name": "example",
"registry": {
"arn": "arn:aws:glue:us-east-1:############:registry/example-registry",
"name": "example-registry"
},
"schema_definition": "{\"type\": \"record\", \"name\": \"r1\", \"fields\": [ {\"name\": \"f1\", \"type\": \"int\"}, {\"name\": \"f2\", \"type\": \"string\"} ]}",
"tags": [
{
"key": "Modified By",
"value": "AWSCC"
}
]
}
Community Note
Terraform CLI and Terraform AWS Cloud Control Provider Version
Affected Resource(s)
Terraform Configuration Files
Please include all Terraform configurations required to reproduce the bug. Bug reports without a functional reproduction may be closed without investigation.
Updated configuation
Debug Output
Panic Output
Expected Behavior
Actual Behavior
The plan/apply identifies this as an in-place update, but fails stating schemadefinition is not found ( which is not changed).
Steps to Reproduce
terraform apply
with the first configuration.Important Factoids
References