Skip to content

Commit ccf35a3

Browse files
committed
remove a nil setting and specify ForceNew
1 parent 9c70a07 commit ccf35a3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scaleway/resource_iam_api_key.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ func resourceScalewayIamAPIKey() *schema.Resource {
3838
"expires_at": {
3939
Type: schema.TypeString,
4040
Optional: true,
41-
Default: nil,
41+
ForceNew: true,
4242
Description: "The date and time of the expiration of the iam api key. Cannot be changed afterwards",
4343
ValidateDiagFunc: validateDate(),
4444
},

0 commit comments

Comments
 (0)