I’ve been doing some research on this and it seems like I’m going to want write-only attributes. I’m new to the semantics of write-only attributes and haven’t used them before. I’ll double check tomorrow if the version of the framework I’m using supports write-only attributes.
Regardless, I have an attribute on a resource that’s required by the upstream API during Create but not returned by the upstream API during Read. This presents issues during import where importing the resource with the attribute set in the configuration results in Terraform wanting to replace the resource immediately after import.
Is this the right use case for write-only attributes? Is there anything else I can or should do outside of write-only attributes?
If you’re curious about my concrete problem I’ve created GitHub · Where software is built with more details about my specific use case.