Skip to content
This repository was archived by the owner on Jul 22, 2025. It is now read-only.

Commit 2edfb49

Browse files
authored
Use new client method for creating aws account (#626)
1 parent b1ec41d commit 2edfb49

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

octopusdeploy/resource_aws_account.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,8 @@ func resourceAmazonWebServicesAccountCreate(ctx context.Context, d *schema.Resou
2929
log.Printf("[INFO] creating AWS account")
3030

3131
client := m.(*client.Client)
32-
createdAccount, err := client.Accounts.Add(account)
32+
createdAccount, err := accounts.Add(client, account)
33+
3334
if err != nil {
3435
return diag.FromErr(err)
3536
}

0 commit comments

Comments
 (0)