We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Terraform v0.11.13 + provider.aws v1.60.0 + provider.external v1.0.0 + provider.http v1.0.1 + provider.kubernetes v1.5.2 + provider.null v2.1.0 + provider.template v2.1.0
(from https://github.com/kubernetes-incubator/external-storage/tree/master/aws/efs, converted to Terraform)
resource "kubernetes_persistent_volume_claim" "efs" { metadata { name = "efs" annotations = { "volume.beta.kubernetes.io/storage-class" = "${kubernetes_storage_class.aws_efs.metadata.0.name}" } } spec { access_modes = ["ReadWriteMany"] resources { request { storage = "1Mi" } } } }
Volume claim resource should have been created.
Error: kubernetes_persistent_volume_claim.efs: metadata.0.annotations: "volume.beta.kubernetes.io/storage-class" is internal Kubernetes annotation
terraform apply
The text was updated successfully, but these errors were encountered:
Oops it appears volume.beta.kubernetes.io/storage-class has been deprecated anyway: https://kubernetes.io/docs/concepts/storage/persistent-volumes/#class
volume.beta.kubernetes.io/storage-class
The new way to reference this is the spec.storage_class_name attribute.
spec.storage_class_name
Sorry, something went wrong.
No branches or pull requests
Terraform Version
Affected Resource(s)
Terraform Configuration Files
(from https://github.com/kubernetes-incubator/external-storage/tree/master/aws/efs, converted to Terraform)
Expected Behavior
Volume claim resource should have been created.
Actual Behavior
Steps to Reproduce
terraform apply
References
The text was updated successfully, but these errors were encountered: