Skip to content

Commit acd828c

Browse files
committed
Update automation_management_providers.md
1 parent 73f13cf commit acd828c

File tree

1 file changed

+17
-3
lines changed

1 file changed

+17
-3
lines changed

managing_providers/_topics/automation_management_providers.md

Lines changed: 17 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -370,15 +370,29 @@ The service item’s details can be viewed in menu: **Services > My Services** i
370370

371371
OpenTofu is an open source infrastructure as code tool, which can be used to build, change, and version the infrastructure. You can use OpenTofu to define infrastructure resources in human-readable configuration files that you can use to version, reuse, and share.
372372

373-
OpenTofu is built into {{ site.data.product.title_short }} so you do not need to install any additional components. The basic workflow to use OpenTofu in {{ site.data.product.title_short }} is as follows:
373+
OpenTofu is built into {{ site.data.product.title_short }} so you do not need to install any additional components.
374+
375+
If you want to use the Embedded Terraform feature in {{ site.data.product.title_short }} that is deployed as a virtual machine appliance, then you need to manually import the Terraform image on an appliance:
376+
377+
## Importing OpenTofu image on an appliance
378+
379+
**Note**: Follow this section if you have {{ site.data.product.title_short }} that is deployed as a virtual machine appliance. These steps are not applicable to {{ site.data.product.title_short }} that is deployed as a containerized deployment (podified).
380+
381+
Use the following command to import the OpenTofu image on your appliance server.
382+
383+
``` bash
384+
runuser --login manageiq --command 'podman --root=/var/www/miq/vmdb/data/containers/storage image load --input /tmp/<OpenTofu_image>'
385+
```
386+
387+
Where `OpenTofu_image` is the name of your OpenTofu image.
388+
389+
The following sections show the usage of Embedded Terraform in {{ site.data.product.title_short }}. The following sections apply to {{ site.data.product.title_short }} that is deployed as a containerized deployment (podified) and {{ site.data.product.title_short }} that is deployed as a virtual machine appliance:
374390

375391
1. Enable the Embedded Terraform server role.
376392
2. Add a source control repository that contains your templates.
377393
3. Add credentials for your cloud providers.
378394
4. Create a Service Catalog item with the wanted Terraform template.
379395

380-
Use the following sections to learn more about OpenTofu and how to use these described workflows within {{ site.data.product.title_short }}.
381-
382396
### Enabling the Embedded Terraform Server Role
383397

384398
In {{ site.data.product.title_short }}, the Embedded Terraform server role is disabled by default. Enable this server role to use Terraform Automation Inside.

0 commit comments

Comments
 (0)