terraform-provider-proxmox
terraform-provider-proxmox copied to clipboard
CDKTF doesn't extract provider values
Describe the bug When using CDKTF (v.0.12.1) and configuring the provider, I cannot add a "virtual_environment {}" block. An error "Argument of type virtualEnvironment is not assignable to parameter of type 'ProxmoxProviderConfig'". CDKTF only recognizes the "alias" parameter. Without the parameter, deployment seems to fail on this:
│ Error: you must specify the virtual environment details in the provider configuration
│
│ with proxmox_virtual_environment_pool.resource-pool,
│ on cdk.tf.json line 37, in resource.proxmox_virtual_environment_pool.resource-pool:
│ 37: }
To Reproduce Steps to reproduce the behavior: In a cdktf project, create a proxmox resource and declare the provider:
// Setup provider
new ProxmoxProvider(this, 'proxmox', {});
run cdktf deploy
Expected behavior The provider should be generated correctly
Additional context None at this point
I'm re-tagging this issue as "enhancement", as CDKTF was not initially supported by the original provider.
Marking this issue as stale due to inactivity in the past 180 days. This helps us focus on the active issues. If this issue is reproducible with the latest version of the provider, please comment. If this issue receives no comments in the next 30 days it will automatically be closed. If this issue was automatically closed and you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. Thank you!