Skip to content

Commit

Permalink
TER-240: Fix key_name regexp
Browse files Browse the repository at this point in the history
  • Loading branch information
Jordan Caussat committed Apr 4, 2018
1 parent ae33256 commit 3a17647
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ghost/resource_ghost_app.go
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 3a17647

Please sign in to comment.