Using Custom Providers with a Stack

Update a stack to fetch custom providers from Object Storage buckets.

  • Limit the bucket to files that are intended for use with Terraform.
  • If the stack was created before custom providers were available, then first update the stack to use Terraform Registry. This update enables the stack to use custom providers.

Before You Begin

Follow these steps to add a custom provider to a bucket.
  1. Set up the bucket for the custom provider. See Putting Data into Object Storage.
    • To store amd/x86 binaries, create a directory under the root of the bucket with the following name:

      linux_amd64

    • To store Arm binaries, create a directory under the root of the bucket with the following name:

      linux_arm64

  2. Confirm that the name of each custom provider binary file aligns with the following convention:

    terraform-provider-<TYPE>_v<MAJOR.MINOR.PATCH>

    With optional suffix (example: x5 or x4):

    terraform-provider-<TYPE>_v<MAJOR.MINOR.PATCH>_<OPTIONAL-SUFFIX>

  3. Upload the custom provider binary files to the bucket. See Putting Data into Object Storage.
    Limit the bucket to files that are intended for use with Terraform.