Open
Description
Describe the bug
source_raw property
of proxmox_virtual_environment_file
resource does not work. By 'does not work' I mean I'm not able to get it to work in any kind of way at all.
How to reproduce
resource "proxmox_virtual_environment_file" "test_snippet" {
node_name = var.pve_node_name
datastore_id = "local"
content_type = "snippets"
source_raw {
data = "test"
file_name = "test.txt"
}
}
and the output of terraform|tofu apply
.
When applying changes to proxmox_virtual_environment_file.test_snippet, provider "provider[\"registry.opentofu.org/bpg/proxmox\"]" produced an unexpected new value: Root object was present, but now absent.
Expected behavior
Snippet created with the content provided via source_raw
.
Additional context
Add any other context about the problem here.
- Single or clustered Proxmox: single
- Proxmox version: 8.3.4
- Provider version (ideally it should be the latest version): 0.73
- Terraform/OpenTofu version: OpenTofu v1.9.0
- OS (where you run Terraform/OpenTofu from): macOS 15.3.1
- Debug logs (
TF_LOG=DEBUG terraform apply
): see relevant part below
2025-02-27T23:52:37.613+0900 [WARN] Provider "provider[\"registry.opentofu.org/bpg/proxmox\"]" produced an invalid plan for proxmox_virtual_environment_file.test_snippet, but we are tolerating it because it is using the legacy plugin SDK.
The following problems may be the cause of any confusing errors from downstream operations:
- .overwrite: planned value cty.True for a non-computed attribute
- .timeout_upload: planned value cty.NumberIntVal(1800) for a non-computed attribute
- .source_raw[0].resize: planned value cty.NumberIntVal(0) for a non-computed attribute
Metadata
Metadata
Assignees
Labels
Projects
Status
⏳ On-Hold