質問編集履歴

1

空欄が残っていたので一つ削除しましたがまだエラーが発生してしまいます

2021/11/02 08:10

投稿

urabele
urabele

スコア15

test CHANGED
File without changes
test CHANGED
@@ -16,25 +16,27 @@
16
16
 
17
17
 
18
18
 
19
- The configuration file .ebextensions/db-migrate.config in application version app-211102_165258 contains invalid YAML or JSON. YAML exception: Invalid Yaml: while parsing a block mapping
19
+ ERROR The configuration file .ebextensions/db-migrate.config in application version app-211102_170724 contains invalid YAML or JSON. YAML exception: Invalid Yaml: while parsing a block mapping
20
20
 
21
21
  in "<reader>", line 7, column 5:
22
22
 
23
- command: 'echo \'from django.con ...
23
+ command: 'echo\'from django.cont ...
24
24
 
25
25
  ^
26
26
 
27
27
  expected <block end>, but found Scalar
28
28
 
29
- in "<reader>", line 7, column 22:
29
+ in "<reader>", line 7, column 21:
30
30
 
31
- command: 'echo \'from django.contrib.auth.models ...
31
+ command: 'echo\'from django.contrib.auth.models ...
32
32
 
33
- ^
33
+ ^
34
34
 
35
35
  , JSON exception: Invalid JSON: Unexpected character (c) at position 1.. Update the configuration file.
36
36
 
37
- 2021-11-02 07:53:12 ERROR Failed to deploy application.
37
+ 2021-11-02 08:07:45 ERROR Failed to deploy application.
38
+
39
+
38
40
 
39
41
  ```
40
42
 
@@ -60,7 +62,7 @@
60
62
 
61
63
  02_createsuperuser:
62
64
 
63
- command: 'echo \'from django.contrib.auth.models import User; User.objects.create_superuser('itsuki', 'itsuki.urabe@gmail.com', 'Itsuki01')\" | python manage.py shell
65
+ command: 'echo\'from django.contrib.auth.models import User; User.objects.create_superuser('itsuki', 'itsuki.urabe@gmail.com', 'Itsuki01')\" | python manage.py shell
64
66
 
65
67
  leader_only: true
66
68
 
@@ -69,6 +71,8 @@
69
71
  aws:elasticbeanstalk:application:environment:
70
72
 
71
73
  DJANGO_SETTINGS_MODULE: portfolio.settings
74
+
75
+ ~
72
76
 
73
77
  ```
74
78