You can update the Flexera Terraform provider to get the latest features and fixes for managing your Ocean and Elastigroup resources. You can either download the latest provider binary or let Terraform update the provider for you.
Understand the available Terraform providers
Flexera maintains two Terraform provider options, both fully supported:
-
Official provider from HashiCorp – downloaded automatically by Terraform from the public registry.
-
Flexera provider build (terraform-provider-spotinst) – published on the Flexera releases and installation pages so you can access new features before they appear in the HashiCorp registry.
The Flexera build lets you adopt new provider capabilities sooner, while the HashiCorp version provides the standard registry workflow.
Install Terraform
-
Download and install the Terraform binary that matches your environment.
-
Confirm installation by running the command terraform version.
Configure the Flexera provider in Terraform
-
Create or open a Terraform configuration file (for example, main.tf or template.tf).
-
Add the Flexera provider configuration block. For example:
provider "spotinst" { token = var.spotinst_token account = var.spotinst_account } `` -
Save the file.
Install the official provider from HashiCorp
-
In your working directory, run terraform init.
-
Terraform downloads the official Flexera provider and places it under a path similar to:
-
.terraform/plugins/<platform>/terraform-provider-spotinst_v1.x.x
-
If terraform init fails or you want to use the latest Flexera build before it appears in the HashiCorp registry, follow the manual installation steps below.
Download the latest Flexera provider build (optional)
-
Download the latest terraform-provider-spotinst binary for your platform.
-
Note the download path; you’ll reference it in the plugin configuration.
Manually install the provider plugin
Use these steps if you want to point Terraform to a specific Flexera provider binary.
On Windows
-
Create a file named terraform.rc in the terraform.d/plugins folder under your %APPDATA% directory:
-
Path: %APPDATA%\terraform.d\plugins\terraform.rc
-
-
Edit terraform.rc and add content similar to:
providers { spotinst = "C:/path/to/terraform-provider-spotinst" }
On macOS or Linux
-
Create a file named .terraformrc in your home directory:
-
Path: ~/.terraformrc
-
-
Edit .terraformrc and add content similar to the following, replacing /path/to/terraform-provider-spotinst with the actual path to the provider binary.
providers { spotinst = "/path/to/terraform-provider-spotinst" }
When you run terraform init, Terraform reads these files and loads the provider from the specified path.
Update the provider from Terraform
To update the provider to the latest compatible version in your configuration:
-
In your Terraform working directory, run:
terraform init -upgrade -
Terraform downloads newer provider versions that match your version constraints and replaces the existing provider plugins.
-
Review the output to confirm the Flexera provider was upgraded.
After you complete these steps and run terraform init -upgrade, your environment uses the latest Flexera Terraform provider build available for your configuration. This gives you access to the most recent resources, arguments, and features for managing Ocean, Elastigroup, and related integrations.
Related Articles
Intune adapter may fail in Reader 'Get Intune Users' with error: "CsvHelper assembly not found. Please upgrade the Beacon … 16Number of Views Unable to update the SVM on-premise Virtual Appliance to latest version 9Number of Views Upgrade to the Latest Version of InstallShield or InstallAnywhere 5Number of Views Upgrade to the Latest Version of InstallShield or InstallAnywhere 3Number of Views Latest version and latest approved version rules for Beacon upgrade can conflict causing a failure of upgrade 4Number of Views
Hi, I am Reva - Ask me anything.
No new updates
Thanks for the feedback!
Your feedback has been saved.Rate this response:
Add Additional feedback ( Optional )
Are you sure you want to cancel
the case creation?
Are you sure you want to cancel the case creation?
Are you sure you want to close this case
| Products | Region | Phone Numbers |
|---|---|---|
| FlexNet Operations FlexNet Embedded FlexNet Publisher FlexNet Connect FlexNet Code Insight InstallAnywhere InstallShield |
North America * |
+1 630-332-2513 (toll) +1 877-279-2853 (toll-free in North America) |
| Europe * |
+44 1925 944367 (toll) +44 800 047 8642 (toll-free in Europe) |
|
| Japan * | +81 3-4540-5335 (select option 2) | |
| Australia * |
+61 3 9895 2177 +61 1800 560 603 (toll-free in Australia) |
|
|
Usage Intelligence (formerly
Revulytics) Compliance Intelligence |
Please use the Case Portal to submit your support ticket or reach out to your Revenera contact. | |
Revenera Assistant
Case id: 00001065
Activity: Status change: 2 hours ago