Difference between revisions of "ECS Task Definition container definitions is invalid"
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]] | ||
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]
- Terraform ECS: module, resources:
aws_ecs_cluster, aws_ecs_service: task definition, aws_ecs_task_definition: container_definitions
- JSON,
jq, jid, mlr
, JWT, BSON, Miller, Content-type:,application/json
,BadJSON
, Webhook, jsonc, ndjson,import json
, Google Custom Search JSON API,jsonpath
, JSON-LD, JSON tree, JSON-RPC
Advertising: