Kubernetes ConfigMap metadata name did not comply to the regex rules (#12955)

This commit is contained in:
Marc Rooding 2017-03-22 13:27:49 +01:00 committed by Radek Simko
parent 8bccfda2f0
commit 8c9084e0d8
1 changed files with 2 additions and 2 deletions

View File

@ -16,7 +16,7 @@ Config Map can be used to store fine-grained information like individual propert
``` ```
resource "kubernetes_config_map" "example" { resource "kubernetes_config_map" "example" {
metadata { metadata {
name = "my_config" name = "my-config"
} }
data { data {
api_host = "myhost:443" api_host = "myhost:443"
@ -56,5 +56,5 @@ The following arguments are supported:
Config Map can be imported using its name, e.g. Config Map can be imported using its name, e.g.
``` ```
$ terraform import kubernetes_config_map.example my_config $ terraform import kubernetes_config_map.example my-config
``` ```