OpenTofu

Infrastructure integration · 3 node(s).

00Overview

Every field below is exactly what you see in the Flomation editor. Fields marked ● live picker let you choose from a list pulled live from your account — no IDs to look up.

01Connecting OpenTofu

Add your credentials as a Flomation environment secret, then pick them in each node. The connection fields are:

FieldTypeDetails
Backend AuthenticationstringNone / use credentials above, AWS (S3 / DynamoDB), Azure (azurerm), Google Cloud (gcs), GitLab (http)
AWS Access Key IDsecret
AWS Secret Access Keysecret
AWS Session Token (optional)secret
Azure Client IDsecret
Azure Client Secretsecret
Azure Tenant IDsecret
Azure Subscription IDsecret
Azure Storage Access Key (optional)secret
GCP Service Account JSONsecret
GitLab Tokensecret
Allow Local State (unsafe)booleanNo, Ye
i
Pick an Environment on your flow (Flow Settings → Environment) so the secret resolves. Secret fields never show the value — they reference ${secrets.your_secret}.

02Apply

OpenTofu Apply

opentofu/apply · Action

Apply an OpenTofu (Terraform-compatible) configuration, optionally pausing for human approval after showing the planned changes.

FieldTypeDetails
Working DirectorystringRequired/path/to/terraform/config
Require Approvalbooleanchoices: Yes, No
Variableskey_value_arrayExported as TF_VAR_<name>
Backend Configkey_value_arrayPassed to `tofu init -backend-config` (use a remote backend)
Environment Credentialskey_value_arrayExtra provider/backend env vars, e.g. AWS_ACCESS_KEY_ID → ${secrets.aws_key}
Backend Authenticationstringchoices: None / use credentials above, AWS (S3 / DynamoDB), Azure (azurerm), Google Cloud (gcs), GitLab (http)
AWS Access Key IDsecret
AWS Secret Access Keysecret
AWS Session Token (optional)secret
AWS Regionstringeu-west-2
Azure Client IDsecret
Azure Client Secretsecret
Azure Tenant IDsecret
Azure Subscription IDsecret
Azure Storage Access Key (optional)secret
GCP Service Account JSONsecret
GitLab Usernamestring
GitLab Tokensecret
GitLab State Addressstringhttps://gitlab.com/api/v4/projects/<id>/terraform/state/<name>
OpenTofu Versionstring1.9.1 (pinned default)
Binary Path (optional)stringUse a host-installed tofu instead of downloading
Allow Local State (unsafe)booleanchoices: No, Yes
Timeout (seconds)integer1800

Returns: tool_result, status, stdout, stderr, outputs_json, exit_code, success

03Destroy

OpenTofu Destroy

opentofu/destroy · Action

Destroy the resources managed by an OpenTofu (Terraform-compatible) configuration, optionally pausing for human approval first.

FieldTypeDetails
Working DirectorystringRequired/path/to/terraform/config
Require Approvalbooleanchoices: Yes, No
Variableskey_value_arrayExported as TF_VAR_<name>
Backend Configkey_value_arrayPassed to `tofu init -backend-config` (use a remote backend)
Environment Credentialskey_value_arrayExtra provider/backend env vars, e.g. AWS_ACCESS_KEY_ID → ${secrets.aws_key}
Backend Authenticationstringchoices: None / use credentials above, AWS (S3 / DynamoDB), Azure (azurerm), Google Cloud (gcs), GitLab (http)
AWS Access Key IDsecret
AWS Secret Access Keysecret
AWS Session Token (optional)secret
AWS Regionstringeu-west-2
Azure Client IDsecret
Azure Client Secretsecret
Azure Tenant IDsecret
Azure Subscription IDsecret
Azure Storage Access Key (optional)secret
GCP Service Account JSONsecret
GitLab Usernamestring
GitLab Tokensecret
GitLab State Addressstringhttps://gitlab.com/api/v4/projects/<id>/terraform/state/<name>
OpenTofu Versionstring1.9.1 (pinned default)
Binary Path (optional)stringUse a host-installed tofu instead of downloading
Allow Local State (unsafe)booleanchoices: No, Yes
Timeout (seconds)integer1800

Returns: tool_result, status, stdout, stderr, destroy, exit_code, success

04Plan

OpenTofu Plan

opentofu/plan · Action

Initialise a working directory and produce an OpenTofu (Terraform-compatible) plan, reporting the changes that would be applied.

FieldTypeDetails
Working DirectorystringRequired/path/to/terraform/config
Variableskey_value_arrayExported as TF_VAR_<name>
Backend Configkey_value_arrayPassed to `tofu init -backend-config` (use a remote backend)
Environment Credentialskey_value_arrayExtra provider/backend env vars, e.g. AWS_ACCESS_KEY_ID → ${secrets.aws_key}
Backend Authenticationstringchoices: None / use credentials above, AWS (S3 / DynamoDB), Azure (azurerm), Google Cloud (gcs), GitLab (http)
AWS Access Key IDsecret
AWS Secret Access Keysecret
AWS Session Token (optional)secret
AWS Regionstringeu-west-2
Azure Client IDsecret
Azure Client Secretsecret
Azure Tenant IDsecret
Azure Subscription IDsecret
Azure Storage Access Key (optional)secret
GCP Service Account JSONsecret
GitLab Usernamestring
GitLab Tokensecret
GitLab State Addressstringhttps://gitlab.com/api/v4/projects/<id>/terraform/state/<name>
OpenTofu Versionstring1.9.1 (pinned default)
Binary Path (optional)stringUse a host-installed tofu instead of downloading
Allow Local State (unsafe)booleanchoices: No, Yes
Timeout (seconds)integer600

Returns: tool_result, stdout, stderr, changes_present, add, change, destroy, exit_code, success

05Notes & Limitations

Behaviours and constraints worth knowing before you build with these nodes.