1. Packages
  2. Packages
  3. Fivetran Provider
  4. API Docs
  5. ConnectorSdkPackage
Viewing docs for fivetran 1.9.30
published on Thursday, Apr 23, 2026 by fivetran
Viewing docs for fivetran 1.9.30
published on Thursday, Apr 23, 2026 by fivetran

    This resource allows you to upload and manage a Connector SDK code package. The .zip file referenced by file_path is uploaded to Fivetran, and the resulting package ID can be referenced by a fivetran.Connector resource with service = "connector_sdk".

    The provider computes a SHA-256 hash of the file during pulumi preview, so changes to the .zip contents are detected without relying on metadata such as modification times.

    Create ConnectorSdkPackage Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new ConnectorSdkPackage(name: string, args: ConnectorSdkPackageArgs, opts?: CustomResourceOptions);
    @overload
    def ConnectorSdkPackage(resource_name: str,
                            args: ConnectorSdkPackageArgs,
                            opts: Optional[ResourceOptions] = None)
    
    @overload
    def ConnectorSdkPackage(resource_name: str,
                            opts: Optional[ResourceOptions] = None,
                            file_path: Optional[str] = None)
    func NewConnectorSdkPackage(ctx *Context, name string, args ConnectorSdkPackageArgs, opts ...ResourceOption) (*ConnectorSdkPackage, error)
    public ConnectorSdkPackage(string name, ConnectorSdkPackageArgs args, CustomResourceOptions? opts = null)
    public ConnectorSdkPackage(String name, ConnectorSdkPackageArgs args)
    public ConnectorSdkPackage(String name, ConnectorSdkPackageArgs args, CustomResourceOptions options)
    
    type: fivetran:ConnectorSdkPackage
    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 ConnectorSdkPackageArgs
    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 ConnectorSdkPackageArgs
    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 ConnectorSdkPackageArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args ConnectorSdkPackageArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args ConnectorSdkPackageArgs
    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 connectorSdkPackageResource = new Fivetran.ConnectorSdkPackage("connectorSdkPackageResource", new()
    {
        FilePath = "string",
    });
    
    example, err := fivetran.NewConnectorSdkPackage(ctx, "connectorSdkPackageResource", &fivetran.ConnectorSdkPackageArgs{
    	FilePath: pulumi.String("string"),
    })
    
    var connectorSdkPackageResource = new ConnectorSdkPackage("connectorSdkPackageResource", ConnectorSdkPackageArgs.builder()
        .filePath("string")
        .build());
    
    connector_sdk_package_resource = fivetran.ConnectorSdkPackage("connectorSdkPackageResource", file_path="string")
    
    const connectorSdkPackageResource = new fivetran.ConnectorSdkPackage("connectorSdkPackageResource", {filePath: "string"});
    
    type: fivetran:ConnectorSdkPackage
    properties:
        filePath: string
    

    ConnectorSdkPackage 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 ConnectorSdkPackage resource accepts the following input properties:

    FilePath string
    Path to the .zip file to upload. File is read during plan (for change detection) and during apply (for upload).
    FilePath string
    Path to the .zip file to upload. File is read during plan (for change detection) and during apply (for upload).
    filePath String
    Path to the .zip file to upload. File is read during plan (for change detection) and during apply (for upload).
    filePath string
    Path to the .zip file to upload. File is read during plan (for change detection) and during apply (for upload).
    file_path str
    Path to the .zip file to upload. File is read during plan (for change detection) and during apply (for upload).
    filePath String
    Path to the .zip file to upload. File is read during plan (for change detection) and during apply (for upload).

    Outputs

    All input properties are implicitly available as output properties. Additionally, the ConnectorSdkPackage resource produces the following output properties:

    CreatedAt string
    Timestamp when the package was created.
    FileSha256Hash string
    SHA-256 hash of the uploaded file as computed and stored by the API. Used for upstream drift detection.
    Id string
    The provider-assigned unique ID for this managed resource.
    UpdatedAt string
    Timestamp when the package was last updated.
    CreatedAt string
    Timestamp when the package was created.
    FileSha256Hash string
    SHA-256 hash of the uploaded file as computed and stored by the API. Used for upstream drift detection.
    Id string
    The provider-assigned unique ID for this managed resource.
    UpdatedAt string
    Timestamp when the package was last updated.
    createdAt String
    Timestamp when the package was created.
    fileSha256Hash String
    SHA-256 hash of the uploaded file as computed and stored by the API. Used for upstream drift detection.
    id String
    The provider-assigned unique ID for this managed resource.
    updatedAt String
    Timestamp when the package was last updated.
    createdAt string
    Timestamp when the package was created.
    fileSha256Hash string
    SHA-256 hash of the uploaded file as computed and stored by the API. Used for upstream drift detection.
    id string
    The provider-assigned unique ID for this managed resource.
    updatedAt string
    Timestamp when the package was last updated.
    created_at str
    Timestamp when the package was created.
    file_sha256_hash str
    SHA-256 hash of the uploaded file as computed and stored by the API. Used for upstream drift detection.
    id str
    The provider-assigned unique ID for this managed resource.
    updated_at str
    Timestamp when the package was last updated.
    createdAt String
    Timestamp when the package was created.
    fileSha256Hash String
    SHA-256 hash of the uploaded file as computed and stored by the API. Used for upstream drift detection.
    id String
    The provider-assigned unique ID for this managed resource.
    updatedAt String
    Timestamp when the package was last updated.

    Look up Existing ConnectorSdkPackage Resource

    Get an existing ConnectorSdkPackage 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?: ConnectorSdkPackageState, opts?: CustomResourceOptions): ConnectorSdkPackage
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            created_at: Optional[str] = None,
            file_path: Optional[str] = None,
            file_sha256_hash: Optional[str] = None,
            updated_at: Optional[str] = None) -> ConnectorSdkPackage
    func GetConnectorSdkPackage(ctx *Context, name string, id IDInput, state *ConnectorSdkPackageState, opts ...ResourceOption) (*ConnectorSdkPackage, error)
    public static ConnectorSdkPackage Get(string name, Input<string> id, ConnectorSdkPackageState? state, CustomResourceOptions? opts = null)
    public static ConnectorSdkPackage get(String name, Output<String> id, ConnectorSdkPackageState state, CustomResourceOptions options)
    resources:  _:    type: fivetran:ConnectorSdkPackage    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.
    The following state arguments are supported:
    CreatedAt string
    Timestamp when the package was created.
    FilePath string
    Path to the .zip file to upload. File is read during plan (for change detection) and during apply (for upload).
    FileSha256Hash string
    SHA-256 hash of the uploaded file as computed and stored by the API. Used for upstream drift detection.
    UpdatedAt string
    Timestamp when the package was last updated.
    CreatedAt string
    Timestamp when the package was created.
    FilePath string
    Path to the .zip file to upload. File is read during plan (for change detection) and during apply (for upload).
    FileSha256Hash string
    SHA-256 hash of the uploaded file as computed and stored by the API. Used for upstream drift detection.
    UpdatedAt string
    Timestamp when the package was last updated.
    createdAt String
    Timestamp when the package was created.
    filePath String
    Path to the .zip file to upload. File is read during plan (for change detection) and during apply (for upload).
    fileSha256Hash String
    SHA-256 hash of the uploaded file as computed and stored by the API. Used for upstream drift detection.
    updatedAt String
    Timestamp when the package was last updated.
    createdAt string
    Timestamp when the package was created.
    filePath string
    Path to the .zip file to upload. File is read during plan (for change detection) and during apply (for upload).
    fileSha256Hash string
    SHA-256 hash of the uploaded file as computed and stored by the API. Used for upstream drift detection.
    updatedAt string
    Timestamp when the package was last updated.
    created_at str
    Timestamp when the package was created.
    file_path str
    Path to the .zip file to upload. File is read during plan (for change detection) and during apply (for upload).
    file_sha256_hash str
    SHA-256 hash of the uploaded file as computed and stored by the API. Used for upstream drift detection.
    updated_at str
    Timestamp when the package was last updated.
    createdAt String
    Timestamp when the package was created.
    filePath String
    Path to the .zip file to upload. File is read during plan (for change detection) and during apply (for upload).
    fileSha256Hash String
    SHA-256 hash of the uploaded file as computed and stored by the API. Used for upstream drift detection.
    updatedAt String
    Timestamp when the package was last updated.

    Import

    1. To import an existing fivetran_connector_sdk_package resource into your Terraform state, you need to get the package ID (a two-word identifier, e.g. distribute_panning) from the Fivetran UI or API.

    2. Define an empty resource in your .tf configuration:

    hcl

    resource “fivetran_connector_sdk_package” “my_imported_sdk_package” {

    }

    1. Run the pulumi import command:
    $ pulumi import fivetran:index/connectorSdkPackage:ConnectorSdkPackage my_imported_sdk_package {package_id}
    
    1. Use the terraform state show command to get the values from the state:

    terraform state show ‘fivetran_connector_sdk_package.my_imported_sdk_package’

    1. Copy the computed values and paste them into your .tf configuration. Then set file_path to the local path of the .zip file that was originally uploaded. The file_path attribute is not returned by the API, so it cannot be populated by import alone — you must supply it manually.

    -> NOTE: After import, the first pulumi preview may show a non-destructive in-place update for file_path. As long as the SHA-256 hash of the local file matches the imported file_sha256_hash, the subsequent apply will only reconcile state and will not re-upload the file.

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    fivetran fivetran/terraform-provider-fivetran
    License
    Notes
    This Pulumi package is based on the fivetran Terraform Provider.
    Viewing docs for fivetran 1.9.30
    published on Thursday, Apr 23, 2026 by fivetran
      Try Pulumi Cloud free. Your team will thank you.