Difference between revisions of "ECS Task Definition container definitions is invalid"

From wikieduonline
Jump to navigation Jump to search
(Created page with " │ Error: ECS Task Definition container_definitions is invalid: Error decoding JSON: json: cannot unmarshal number into Go struct field KeyValuePair.Enviro...")
 
 
(2 intermediate revisions by the same user not shown)
Line 2: Line 2:
  
  
│ 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]]
  
  
{{tf ecs}}
+
== See also ==
 +
* {{tf ecs}}
 +
* {{JSON}}
 +
 
 +
[[Category:Terraform]]

Latest revision as of 23:33, 2 March 2023


│ 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 number to string


See also[edit]

Advertising: