Skip to content

Commit

Permalink
Add aws oidc account type
Browse files Browse the repository at this point in the history
  • Loading branch information
IsaacCalligeros95 committed Aug 13, 2024
1 parent e4c08d3 commit 5076bf7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion octopusdeploy/schema_utilities.go
Original file line number Diff line number Diff line change
Expand Up @@ -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{
Expand All @@ -22,6 +22,7 @@ func getAccountTypeSchema(isRequired bool) *schema.Schema {
"SshKeyPair",
"Token",
"UsernamePassword",
"AmazonWebServicesOidcAccount",
}, false)),
}

Expand Down

0 comments on commit 5076bf7

Please sign in to comment.