Skip to content

[FEATURE REQUEST]: Allow passing Timeout parameter to adc-nitro-go #1324

Description

@FrankNextCode

Description

We need to connect to many different instances ( and partitions ) resulting in many terraform provider instances.
During some periods these instances can be offline and this introduces a large delay when executing terraform because it tries to connect to each terraform provider and needs to wait for some default timeout (60s? )

It would be great if we could have a "timeout" setting on the provider that is passed to the actual Nitro go Client similar to the other connection parameters as this would allow us to set a low timeout value of e.g. 5s.

Affected Resource(s) and/or Data Source(s)

Provider itself

Equivalent NetScaler CLI Command

N/A

Potential Terraform Configuration

provider "citrixadc" {
    endpoint = "https://1.2.3.4"
    partition = "test"
    timeout = 5
}

References

https://github.com/netscaler/adc-nitro-go/blob/deb279797e5393e583a2d700cd61f431a01b0e49/service/client.go#L98

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions