From 5076bf7c5e76effcf9db2b06d4725dbc43df2de0 Mon Sep 17 00:00:00 2001 From: isaac Date: Tue, 13 Aug 2024 14:17:53 +0930 Subject: [PATCH] Add aws oidc account type --- octopusdeploy/schema_utilities.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/octopusdeploy/schema_utilities.go b/octopusdeploy/schema_utilities.go index 50294a90c..1cb481661 100644 --- a/octopusdeploy/schema_utilities.go +++ b/octopusdeploy/schema_utilities.go @@ -9,7 +9,7 @@ import ( func getAccountTypeSchema(isRequired bool) *schema.Schema { schema := &schema.Schema{ - Description: "Specifies the type of the account. Valid account types are `AmazonWebServicesAccount`, `AmazonWebServicesRoleAccount`, `AzureServicePrincipal`, `AzureOIDC`, `AzureSubscription`, `None`, `SshKeyPair`, `Token`, or `UsernamePassword`.", + Description: "Specifies the type of the account. Valid account types are `AmazonWebServicesAccount`, `AmazonWebServicesRoleAccount`, `AzureServicePrincipal`, `AzureOIDC`, `AzureSubscription`, `AmazonWebServicesOidcAccount`, `None`, `SshKeyPair`, `Token`, or `UsernamePassword`.", ForceNew: true, Type: schema.TypeString, ValidateDiagFunc: validation.ToDiagFunc(validation.StringInSlice([]string{ @@ -22,6 +22,7 @@ func getAccountTypeSchema(isRequired bool) *schema.Schema { "SshKeyPair", "Token", "UsernamePassword", + "AmazonWebServicesOidcAccount", }, false)), }