Skip to content

Commit

Permalink
Merge pull request #234 from anthonyroussel/add-workflow-v2-client
Browse files Browse the repository at this point in the history
feat: add WorkflowV2Client to Terraform utils
  • Loading branch information
pierreprinetti authored Nov 7, 2024
2 parents b46d073 + 491dbf2 commit da754bc
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 da754bc

Please sign in to comment.