Skip to content

Commit 0d31279

Browse files
authored
Merge pull request #293 from AndrewL1993/xpack_role_name_bug
xpack role rename should force recreation
2 parents 66c6cb8 + 7af7307 commit 0d31279

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

es/resource_elasticsearch_xpack_role.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ func resourceElasticsearchXpackRole() *schema.Resource {
2323
"role_name": {
2424
Type: schema.TypeString,
2525
Required: true,
26+
ForceNew: true,
2627
},
2728
"indices": {
2829
Type: schema.TypeSet,

0 commit comments

Comments
 (0)