This example is borrowed from the Kubernetes (k8s) Terraform Provider, under the MPL-2.0 License.