From 3a176474760011e98628030d2141e2fbe1b7f871 Mon Sep 17 00:00:00 2001 From: Jordan Caussat Date: Wed, 4 Apr 2018 10:44:26 +0200 Subject: [PATCH] TER-240: Fix key_name regexp --- ghost/resource_ghost_app.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ghost/resource_ghost_app.go b/ghost/resource_ghost_app.go index c613b94..390149e 100644 --- a/ghost/resource_ghost_app.go +++ b/ghost/resource_ghost_app.go @@ -162,7 +162,7 @@ func resourceGhostApp() *schema.Resource { "key_name": { Type: schema.TypeString, Optional: true, - ValidateFunc: MatchesRegexp(`^[\p{Latin}\p{P}]{1,255}$`), + ValidateFunc: MatchesRegexp(`^[a-zA-Z0-9\.\-\_]{1,255}$`), }, "public_ip_address": { Type: schema.TypeBool,