Skip to content

Commit

Permalink
feat: add WorkflowV2Client to Terraform utils
Browse files Browse the repository at this point in the history
  • Loading branch information
anthonyroussel committed Nov 1, 2024
1 parent b46d073 commit 491dbf2
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions terraform/auth/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -440,6 +440,10 @@ func (c *Config) KeyManagerV1Client(ctx context.Context, region string) (*gopher
return c.CommonServiceClientInit(ctx, openstack.NewKeyManagerV1, region, "key-manager")
}

func (c *Config) WorkflowV2Client(ctx context.Context, region string) (*gophercloud.ServiceClient, error) {
return c.CommonServiceClientInit(ctx, openstack.NewWorkflowV2, region, "workflowv2")
}

// A wrapper to determine if logging in gophercloud should be enabled, with a fallback
// to the OS_DEBUG environment variable when no explicit configuration is passed.
func enableLogging(enable bool) bool {
Expand Down

0 comments on commit 491dbf2

Please sign in to comment.