Import
Connection configurations can be imported using the connection ID:
$ pulumi import fivetran:index/connectionConfig:ConnectionConfig example connection_id_here
Create ConnectionConfig Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new ConnectionConfig(name: string, args: ConnectionConfigArgs, opts?: CustomResourceOptions);@overload
def ConnectionConfig(resource_name: str,
args: ConnectionConfigArgs,
opts: Optional[ResourceOptions] = None)
@overload
def ConnectionConfig(resource_name: str,
opts: Optional[ResourceOptions] = None,
connection_id: Optional[str] = None,
auth: Optional[str] = None,
config: Optional[str] = None,
run_setup_tests: Optional[bool] = None,
trust_certificates: Optional[bool] = None,
trust_fingerprints: Optional[bool] = None)func NewConnectionConfig(ctx *Context, name string, args ConnectionConfigArgs, opts ...ResourceOption) (*ConnectionConfig, error)public ConnectionConfig(string name, ConnectionConfigArgs args, CustomResourceOptions? opts = null)
public ConnectionConfig(String name, ConnectionConfigArgs args)
public ConnectionConfig(String name, ConnectionConfigArgs args, CustomResourceOptions options)
type: fivetran:ConnectionConfig
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 ConnectionConfigArgs
- 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 ConnectionConfigArgs
- 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 ConnectionConfigArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ConnectionConfigArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ConnectionConfigArgs
- 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 connectionConfigResource = new Fivetran.ConnectionConfig("connectionConfigResource", new()
{
ConnectionId = "string",
Auth = "string",
Config = "string",
RunSetupTests = false,
TrustCertificates = false,
TrustFingerprints = false,
});
example, err := fivetran.NewConnectionConfig(ctx, "connectionConfigResource", &fivetran.ConnectionConfigArgs{
ConnectionId: pulumi.String("string"),
Auth: pulumi.String("string"),
Config: pulumi.String("string"),
RunSetupTests: pulumi.Bool(false),
TrustCertificates: pulumi.Bool(false),
TrustFingerprints: pulumi.Bool(false),
})
var connectionConfigResource = new ConnectionConfig("connectionConfigResource", ConnectionConfigArgs.builder()
.connectionId("string")
.auth("string")
.config("string")
.runSetupTests(false)
.trustCertificates(false)
.trustFingerprints(false)
.build());
connection_config_resource = fivetran.ConnectionConfig("connectionConfigResource",
connection_id="string",
auth="string",
config="string",
run_setup_tests=False,
trust_certificates=False,
trust_fingerprints=False)
const connectionConfigResource = new fivetran.ConnectionConfig("connectionConfigResource", {
connectionId: "string",
auth: "string",
config: "string",
runSetupTests: false,
trustCertificates: false,
trustFingerprints: false,
});
type: fivetran:ConnectionConfig
properties:
auth: string
config: string
connectionId: string
runSetupTests: false
trustCertificates: false
trustFingerprints: false
ConnectionConfig 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 ConnectionConfig resource accepts the following input properties:
- Connection
Id string - The unique identifier for the connection.
- Auth string
- Authentication configuration as a JSON-encoded string. This field uses semantic JSON equality. Typically contains credentials like username, password, API keys, or role ARNs.
- Config string
- Connection configuration as a JSON-encoded string. This field uses semantic JSON equality, so whitespace and key order differences won't trigger updates.
- Run
Setup boolTests - Whether to run setup tests when applying configuration. Default:
false. Whentrue, Fivetran validates the configuration by testing the connection. Note: This is a plan-only attribute and will not be stored in state. - Trust
Certificates bool - Whether to automatically trust SSL certificates. Default:
false. Note: This is a plan-only attribute. - Trust
Fingerprints bool - Whether to automatically trust SSH fingerprints. Default:
false. Note: This is a plan-only attribute.
- Connection
Id string - The unique identifier for the connection.
- Auth string
- Authentication configuration as a JSON-encoded string. This field uses semantic JSON equality. Typically contains credentials like username, password, API keys, or role ARNs.
- Config string
- Connection configuration as a JSON-encoded string. This field uses semantic JSON equality, so whitespace and key order differences won't trigger updates.
- Run
Setup boolTests - Whether to run setup tests when applying configuration. Default:
false. Whentrue, Fivetran validates the configuration by testing the connection. Note: This is a plan-only attribute and will not be stored in state. - Trust
Certificates bool - Whether to automatically trust SSL certificates. Default:
false. Note: This is a plan-only attribute. - Trust
Fingerprints bool - Whether to automatically trust SSH fingerprints. Default:
false. Note: This is a plan-only attribute.
- connection
Id String - The unique identifier for the connection.
- auth String
- Authentication configuration as a JSON-encoded string. This field uses semantic JSON equality. Typically contains credentials like username, password, API keys, or role ARNs.
- config String
- Connection configuration as a JSON-encoded string. This field uses semantic JSON equality, so whitespace and key order differences won't trigger updates.
- run
Setup BooleanTests - Whether to run setup tests when applying configuration. Default:
false. Whentrue, Fivetran validates the configuration by testing the connection. Note: This is a plan-only attribute and will not be stored in state. - trust
Certificates Boolean - Whether to automatically trust SSL certificates. Default:
false. Note: This is a plan-only attribute. - trust
Fingerprints Boolean - Whether to automatically trust SSH fingerprints. Default:
false. Note: This is a plan-only attribute.
- connection
Id string - The unique identifier for the connection.
- auth string
- Authentication configuration as a JSON-encoded string. This field uses semantic JSON equality. Typically contains credentials like username, password, API keys, or role ARNs.
- config string
- Connection configuration as a JSON-encoded string. This field uses semantic JSON equality, so whitespace and key order differences won't trigger updates.
- run
Setup booleanTests - Whether to run setup tests when applying configuration. Default:
false. Whentrue, Fivetran validates the configuration by testing the connection. Note: This is a plan-only attribute and will not be stored in state. - trust
Certificates boolean - Whether to automatically trust SSL certificates. Default:
false. Note: This is a plan-only attribute. - trust
Fingerprints boolean - Whether to automatically trust SSH fingerprints. Default:
false. Note: This is a plan-only attribute.
- connection_
id str - The unique identifier for the connection.
- auth str
- Authentication configuration as a JSON-encoded string. This field uses semantic JSON equality. Typically contains credentials like username, password, API keys, or role ARNs.
- config str
- Connection configuration as a JSON-encoded string. This field uses semantic JSON equality, so whitespace and key order differences won't trigger updates.
- run_
setup_ booltests - Whether to run setup tests when applying configuration. Default:
false. Whentrue, Fivetran validates the configuration by testing the connection. Note: This is a plan-only attribute and will not be stored in state. - trust_
certificates bool - Whether to automatically trust SSL certificates. Default:
false. Note: This is a plan-only attribute. - trust_
fingerprints bool - Whether to automatically trust SSH fingerprints. Default:
false. Note: This is a plan-only attribute.
- connection
Id String - The unique identifier for the connection.
- auth String
- Authentication configuration as a JSON-encoded string. This field uses semantic JSON equality. Typically contains credentials like username, password, API keys, or role ARNs.
- config String
- Connection configuration as a JSON-encoded string. This field uses semantic JSON equality, so whitespace and key order differences won't trigger updates.
- run
Setup BooleanTests - Whether to run setup tests when applying configuration. Default:
false. Whentrue, Fivetran validates the configuration by testing the connection. Note: This is a plan-only attribute and will not be stored in state. - trust
Certificates Boolean - Whether to automatically trust SSL certificates. Default:
false. Note: This is a plan-only attribute. - trust
Fingerprints Boolean - Whether to automatically trust SSH fingerprints. Default:
false. Note: This is a plan-only attribute.
Outputs
All input properties are implicitly available as output properties. Additionally, the ConnectionConfig resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id str
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
Look up Existing ConnectionConfig Resource
Get an existing ConnectionConfig 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?: ConnectionConfigState, opts?: CustomResourceOptions): ConnectionConfig@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
auth: Optional[str] = None,
config: Optional[str] = None,
connection_id: Optional[str] = None,
run_setup_tests: Optional[bool] = None,
trust_certificates: Optional[bool] = None,
trust_fingerprints: Optional[bool] = None) -> ConnectionConfigfunc GetConnectionConfig(ctx *Context, name string, id IDInput, state *ConnectionConfigState, opts ...ResourceOption) (*ConnectionConfig, error)public static ConnectionConfig Get(string name, Input<string> id, ConnectionConfigState? state, CustomResourceOptions? opts = null)public static ConnectionConfig get(String name, Output<String> id, ConnectionConfigState state, CustomResourceOptions options)resources: _: type: fivetran:ConnectionConfig 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.
- Auth string
- Authentication configuration as a JSON-encoded string. This field uses semantic JSON equality. Typically contains credentials like username, password, API keys, or role ARNs.
- Config string
- Connection configuration as a JSON-encoded string. This field uses semantic JSON equality, so whitespace and key order differences won't trigger updates.
- Connection
Id string - The unique identifier for the connection.
- Run
Setup boolTests - Whether to run setup tests when applying configuration. Default:
false. Whentrue, Fivetran validates the configuration by testing the connection. Note: This is a plan-only attribute and will not be stored in state. - Trust
Certificates bool - Whether to automatically trust SSL certificates. Default:
false. Note: This is a plan-only attribute. - Trust
Fingerprints bool - Whether to automatically trust SSH fingerprints. Default:
false. Note: This is a plan-only attribute.
- Auth string
- Authentication configuration as a JSON-encoded string. This field uses semantic JSON equality. Typically contains credentials like username, password, API keys, or role ARNs.
- Config string
- Connection configuration as a JSON-encoded string. This field uses semantic JSON equality, so whitespace and key order differences won't trigger updates.
- Connection
Id string - The unique identifier for the connection.
- Run
Setup boolTests - Whether to run setup tests when applying configuration. Default:
false. Whentrue, Fivetran validates the configuration by testing the connection. Note: This is a plan-only attribute and will not be stored in state. - Trust
Certificates bool - Whether to automatically trust SSL certificates. Default:
false. Note: This is a plan-only attribute. - Trust
Fingerprints bool - Whether to automatically trust SSH fingerprints. Default:
false. Note: This is a plan-only attribute.
- auth String
- Authentication configuration as a JSON-encoded string. This field uses semantic JSON equality. Typically contains credentials like username, password, API keys, or role ARNs.
- config String
- Connection configuration as a JSON-encoded string. This field uses semantic JSON equality, so whitespace and key order differences won't trigger updates.
- connection
Id String - The unique identifier for the connection.
- run
Setup BooleanTests - Whether to run setup tests when applying configuration. Default:
false. Whentrue, Fivetran validates the configuration by testing the connection. Note: This is a plan-only attribute and will not be stored in state. - trust
Certificates Boolean - Whether to automatically trust SSL certificates. Default:
false. Note: This is a plan-only attribute. - trust
Fingerprints Boolean - Whether to automatically trust SSH fingerprints. Default:
false. Note: This is a plan-only attribute.
- auth string
- Authentication configuration as a JSON-encoded string. This field uses semantic JSON equality. Typically contains credentials like username, password, API keys, or role ARNs.
- config string
- Connection configuration as a JSON-encoded string. This field uses semantic JSON equality, so whitespace and key order differences won't trigger updates.
- connection
Id string - The unique identifier for the connection.
- run
Setup booleanTests - Whether to run setup tests when applying configuration. Default:
false. Whentrue, Fivetran validates the configuration by testing the connection. Note: This is a plan-only attribute and will not be stored in state. - trust
Certificates boolean - Whether to automatically trust SSL certificates. Default:
false. Note: This is a plan-only attribute. - trust
Fingerprints boolean - Whether to automatically trust SSH fingerprints. Default:
false. Note: This is a plan-only attribute.
- auth str
- Authentication configuration as a JSON-encoded string. This field uses semantic JSON equality. Typically contains credentials like username, password, API keys, or role ARNs.
- config str
- Connection configuration as a JSON-encoded string. This field uses semantic JSON equality, so whitespace and key order differences won't trigger updates.
- connection_
id str - The unique identifier for the connection.
- run_
setup_ booltests - Whether to run setup tests when applying configuration. Default:
false. Whentrue, Fivetran validates the configuration by testing the connection. Note: This is a plan-only attribute and will not be stored in state. - trust_
certificates bool - Whether to automatically trust SSL certificates. Default:
false. Note: This is a plan-only attribute. - trust_
fingerprints bool - Whether to automatically trust SSH fingerprints. Default:
false. Note: This is a plan-only attribute.
- auth String
- Authentication configuration as a JSON-encoded string. This field uses semantic JSON equality. Typically contains credentials like username, password, API keys, or role ARNs.
- config String
- Connection configuration as a JSON-encoded string. This field uses semantic JSON equality, so whitespace and key order differences won't trigger updates.
- connection
Id String - The unique identifier for the connection.
- run
Setup BooleanTests - Whether to run setup tests when applying configuration. Default:
false. Whentrue, Fivetran validates the configuration by testing the connection. Note: This is a plan-only attribute and will not be stored in state. - trust
Certificates Boolean - Whether to automatically trust SSL certificates. Default:
false. Note: This is a plan-only attribute. - trust
Fingerprints Boolean - Whether to automatically trust SSH fingerprints. Default:
false. Note: This is a plan-only attribute.
Package Details
- Repository
- fivetran fivetran/terraform-provider-fivetran
- License
- Notes
- This Pulumi package is based on the
fivetranTerraform Provider.
