diff --git a/elsaticache_instance_data.go b/elsaticache_instance_data.go index 272cad2..355cc72 100644 --- a/elsaticache_instance_data.go +++ b/elsaticache_instance_data.go @@ -41,8 +41,8 @@ type ElastiCacheInstance struct { InstanceType string `json:"instanceType"` CurrentGeneration string `json:"currentGeneration"` InstanceFamily string `json:"instanceFamily"` - Vcpu string `json:"vcpu"` - Memory string `json:"memory"` + Vcpu int32 `json:"vcpu,string"` + Memory float64 `json:"memory,string"` NetworkPerformance string `json:"networkPerformance"` CacheEngine string `json:"cacheEngine"` RegionCode string `json:"regionCode"` diff --git a/opensearch_instance_data.go b/opensearch_instance_data.go index 91a66b9..5fbb96e 100644 --- a/opensearch_instance_data.go +++ b/opensearch_instance_data.go @@ -28,8 +28,8 @@ type OpenSearchInstance struct { InstanceType string `json:"instanceType"` CurrentGeneration string `json:"currentGeneration"` InstanceFamily string `json:"instanceFamily"` - Vcpu string `json:"vcpu"` - MemoryGib string `json:"memoryGib"` + Vcpu int32 `json:"vcpu,string"` + MemoryGib float64 `json:"memoryGib,string"` RegionCode string `json:"regionCode"` Servicename string `json:"servicename"` Family string `json:"family"`