fivetran 1.5.1 published on Friday, Mar 7, 2025 by fivetran
fivetran.getGroupServiceAccount
Explore with Pulumi AI
This data source returns Fivetran service account associated with the group.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as fivetran from "@pulumi/fivetran";
const myGroupServiceAccount = fivetran.getGroupServiceAccount({
    id: "group_id",
});
import pulumi
import pulumi_fivetran as fivetran
my_group_service_account = fivetran.get_group_service_account(id="group_id")
package main
import (
	"github.com/pulumi/pulumi-terraform-provider/sdks/go/fivetran/fivetran"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := fivetran.GetGroupServiceAccount(ctx, &fivetran.GetGroupServiceAccountArgs{
			Id: "group_id",
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Fivetran = Pulumi.Fivetran;
return await Deployment.RunAsync(() => 
{
    var myGroupServiceAccount = Fivetran.GetGroupServiceAccount.Invoke(new()
    {
        Id = "group_id",
    });
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.fivetran.FivetranFunctions;
import com.pulumi.fivetran.inputs.GetGroupServiceAccountArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }
    public static void stack(Context ctx) {
        final var myGroupServiceAccount = FivetranFunctions.getGroupServiceAccount(GetGroupServiceAccountArgs.builder()
            .id("group_id")
            .build());
    }
}
variables:
  myGroupServiceAccount:
    fn::invoke:
      function: fivetran:getGroupServiceAccount
      arguments:
        id: group_id
Using getGroupServiceAccount
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getGroupServiceAccount(args: GetGroupServiceAccountArgs, opts?: InvokeOptions): Promise<GetGroupServiceAccountResult>
function getGroupServiceAccountOutput(args: GetGroupServiceAccountOutputArgs, opts?: InvokeOptions): Output<GetGroupServiceAccountResult>def get_group_service_account(id: Optional[str] = None,
                              opts: Optional[InvokeOptions] = None) -> GetGroupServiceAccountResult
def get_group_service_account_output(id: Optional[pulumi.Input[str]] = None,
                              opts: Optional[InvokeOptions] = None) -> Output[GetGroupServiceAccountResult]func GetGroupServiceAccount(ctx *Context, args *GetGroupServiceAccountArgs, opts ...InvokeOption) (*GetGroupServiceAccountResult, error)
func GetGroupServiceAccountOutput(ctx *Context, args *GetGroupServiceAccountOutputArgs, opts ...InvokeOption) GetGroupServiceAccountResultOutput> Note: This function is named GetGroupServiceAccount in the Go SDK.
public static class GetGroupServiceAccount 
{
    public static Task<GetGroupServiceAccountResult> InvokeAsync(GetGroupServiceAccountArgs args, InvokeOptions? opts = null)
    public static Output<GetGroupServiceAccountResult> Invoke(GetGroupServiceAccountInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetGroupServiceAccountResult> getGroupServiceAccount(GetGroupServiceAccountArgs args, InvokeOptions options)
public static Output<GetGroupServiceAccountResult> getGroupServiceAccount(GetGroupServiceAccountArgs args, InvokeOptions options)
fn::invoke:
  function: fivetran:index/getGroupServiceAccount:getGroupServiceAccount
  arguments:
    # arguments dictionaryThe following arguments are supported:
- Id string
- The unique identifier for the group within the Fivetran system.
- Id string
- The unique identifier for the group within the Fivetran system.
- id String
- The unique identifier for the group within the Fivetran system.
- id string
- The unique identifier for the group within the Fivetran system.
- id str
- The unique identifier for the group within the Fivetran system.
- id String
- The unique identifier for the group within the Fivetran system.
getGroupServiceAccount Result
The following output properties are available:
- Id string
- The unique identifier for the group within the Fivetran system.
- ServiceAccount string
- Fivetran service account associated with the group.
- Id string
- The unique identifier for the group within the Fivetran system.
- ServiceAccount string
- Fivetran service account associated with the group.
- id String
- The unique identifier for the group within the Fivetran system.
- serviceAccount String
- Fivetran service account associated with the group.
- id string
- The unique identifier for the group within the Fivetran system.
- serviceAccount string
- Fivetran service account associated with the group.
- id str
- The unique identifier for the group within the Fivetran system.
- service_account str
- Fivetran service account associated with the group.
- id String
- The unique identifier for the group within the Fivetran system.
- serviceAccount String
- Fivetran service account associated with the group.
Package Details
- Repository
- fivetran fivetran/terraform-provider-fivetran
- License
- Notes
- This Pulumi package is based on the fivetranTerraform Provider.