After working out how to export the entire terraform-provider-aws attribute schema to JSON, this makes working out what can and cannot be serialized from terraform.tfstate much more deterministic.
There are still issues to be expected with some conflicting arguments, where the cmdlet cannot for itself determine which of two populated conflicting arguments should be emitted, but I'll still have to resolve those on a case-by-case basis.
After working out how to export the entire
terraform-provider-aws
attribute schema to JSON, this makes working out what can and cannot be serialized fromterraform.tfstate
much more deterministic.There are still issues to be expected with some conflicting arguments, where the cmdlet cannot for itself determine which of two populated conflicting arguments should be emitted, but I'll still have to resolve those on a case-by-case basis.