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

From wikieduonline
Jump to navigation Jump to search
 
(One intermediate revision by the same user not shown)
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]]
  
  
 
== See also ==
 
== See also ==
 
* {{tf ecs}}
 
* {{tf ecs}}
 +
* {{JSON}}
  
 
[[Category:Terraform]]
 
[[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: