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
Use the
oci resource-manager stack update
command and required parameters to use custom providers with stacks.oci resource-manager stack update --custom-terraform-provider <json_input> [...]
For a complete list of parameters and values for CLI commands, see the Command Line Reference for Resource Manager.
Use the UpdateStack operation to update the custom providers used by a stack.
For an example of the
CustomTerraformProvider
part of the request, see CustomTerraformProvider.