published on Thursday, Apr 23, 2026 by fivetran
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:
- File
Path string - Path to the .zip file to upload. File is read during plan (for change detection) and during apply (for upload).
- File
Path string - Path to the .zip file to upload. File is read during plan (for change detection) and during apply (for upload).
- file
Path String - Path to the .zip file to upload. File is read during plan (for change detection) and during apply (for upload).
- file
Path 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).
- file
Path 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:
- Created
At string - Timestamp when the package was created.
- File
Sha256Hash 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.
- Updated
At string - Timestamp when the package was last updated.
- Created
At string - Timestamp when the package was created.
- File
Sha256Hash 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.
- Updated
At string - Timestamp when the package was last updated.
- created
At String - Timestamp when the package was created.
- file
Sha256Hash 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.
- updated
At String - Timestamp when the package was last updated.
- created
At string - Timestamp when the package was created.
- file
Sha256Hash 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.
- updated
At string - Timestamp when the package was last updated.
- created_
at str - Timestamp when the package was created.
- file_
sha256_ strhash - 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.
- created
At String - Timestamp when the package was created.
- file
Sha256Hash 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.
- updated
At 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) -> ConnectorSdkPackagefunc 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.
- Created
At string - Timestamp when the package was created.
- File
Path string - Path to the .zip file to upload. File is read during plan (for change detection) and during apply (for upload).
- File
Sha256Hash string - SHA-256 hash of the uploaded file as computed and stored by the API. Used for upstream drift detection.
- Updated
At string - Timestamp when the package was last updated.
- Created
At string - Timestamp when the package was created.
- File
Path string - Path to the .zip file to upload. File is read during plan (for change detection) and during apply (for upload).
- File
Sha256Hash string - SHA-256 hash of the uploaded file as computed and stored by the API. Used for upstream drift detection.
- Updated
At string - Timestamp when the package was last updated.
- created
At String - Timestamp when the package was created.
- file
Path String - Path to the .zip file to upload. File is read during plan (for change detection) and during apply (for upload).
- file
Sha256Hash String - SHA-256 hash of the uploaded file as computed and stored by the API. Used for upstream drift detection.
- updated
At String - Timestamp when the package was last updated.
- created
At string - Timestamp when the package was created.
- file
Path string - Path to the .zip file to upload. File is read during plan (for change detection) and during apply (for upload).
- file
Sha256Hash string - SHA-256 hash of the uploaded file as computed and stored by the API. Used for upstream drift detection.
- updated
At 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_ strhash - 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.
- created
At String - Timestamp when the package was created.
- file
Path String - Path to the .zip file to upload. File is read during plan (for change detection) and during apply (for upload).
- file
Sha256Hash String - SHA-256 hash of the uploaded file as computed and stored by the API. Used for upstream drift detection.
- updated
At String - Timestamp when the package was last updated.
Import
To import an existing
fivetran_connector_sdk_packageresource 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.Define an empty resource in your
.tfconfiguration:
hcl
resource “fivetran_connector_sdk_package” “my_imported_sdk_package” {
}
- Run the
pulumi importcommand:
$ pulumi import fivetran:index/connectorSdkPackage:ConnectorSdkPackage my_imported_sdk_package {package_id}
- Use the
terraform state showcommand to get the values from the state:
terraform state show ‘fivetran_connector_sdk_package.my_imported_sdk_package’
- Copy the computed values and paste them into your
.tfconfiguration. Then setfile_pathto the local path of the.zipfile that was originally uploaded. Thefile_pathattribute 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
fivetranTerraform Provider.
published on Thursday, Apr 23, 2026 by fivetran
