From 09d19419d433b4da3bde642f873c3bdaadf0b169 Mon Sep 17 00:00:00 2001 From: Rob E Date: Fri, 10 May 2024 09:19:48 +1000 Subject: [PATCH] Update OIDC aws account (#638) --- octopusdeploy/resource_aws_openid_connect_account.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/octopusdeploy/resource_aws_openid_connect_account.go b/octopusdeploy/resource_aws_openid_connect_account.go index 70db642fd..8f270b49a 100644 --- a/octopusdeploy/resource_aws_openid_connect_account.go +++ b/octopusdeploy/resource_aws_openid_connect_account.go @@ -29,7 +29,7 @@ func resourceAmazonWebServicesOpenIDConnectAccountCreate(ctx context.Context, d log.Printf("[INFO] creating AWS OIDC account") client := m.(*client.Client) - createdAccount, err := client.Accounts.Add(account) + createdAccount, err := accounts.Add(client, account) if err != nil { return diag.FromErr(err) }