- Added DEV_STAND/FullPipe with modular configuration for vc_vdc resource creation:
- versions.tf: Terraform >= 1.5.0, provider nubes 2.0.1
- provider.tf: nubes provider config with DEV gateway endpoint
- variables.tf: variables for vdc (cpu=8, mem=32, guaranteed=0, fast storage=200GB)
- vdc.tf: nubes_vc_vdc resource definition supporting org name or UUID
- outputs.tf: vdc_id, vdc_name, vdc_state_params
- terraform.tfvars.example: example values without secrets
- Added docs/DEBUG_REPORT_VC_VDC_500.md documenting API 500 issue in Lucee backend:
- Error: getResourceRealmConfig fails casting Struct to string on GET /instanceOperations/{opUid}?fields=cfsParams
- Planned changes in provider/internal/core/client.go:
Implement graceful fallback in createInstanceWithContext to skip hard-failing
when GET ?fields=cfsParams returns 500, since vc_vdc ref parameters (organization_uid)
are already resolved to UUID and remaining parameters are literals/numbers.
14 lines
354 B
Plaintext
14 lines
354 B
Plaintext
api_token = "ВАШ_ТОКЕН_ИЗ_ЛК"
|
|
|
|
# Имя или UUID организации:
|
|
organization = "kontora"
|
|
|
|
vdc_resource_name = "fullpipe-vdc"
|
|
vdc_network_provider = "default"
|
|
vdc_provider_vdc = "fast-2.8"
|
|
vdc_cpu_allocated = 8
|
|
vdc_cpu_guaranteed = 0
|
|
vdc_mem_allocated = 32
|
|
|
|
vdc_storage_config = "[{\"name\":\"fast\",\"size\":200}]"
|