The repository_apt_hosted resource now reads the signing values back from the previous state, if they are not returned by the Nexus API, so Terraform does not try to recreate the key every time it is running.
This has the limitation that in those cases, Terraform will not detect when changes to these keys are made outside of Terraform.
Remaining tasks:
[x] Test state migration behaviour
[x] Update resource and data source documentation/
The repository_apt_hosted resource now reads the signing values back from the previous state, if they are not returned by the Nexus API, so Terraform does not try to recreate the key every time it is running.
This has the limitation that in those cases, Terraform will not detect when changes to these keys are made outside of Terraform.
Remaining tasks: