Kubernetes Persistent Volumes with DigitalOcean?

That fixed it. Thanks! I have a related question:

In the yaml that I’m using above, the name of the claim is “myapp-config-pvc”. When I do the deployment using kubectl, I use that same claimName to specify the volume. But in Terraform, I have to use “kubernetes_persistent_volume_claim.myapp-config-pvc.metadata.0.name”.
I understand that the volume that was actually created by digital ocean got a different name, and that’s what’s being looked up with “[…].metadata.0.name”, but I wonder why I can’t just use the name of the claim. Seems like an extra step that terraform should be able to do, especially since kubectl can. Did I do it wrong somehow, or is this expected behaviour?