Difference between revisions of "Cannot unmarshal XXXXX into Go struct field"

From wikieduonline
Jump to navigation Jump to search
Line 3: Line 3:
  
 
  [[Error: ECS Task Definition container_definitions is invalid: Error decoding JSON: json: cannot unmarshal number into Go struct field KeyValuePair.Environment.Value of type string]]
 
  [[Error: ECS Task Definition container_definitions is invalid: Error decoding JSON: json: cannot unmarshal number into Go struct field KeyValuePair.Environment.Value of type string]]
 +
 +
Solution: review if your [[variable definition]] needs to be changed from [[Terraform types|number]] to [[string]]
 +
 +
  
 
  [[Cannot unmarshal object into Go value of type]] jsonpatch.Patch
 
  [[Cannot unmarshal object into Go value of type]] jsonpatch.Patch

Revision as of 23:33, 2 March 2023

Advertising: