Kubernetes ConfigMap metadata name did not comply to the regex rules (#12955)
This commit is contained in:
parent
8bccfda2f0
commit
8c9084e0d8
|
@ -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
|
||||||
```
|
```
|
||||||
|
|
Loading…
Reference in New Issue