Difference between revisions of "Help:Mapping values are not allowed in this context"

From wikieduonline
Jump to navigation Jump to search
 
(One intermediate revision by the same user not shown)
Line 5: Line 5:
 
  [[cfn-lint]] [[file_with_your_stack.yml]]
 
  [[cfn-lint]] [[file_with_your_stack.yml]]
  
  [[kubectl apply]]
+
  [[kubectl apply]] -f [[ingress.yaml]]
  error: error parsing yourfile: error converting YAML to JSON: yaml: line 11:  
+
  [[error: error parsing yourfile: error converting YAML to JSON]]: yaml: line 11:  
 
  mapping values are not allowed in this context
 
  mapping values are not allowed in this context
 +
 +
Solution: review your service name is locate in the proper position
  
  
 
  [[ansible-lint]]
 
  [[ansible-lint]]

Latest revision as of 12:19, 6 February 2024



cfn-lint file_with_your_stack.yml
kubectl apply -f ingress.yaml
error: error parsing yourfile: error converting YAML to JSON: yaml: line 11: 
mapping values are not allowed in this context

Solution: review your service name is locate in the proper position


ansible-lint

Advertising: