dbtcloud.SynapseCredential
Explore with Pulumi AI
Synapse credential resource
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as dbtcloud from "@pulumi/dbtcloud";
// when using sql authentication
const mySynapseCredSql = new dbtcloud.SynapseCredential("my_synapse_cred_sql", {
projectId: dbtProject.id,
authentication: "sql",
schema: "my_schema",
user: "my_user",
password: "my_password",
schemaAuthorization: "abcd",
});
// when using AD authentication
const mySynapseCredAd = new dbtcloud.SynapseCredential("my_synapse_cred_ad", {
projectId: dbtProject.id,
authentication: "ActiveDirectoryPassword",
schema: "my_schema",
user: "my_user",
password: "my_password",
schemaAuthorization: "abcd",
});
// when using service principal authentication
const mySynapseCredServPrinc = new dbtcloud.SynapseCredential("my_synapse_cred_serv_princ", {
projectId: dbtProject.id,
authentication: "ServicePrincipal",
schema: "my_schema",
clientId: "my_client_id",
tenantId: "my_tenant_id",
clientSecret: "my_secret",
schemaAuthorization: "abcd",
});
import pulumi
import pulumi_dbtcloud as dbtcloud
# when using sql authentication
my_synapse_cred_sql = dbtcloud.SynapseCredential("my_synapse_cred_sql",
project_id=dbt_project["id"],
authentication="sql",
schema="my_schema",
user="my_user",
password="my_password",
schema_authorization="abcd")
# when using AD authentication
my_synapse_cred_ad = dbtcloud.SynapseCredential("my_synapse_cred_ad",
project_id=dbt_project["id"],
authentication="ActiveDirectoryPassword",
schema="my_schema",
user="my_user",
password="my_password",
schema_authorization="abcd")
# when using service principal authentication
my_synapse_cred_serv_princ = dbtcloud.SynapseCredential("my_synapse_cred_serv_princ",
project_id=dbt_project["id"],
authentication="ServicePrincipal",
schema="my_schema",
client_id="my_client_id",
tenant_id="my_tenant_id",
client_secret="my_secret",
schema_authorization="abcd")
package main
import (
"github.com/pulumi/pulumi-dbtcloud/sdk/go/dbtcloud"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
// when using sql authentication
_, err := dbtcloud.NewSynapseCredential(ctx, "my_synapse_cred_sql", &dbtcloud.SynapseCredentialArgs{
ProjectId: pulumi.Any(dbtProject.Id),
Authentication: pulumi.String("sql"),
Schema: pulumi.String("my_schema"),
User: pulumi.String("my_user"),
Password: pulumi.String("my_password"),
SchemaAuthorization: pulumi.String("abcd"),
})
if err != nil {
return err
}
// when using AD authentication
_, err = dbtcloud.NewSynapseCredential(ctx, "my_synapse_cred_ad", &dbtcloud.SynapseCredentialArgs{
ProjectId: pulumi.Any(dbtProject.Id),
Authentication: pulumi.String("ActiveDirectoryPassword"),
Schema: pulumi.String("my_schema"),
User: pulumi.String("my_user"),
Password: pulumi.String("my_password"),
SchemaAuthorization: pulumi.String("abcd"),
})
if err != nil {
return err
}
// when using service principal authentication
_, err = dbtcloud.NewSynapseCredential(ctx, "my_synapse_cred_serv_princ", &dbtcloud.SynapseCredentialArgs{
ProjectId: pulumi.Any(dbtProject.Id),
Authentication: pulumi.String("ServicePrincipal"),
Schema: pulumi.String("my_schema"),
ClientId: pulumi.String("my_client_id"),
TenantId: pulumi.String("my_tenant_id"),
ClientSecret: pulumi.String("my_secret"),
SchemaAuthorization: pulumi.String("abcd"),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using DbtCloud = Pulumi.DbtCloud;
return await Deployment.RunAsync(() =>
{
// when using sql authentication
var mySynapseCredSql = new DbtCloud.SynapseCredential("my_synapse_cred_sql", new()
{
ProjectId = dbtProject.Id,
Authentication = "sql",
Schema = "my_schema",
User = "my_user",
Password = "my_password",
SchemaAuthorization = "abcd",
});
// when using AD authentication
var mySynapseCredAd = new DbtCloud.SynapseCredential("my_synapse_cred_ad", new()
{
ProjectId = dbtProject.Id,
Authentication = "ActiveDirectoryPassword",
Schema = "my_schema",
User = "my_user",
Password = "my_password",
SchemaAuthorization = "abcd",
});
// when using service principal authentication
var mySynapseCredServPrinc = new DbtCloud.SynapseCredential("my_synapse_cred_serv_princ", new()
{
ProjectId = dbtProject.Id,
Authentication = "ServicePrincipal",
Schema = "my_schema",
ClientId = "my_client_id",
TenantId = "my_tenant_id",
ClientSecret = "my_secret",
SchemaAuthorization = "abcd",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.dbtcloud.SynapseCredential;
import com.pulumi.dbtcloud.SynapseCredentialArgs;
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) {
// when using sql authentication
var mySynapseCredSql = new SynapseCredential("mySynapseCredSql", SynapseCredentialArgs.builder()
.projectId(dbtProject.id())
.authentication("sql")
.schema("my_schema")
.user("my_user")
.password("my_password")
.schemaAuthorization("abcd")
.build());
// when using AD authentication
var mySynapseCredAd = new SynapseCredential("mySynapseCredAd", SynapseCredentialArgs.builder()
.projectId(dbtProject.id())
.authentication("ActiveDirectoryPassword")
.schema("my_schema")
.user("my_user")
.password("my_password")
.schemaAuthorization("abcd")
.build());
// when using service principal authentication
var mySynapseCredServPrinc = new SynapseCredential("mySynapseCredServPrinc", SynapseCredentialArgs.builder()
.projectId(dbtProject.id())
.authentication("ServicePrincipal")
.schema("my_schema")
.clientId("my_client_id")
.tenantId("my_tenant_id")
.clientSecret("my_secret")
.schemaAuthorization("abcd")
.build());
}
}
resources:
# when using sql authentication
mySynapseCredSql:
type: dbtcloud:SynapseCredential
name: my_synapse_cred_sql
properties:
projectId: ${dbtProject.id}
authentication: sql
schema: my_schema
user: my_user
password: my_password
schemaAuthorization: abcd
# when using AD authentication
mySynapseCredAd:
type: dbtcloud:SynapseCredential
name: my_synapse_cred_ad
properties:
projectId: ${dbtProject.id}
authentication: ActiveDirectoryPassword
schema: my_schema
user: my_user
password: my_password
schemaAuthorization: abcd
# when using service principal authentication
mySynapseCredServPrinc:
type: dbtcloud:SynapseCredential
name: my_synapse_cred_serv_princ
properties:
projectId: ${dbtProject.id}
authentication: ServicePrincipal
schema: my_schema
clientId: my_client_id
tenantId: my_tenant_id
clientSecret: my_secret
schemaAuthorization: abcd
Create SynapseCredential Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new SynapseCredential(name: string, args: SynapseCredentialArgs, opts?: CustomResourceOptions);
@overload
def SynapseCredential(resource_name: str,
args: SynapseCredentialArgs,
opts: Optional[ResourceOptions] = None)
@overload
def SynapseCredential(resource_name: str,
opts: Optional[ResourceOptions] = None,
adapter_type: Optional[str] = None,
authentication: Optional[str] = None,
project_id: Optional[int] = None,
schema: Optional[str] = None,
client_id: Optional[str] = None,
client_secret: Optional[str] = None,
password: Optional[str] = None,
schema_authorization: Optional[str] = None,
tenant_id: Optional[str] = None,
user: Optional[str] = None)
func NewSynapseCredential(ctx *Context, name string, args SynapseCredentialArgs, opts ...ResourceOption) (*SynapseCredential, error)
public SynapseCredential(string name, SynapseCredentialArgs args, CustomResourceOptions? opts = null)
public SynapseCredential(String name, SynapseCredentialArgs args)
public SynapseCredential(String name, SynapseCredentialArgs args, CustomResourceOptions options)
type: dbtcloud:SynapseCredential
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args SynapseCredentialArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args SynapseCredentialArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args SynapseCredentialArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args SynapseCredentialArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args SynapseCredentialArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var synapseCredentialResource = new DbtCloud.SynapseCredential("synapseCredentialResource", new()
{
AdapterType = "string",
Authentication = "string",
ProjectId = 0,
Schema = "string",
ClientId = "string",
ClientSecret = "string",
Password = "string",
SchemaAuthorization = "string",
TenantId = "string",
User = "string",
});
example, err := dbtcloud.NewSynapseCredential(ctx, "synapseCredentialResource", &dbtcloud.SynapseCredentialArgs{
AdapterType: pulumi.String("string"),
Authentication: pulumi.String("string"),
ProjectId: pulumi.Int(0),
Schema: pulumi.String("string"),
ClientId: pulumi.String("string"),
ClientSecret: pulumi.String("string"),
Password: pulumi.String("string"),
SchemaAuthorization: pulumi.String("string"),
TenantId: pulumi.String("string"),
User: pulumi.String("string"),
})
var synapseCredentialResource = new SynapseCredential("synapseCredentialResource", SynapseCredentialArgs.builder()
.adapterType("string")
.authentication("string")
.projectId(0)
.schema("string")
.clientId("string")
.clientSecret("string")
.password("string")
.schemaAuthorization("string")
.tenantId("string")
.user("string")
.build());
synapse_credential_resource = dbtcloud.SynapseCredential("synapseCredentialResource",
adapter_type="string",
authentication="string",
project_id=0,
schema="string",
client_id="string",
client_secret="string",
password="string",
schema_authorization="string",
tenant_id="string",
user="string")
const synapseCredentialResource = new dbtcloud.SynapseCredential("synapseCredentialResource", {
adapterType: "string",
authentication: "string",
projectId: 0,
schema: "string",
clientId: "string",
clientSecret: "string",
password: "string",
schemaAuthorization: "string",
tenantId: "string",
user: "string",
});
type: dbtcloud:SynapseCredential
properties:
adapterType: string
authentication: string
clientId: string
clientSecret: string
password: string
projectId: 0
schema: string
schemaAuthorization: string
tenantId: string
user: string
SynapseCredential Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The SynapseCredential resource accepts the following input properties:
- Adapter
Type string - The type of the adapter (synapse)
- Authentication string
- Authentication type (SQL, ActiveDirectoryPassword, ServicePrincipal)
- Project
Id int - Project ID to create the Synapse credential in
- Schema string
- The schema where to create the dbt models
- Client
Id string - The client ID of the Azure Active Directory service principal. This is only used when connecting to Azure SQL with an AAD service principal.
- Client
Secret string - The client secret of the Azure Active Directory service principal. This is only used when connecting to Azure SQL with an AAD service principal.
- Password string
- The password for the account to connect to. Only used when connection with AD user/pass
- string
- Optionally set this to the principal who should own the schemas created by dbt
- Tenant
Id string - The tenant ID of the Azure Active Directory instance. This is only used when connecting to Azure SQL with a service principal.
- User string
- The username of the Synapse account to connect to. Only used when connection with AD user/pass
- Adapter
Type string - The type of the adapter (synapse)
- Authentication string
- Authentication type (SQL, ActiveDirectoryPassword, ServicePrincipal)
- Project
Id int - Project ID to create the Synapse credential in
- Schema string
- The schema where to create the dbt models
- Client
Id string - The client ID of the Azure Active Directory service principal. This is only used when connecting to Azure SQL with an AAD service principal.
- Client
Secret string - The client secret of the Azure Active Directory service principal. This is only used when connecting to Azure SQL with an AAD service principal.
- Password string
- The password for the account to connect to. Only used when connection with AD user/pass
- string
- Optionally set this to the principal who should own the schemas created by dbt
- Tenant
Id string - The tenant ID of the Azure Active Directory instance. This is only used when connecting to Azure SQL with a service principal.
- User string
- The username of the Synapse account to connect to. Only used when connection with AD user/pass
- adapter
Type String - The type of the adapter (synapse)
- authentication String
- Authentication type (SQL, ActiveDirectoryPassword, ServicePrincipal)
- project
Id Integer - Project ID to create the Synapse credential in
- schema String
- The schema where to create the dbt models
- client
Id String - The client ID of the Azure Active Directory service principal. This is only used when connecting to Azure SQL with an AAD service principal.
- client
Secret String - The client secret of the Azure Active Directory service principal. This is only used when connecting to Azure SQL with an AAD service principal.
- password String
- The password for the account to connect to. Only used when connection with AD user/pass
- String
- Optionally set this to the principal who should own the schemas created by dbt
- tenant
Id String - The tenant ID of the Azure Active Directory instance. This is only used when connecting to Azure SQL with a service principal.
- user String
- The username of the Synapse account to connect to. Only used when connection with AD user/pass
- adapter
Type string - The type of the adapter (synapse)
- authentication string
- Authentication type (SQL, ActiveDirectoryPassword, ServicePrincipal)
- project
Id number - Project ID to create the Synapse credential in
- schema string
- The schema where to create the dbt models
- client
Id string - The client ID of the Azure Active Directory service principal. This is only used when connecting to Azure SQL with an AAD service principal.
- client
Secret string - The client secret of the Azure Active Directory service principal. This is only used when connecting to Azure SQL with an AAD service principal.
- password string
- The password for the account to connect to. Only used when connection with AD user/pass
- string
- Optionally set this to the principal who should own the schemas created by dbt
- tenant
Id string - The tenant ID of the Azure Active Directory instance. This is only used when connecting to Azure SQL with a service principal.
- user string
- The username of the Synapse account to connect to. Only used when connection with AD user/pass
- adapter_
type str - The type of the adapter (synapse)
- authentication str
- Authentication type (SQL, ActiveDirectoryPassword, ServicePrincipal)
- project_
id int - Project ID to create the Synapse credential in
- schema str
- The schema where to create the dbt models
- client_
id str - The client ID of the Azure Active Directory service principal. This is only used when connecting to Azure SQL with an AAD service principal.
- client_
secret str - The client secret of the Azure Active Directory service principal. This is only used when connecting to Azure SQL with an AAD service principal.
- password str
- The password for the account to connect to. Only used when connection with AD user/pass
- str
- Optionally set this to the principal who should own the schemas created by dbt
- tenant_
id str - The tenant ID of the Azure Active Directory instance. This is only used when connecting to Azure SQL with a service principal.
- user str
- The username of the Synapse account to connect to. Only used when connection with AD user/pass
- adapter
Type String - The type of the adapter (synapse)
- authentication String
- Authentication type (SQL, ActiveDirectoryPassword, ServicePrincipal)
- project
Id Number - Project ID to create the Synapse credential in
- schema String
- The schema where to create the dbt models
- client
Id String - The client ID of the Azure Active Directory service principal. This is only used when connecting to Azure SQL with an AAD service principal.
- client
Secret String - The client secret of the Azure Active Directory service principal. This is only used when connecting to Azure SQL with an AAD service principal.
- password String
- The password for the account to connect to. Only used when connection with AD user/pass
- String
- Optionally set this to the principal who should own the schemas created by dbt
- tenant
Id String - The tenant ID of the Azure Active Directory instance. This is only used when connecting to Azure SQL with a service principal.
- user String
- The username of the Synapse account to connect to. Only used when connection with AD user/pass
Outputs
All input properties are implicitly available as output properties. Additionally, the SynapseCredential resource produces the following output properties:
- Credential
Id int - The internal credential ID
- Id string
- The provider-assigned unique ID for this managed resource.
- Credential
Id int - The internal credential ID
- Id string
- The provider-assigned unique ID for this managed resource.
- credential
Id Integer - The internal credential ID
- id String
- The provider-assigned unique ID for this managed resource.
- credential
Id number - The internal credential ID
- id string
- The provider-assigned unique ID for this managed resource.
- credential_
id int - The internal credential ID
- id str
- The provider-assigned unique ID for this managed resource.
- credential
Id Number - The internal credential ID
- id String
- The provider-assigned unique ID for this managed resource.
Look up Existing SynapseCredential Resource
Get an existing SynapseCredential resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: SynapseCredentialState, opts?: CustomResourceOptions): SynapseCredential
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
adapter_type: Optional[str] = None,
authentication: Optional[str] = None,
client_id: Optional[str] = None,
client_secret: Optional[str] = None,
credential_id: Optional[int] = None,
password: Optional[str] = None,
project_id: Optional[int] = None,
schema: Optional[str] = None,
schema_authorization: Optional[str] = None,
tenant_id: Optional[str] = None,
user: Optional[str] = None) -> SynapseCredential
func GetSynapseCredential(ctx *Context, name string, id IDInput, state *SynapseCredentialState, opts ...ResourceOption) (*SynapseCredential, error)
public static SynapseCredential Get(string name, Input<string> id, SynapseCredentialState? state, CustomResourceOptions? opts = null)
public static SynapseCredential get(String name, Output<String> id, SynapseCredentialState state, CustomResourceOptions options)
resources: _: type: dbtcloud:SynapseCredential get: id: ${id}
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Adapter
Type string - The type of the adapter (synapse)
- Authentication string
- Authentication type (SQL, ActiveDirectoryPassword, ServicePrincipal)
- Client
Id string - The client ID of the Azure Active Directory service principal. This is only used when connecting to Azure SQL with an AAD service principal.
- Client
Secret string - The client secret of the Azure Active Directory service principal. This is only used when connecting to Azure SQL with an AAD service principal.
- Credential
Id int - The internal credential ID
- Password string
- The password for the account to connect to. Only used when connection with AD user/pass
- Project
Id int - Project ID to create the Synapse credential in
- Schema string
- The schema where to create the dbt models
- string
- Optionally set this to the principal who should own the schemas created by dbt
- Tenant
Id string - The tenant ID of the Azure Active Directory instance. This is only used when connecting to Azure SQL with a service principal.
- User string
- The username of the Synapse account to connect to. Only used when connection with AD user/pass
- Adapter
Type string - The type of the adapter (synapse)
- Authentication string
- Authentication type (SQL, ActiveDirectoryPassword, ServicePrincipal)
- Client
Id string - The client ID of the Azure Active Directory service principal. This is only used when connecting to Azure SQL with an AAD service principal.
- Client
Secret string - The client secret of the Azure Active Directory service principal. This is only used when connecting to Azure SQL with an AAD service principal.
- Credential
Id int - The internal credential ID
- Password string
- The password for the account to connect to. Only used when connection with AD user/pass
- Project
Id int - Project ID to create the Synapse credential in
- Schema string
- The schema where to create the dbt models
- string
- Optionally set this to the principal who should own the schemas created by dbt
- Tenant
Id string - The tenant ID of the Azure Active Directory instance. This is only used when connecting to Azure SQL with a service principal.
- User string
- The username of the Synapse account to connect to. Only used when connection with AD user/pass
- adapter
Type String - The type of the adapter (synapse)
- authentication String
- Authentication type (SQL, ActiveDirectoryPassword, ServicePrincipal)
- client
Id String - The client ID of the Azure Active Directory service principal. This is only used when connecting to Azure SQL with an AAD service principal.
- client
Secret String - The client secret of the Azure Active Directory service principal. This is only used when connecting to Azure SQL with an AAD service principal.
- credential
Id Integer - The internal credential ID
- password String
- The password for the account to connect to. Only used when connection with AD user/pass
- project
Id Integer - Project ID to create the Synapse credential in
- schema String
- The schema where to create the dbt models
- String
- Optionally set this to the principal who should own the schemas created by dbt
- tenant
Id String - The tenant ID of the Azure Active Directory instance. This is only used when connecting to Azure SQL with a service principal.
- user String
- The username of the Synapse account to connect to. Only used when connection with AD user/pass
- adapter
Type string - The type of the adapter (synapse)
- authentication string
- Authentication type (SQL, ActiveDirectoryPassword, ServicePrincipal)
- client
Id string - The client ID of the Azure Active Directory service principal. This is only used when connecting to Azure SQL with an AAD service principal.
- client
Secret string - The client secret of the Azure Active Directory service principal. This is only used when connecting to Azure SQL with an AAD service principal.
- credential
Id number - The internal credential ID
- password string
- The password for the account to connect to. Only used when connection with AD user/pass
- project
Id number - Project ID to create the Synapse credential in
- schema string
- The schema where to create the dbt models
- string
- Optionally set this to the principal who should own the schemas created by dbt
- tenant
Id string - The tenant ID of the Azure Active Directory instance. This is only used when connecting to Azure SQL with a service principal.
- user string
- The username of the Synapse account to connect to. Only used when connection with AD user/pass
- adapter_
type str - The type of the adapter (synapse)
- authentication str
- Authentication type (SQL, ActiveDirectoryPassword, ServicePrincipal)
- client_
id str - The client ID of the Azure Active Directory service principal. This is only used when connecting to Azure SQL with an AAD service principal.
- client_
secret str - The client secret of the Azure Active Directory service principal. This is only used when connecting to Azure SQL with an AAD service principal.
- credential_
id int - The internal credential ID
- password str
- The password for the account to connect to. Only used when connection with AD user/pass
- project_
id int - Project ID to create the Synapse credential in
- schema str
- The schema where to create the dbt models
- str
- Optionally set this to the principal who should own the schemas created by dbt
- tenant_
id str - The tenant ID of the Azure Active Directory instance. This is only used when connecting to Azure SQL with a service principal.
- user str
- The username of the Synapse account to connect to. Only used when connection with AD user/pass
- adapter
Type String - The type of the adapter (synapse)
- authentication String
- Authentication type (SQL, ActiveDirectoryPassword, ServicePrincipal)
- client
Id String - The client ID of the Azure Active Directory service principal. This is only used when connecting to Azure SQL with an AAD service principal.
- client
Secret String - The client secret of the Azure Active Directory service principal. This is only used when connecting to Azure SQL with an AAD service principal.
- credential
Id Number - The internal credential ID
- password String
- The password for the account to connect to. Only used when connection with AD user/pass
- project
Id Number - Project ID to create the Synapse credential in
- schema String
- The schema where to create the dbt models
- String
- Optionally set this to the principal who should own the schemas created by dbt
- tenant
Id String - The tenant ID of the Azure Active Directory instance. This is only used when connecting to Azure SQL with a service principal.
- user String
- The username of the Synapse account to connect to. Only used when connection with AD user/pass
Import
using import blocks (requires Terraform >= 1.5)
import {
to = dbtcloud_synapse_credential.my_synapse_credential
id = “project_id:credential_id”
}
import {
to = dbtcloud_synapse_credential.my_synapse_credential
id = “12345:6789”
}
using the older import command
$ pulumi import dbtcloud:index/synapseCredential:SynapseCredential my_synapse_credential "project_id:credential_id"
$ pulumi import dbtcloud:index/synapseCredential:SynapseCredential my_synapse_credential 12345:6789
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- dbtcloud pulumi/pulumi-dbtcloud
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
dbtcloud
Terraform Provider.