Difference between revisions of "ECS Task Definition container definitions is invalid"
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]
- 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: