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.
When you update a stack, you can also update its tags. For more information about tagging, see Resource Tags. To update a stack's tags using the Console, get its details and then select Tags.
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.