Skip to content

Commit 680914d

Browse files
committed
force new
1 parent 2af81a4 commit 680914d

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

internal/service/lakeformation/permissions.go

+4
Original file line numberDiff line numberDiff line change
@@ -164,6 +164,7 @@ func ResourcePermissions() *schema.Resource {
164164
Type: schema.TypeList,
165165
Optional: true,
166166
Computed: true,
167+
ForceNew: true,
167168
MaxItems: 1,
168169
ExactlyOneOf: []string{
169170
"catalog_resource",
@@ -192,11 +193,13 @@ func ResourcePermissions() *schema.Resource {
192193
"key": {
193194
Type: schema.TypeString,
194195
Required: true,
196+
ForceNew: true,
195197
ValidateFunc: validation.StringLenBetween(1, 128),
196198
},
197199
"values": {
198200
Type: schema.TypeSet,
199201
Required: true,
202+
ForceNew: true,
200203
MinItems: 1,
201204
MaxItems: 15,
202205
Elem: &schema.Schema{
@@ -211,6 +214,7 @@ func ResourcePermissions() *schema.Resource {
211214
"resource_type": {
212215
Type: schema.TypeString,
213216
Required: true,
217+
ForceNew: true,
214218
ValidateFunc: validation.StringInSlice(lakeformation.ResourceType_Values(), false),
215219
},
216220
},

0 commit comments

Comments
 (0)