Cloud Provider Limitations
Cloud Provider Limitations
We've listed the known limitations related to specific cloud providers when working with StackGen. These limitations stem from the underlying cloud providers and are not resolvable within StackGen itself.
- data.archive_file: File Deleted When Path Not Found
- aws_mq_broker: Password Field Cannot Be Retrieved
AWS
data.archive_file: File Deleted When Path Not Found
Click to view
Summary: Terraform may attempt to delete the data.archive_file resource if the file path is not valid after code generation.
Cause: When the IaC is downloaded, the file path specified in the data.archive_file block may no longer point to a valid file in the local environment. Terraform detects this as a missing file and flags it for deletion during plan.
Workaround: After downloading the generated IaC, update the filename path in the data.archive_file block to point to a valid local file. This ensures Terraform recognizes the resource correctly and avoids deletion.
aws_mq_broker: Password Field Cannot Be Retrieved
Click to view
Summary: Terraform plan will fail because AWS does not return the password field for aws_mq_broker.
Cause: AWS security constraints prevent the retrieval of passwords for existing managed message brokers. When StackGen attempts to infer the state or run a plan, the missing password field triggers an error.
Workaround: Manually re-enter the password in your Terraform configuration if you need to re-create or update the resource. The password cannot be recovered from AWS once the broker is created.
OCI
Early Access: Custom Modules and CLI Plan and Apply
Click to view
Summary: Oracle Cloud Infrastructure (OCI) is available as a cloud provider. There are no built-in OCI modules. Plan and apply for OCI use the CLI.
Cause: Built-in modules and full UI Plan/Deploy for OCI are not ready yet. OpenTofu support for the OCI provider is limited, so StackGen uses the CLI with custom modules.
Workaround: Use custom OCI modules and run plan and apply with the StackGen CLI. See OCI provider early access, OCI and generic cloud framework (v2026.6.12), and IaC from Design.