Skip to content

Commit 44240d0

Browse files
authored
fix(iam): api key default project id (#1537)
1 parent 57e31ac commit 44240d0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scaleway/resource_iam_api_key.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ func resourceScalewayIamAPIKeyCreate(ctx context.Context, d *schema.ResourceData
8888
ApplicationID: expandStringPtr(d.Get("application_id")),
8989
UserID: expandStringPtr(d.Get("user_id")),
9090
ExpiresAt: expandTimePtr(d.Get("expires_at")),
91-
DefaultProjectID: expandStringPtr(d.Get("project_id")),
91+
DefaultProjectID: expandStringPtr(d.Get("default_project_id")),
9292
Description: d.Get("description").(string),
9393
}, scw.WithContext(ctx))
9494
if err != nil {

0 commit comments

Comments
 (0)