nutcas3
d2e2007d68
feat: Add Terraform resources for subscriber and rating plan management with CRUD operations
...
- Add Subscriber struct with id, imsi, msisdn, first_name, last_name, email, organization_id, status, plan_id, balance, created_at, updated_at fields
- Add RatingPlan struct with plan_id, name, data_rate, voice_rate, sms_rate, monthly_fee, data_limit, voice_limit, sms_limit fields
- Add resourceSubscriber with schema defining required fields (imsi, msisdn, first_name, last_name, email, plan_id) and computed
2026-04-17 17:37:56 +03:00
nutcas3
b1878c715c
feat: Add Terraform data sources for subscriber and system stats with API integration
...
- Add SystemStats struct with active_sessions, total_accounts, blocked_users, low_balance_alerts, uptime fields
- Add dataSourceSubscriber with required id field and computed fields: imsi, msisdn, first_name, last_name, email, organization_id, status, plan_id, balance, created_at, updated_at
- Add dataSourceSubscriberRead to fetch subscriber data from /api/subscribers/{id} endpoint with error handling
- Add dataSourceSystemStats
2026-04-17 17:37:29 +03:00
nutcas3
8c8d71056f
feat: Add Terraform provider API client with HTTP methods and provider configuration
...
- Add APIClient struct with BaseURL, APIKey, and HTTPClient with 30s timeout
- Add providerConfigure to initialize client from schema with api_url and api_key
- Add doRequest helper with context support, JSON marshaling, Content-Type and Authorization headers
- Add get method accepting GET requests with 200 OK validation and JSON decoding
- Add post method accepting POST requests with 200/201 status validation and optional
2026-04-17 17:37:18 +03:00
nutcas3
a1331bb55e
feat: Add Terraform provider module with HashiCorp plugin SDK integration
...
- Add terraform/provider to workspace modules alongside api-server, carrier-connector, and cli
- Add go.mod for terraform-provider-telecom module with Go 1.26.1
- Add terraform-plugin-sdk/v2 v2.40.0 as primary dependency
- Add HashiCorp dependencies: go-cty v1.5.0, go-hclog v1.6.3, go-plugin v1.7.0, terraform-plugin-go v0.31.0, terraform-plugin-log v0.10.0
- Add HCL parsing with hcl/v2 v2.24.0 and configuration utilities
- Add Open
2026-04-17 17:36:13 +03:00