{"id":5455,"date":"2022-05-01T16:15:54","date_gmt":"2022-05-01T07:15:54","guid":{"rendered":"https:\/\/akamist.com\/blog\/?p=5455"},"modified":"2022-05-01T19:19:44","modified_gmt":"2022-05-01T10:19:44","slug":"5455","status":"publish","type":"post","link":"https:\/\/akamist.com\/blog\/archives\/5455","title":{"rendered":"AWS: amplify push\u3057\u305f\u3089\u3001\u30a8\u30e9\u30fcNo definition available\u304c\u51fa\u308b\u3068\u304d"},"content":{"rendered":"<p>AWS Amplify\u3067docker-compose\u3092\u4f7f\u3063\u3066\u30d0\u30c3\u30af\u30a8\u30f3\u30c9\u30b5\u30fc\u30d0\u3092\u5229\u7528\u3059\u308b\u3068\u304d\u306b\u3001<code>amplify push<\/code>\u3067\u30a8\u30e9\u30fc\u304c\u51fa\u305f\u306e\u3067\u3001\u305d\u306e\u6642\u306e\u5bfe\u51e6\u6cd5\u3092\u5099\u5fd8\u9332\u3068\u3057\u3066\u66f8\u3044\u3066\u304a\u304d\u307e\u3059\u3002<\/p>\n<h2>\u30a8\u30e9\u30fc\u306e\u5185\u5bb9<\/h2>\n<p><code>amplify push<\/code>\u3059\u308b\u3068\u3001\u4e0b\u8a18\u306e\u30a8\u30e9\u30fc\u304c\u51fa\u308b<\/p>\n<ul>\n<li><code>No definition available (docker-compose.yaml \/ docker-compose.yml \/ Dockerfile)<\/code><\/li>\n<\/ul>\n<pre><code class=\"language-bash\">% amplify push\n&amp;#x2714; Successfully pulled backend environment dev from the cloud.\n\n    Current Environment: dev\n\n\u250c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u252c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u252c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u252c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510\n\u2502 Category \u2502 Resource name          \u2502 Operation \u2502 Provider plugin   \u2502\n\u251c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u253c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u253c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u253c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2524\n\u2502 Api      \u2502 container9999999999999 \u2502 Create    \u2502 awscloudformation \u2502\n\u2514\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2534\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2534\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2534\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2518\n? Are you sure you want to continue? Yes\n An error occurred when pushing the resources to the cloud\n An error occurred during the push operation: \/\nNo definition available (docker-compose.yaml \/ docker-compose.yml \/ Dockerfile)\n Review the Amplify CLI troubleshooting guide for potential next steps: https:\/\/docs.amplify.aws\/cli\/project\/troubleshooting\/\n<\/code><\/pre>\n<h2>\u30a8\u30e9\u30fc\u306e\u7406\u7531<\/h2>\n<p>\u30d5\u30a1\u30a4\u30eb<code>docker-compose.yml<\/code>\u3092*.git\u306e\u30eb\u30fc\u30c8\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306b\u7f6e\u3044\u3066\u3044\u305f\u3002<\/p>\n<h2>\u5bfe\u5fdc\u65b9\u6cd5<\/h2>\n<p>\u30d5\u30a1\u30a4\u30eb<code>docker-compose.yml<\/code>\u3092\u3001<code>aplify\/backend\/api\/&lt;APP_NAME&gt;\/src<\/code>\u306e\u4e0b\u306b\u7f6e\u304f\u3002<\/p>\n<h2>\u53c2\u8003: <code>amplify push<\/code>\u3067\u4f5c\u6210\u3055\u308c\u308b\u30ea\u30bd\u30fc\u30b9<\/h2>\n<p>\u521d\u56de\u306e<code>amplify push<\/code>\u306f\u6642\u9593\u304c\u304b\u304b\u308b\u3002\u9032\u6357\u306fCloudFormation\u3067\u78ba\u8a8d\u3067\u304d\u308b\u3002<\/p>\n<p>\u4e3b\u306b\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u30ea\u30bd\u30fc\u30b9\u304c\u4f5c\u6210\u3055\u308c\u308b\u3002<br \/>\n- ECR<br \/>\n- ECS<br \/>\n- CodeBuild<br \/>\n- StepFunctions<br \/>\n- ApiGatewayV2<\/p>\n","protected":false},"excerpt":{"rendered":"<p>AWS Amplify\u3067docker-compose\u3092\u4f7f\u3063\u3066\u30d0\u30c3\u30af\u30a8\u30f3\u30c9\u30b5\u30fc\u30d0\u3092\u5229\u7528\u3059\u308b\u3068\u304d\u306b\u3001amplify push\u3067\u30a8\u30e9\u30fc\u304c\u51fa\u305f\u306e\u3067\u3001\u305d\u306e\u6642\u306e\u5bfe\u51e6\u6cd5\u3092\u5099\u5fd8\u9332\u3068\u3057\u3066\u66f8\u3044\u3066\u304a\u304d\u307e\u3059\u3002 \u30a8\u30e9\u30fc\u306e\u5185\u5bb9 amplify pu [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":743,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[1],"tags":[338,29],"aioseo_notices":[],"jetpack_featured_media_url":"https:\/\/akamist.com\/blog\/wp-content\/uploads\/2017\/08\/icon_aws.png","jetpack-related-posts":[{"id":5449,"url":"https:\/\/akamist.com\/blog\/archives\/5449","url_meta":{"origin":5455,"position":0},"title":"AWS Amplify\u3067\u5358\u4e00\u306eDocker\u30b3\u30f3\u30c6\u30ca\u3092\u30c7\u30d7\u30ed\u30a4\u3059\u308b\u65b9\u6cd5","date":"2022\u5e745\u67081\u65e5","format":false,"excerpt":"AWS Amplify\u3067\u3001docker-compose\u3092\u4f7f\u308f\u305a\u306b\u3001Dockerfile\u3060\u3051\u7528\u610f\u3057\u3066\u5358\u2026","rel":"","context":"\u672a\u5206\u985e","img":{"alt_text":"","src":"https:\/\/i0.wp.com\/akamist.com\/blog\/wp-content\/uploads\/2017\/08\/icon_aws.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":4526,"url":"https:\/\/akamist.com\/blog\/archives\/4526","url_meta":{"origin":5455,"position":1},"title":"[PHP] ubuntu\u306eDocker\u3067\u30a8\u30e9\u30fcClass 'SimpleXMLElement' not found \u304c\u51fa\u305f\u3068\u304d\u306e\u5bfe\u51e6\u6cd5","date":"2021\u5e746\u670813\u65e5","format":false,"excerpt":"## \u767a\u751f\u3057\u305f\u30a8\u30e9\u30fc PHP\u3067Docker\u306e`ubuntu:20.04`\u30b3\u30f3\u30c6\u30ca\u3092\u4f7f\u7528\u3057\u3066\u3001AWS \u2026","rel":"","context":"\u672a\u5206\u985e","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":4135,"url":"https:\/\/akamist.com\/blog\/archives\/4135","url_meta":{"origin":5455,"position":2},"title":"[docker]\u30a8\u30e9\u30fc Get https:\/\/registry-1.docker.io\/v2\/: Service Unavailable \u304c\u51fa\u308b\u3068\u304d","date":"2020\u5e749\u67089\u65e5","format":false,"excerpt":"## \u767a\u751f\u3057\u305f\u4e8b\u8c61\u3068\u5bfe\u5fdc ### \u4e8b\u8c61 docker\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u6642\u3001Error response \u2026","rel":"","context":"Docker","img":{"alt_text":"","src":"https:\/\/i0.wp.com\/akamist.com\/blog\/wp-content\/uploads\/2018\/04\/icon_docker.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":3536,"url":"https:\/\/akamist.com\/blog\/archives\/3536","url_meta":{"origin":5455,"position":3},"title":"docker\u30b3\u30de\u30f3\u30c9\u5b9f\u884c\u6642\u306b\u30a8\u30e9\u30fc\"Got permission denied while trying to connect to the Docker daemon socket\"\u304c\u51fa\u308b\u3068\u304d","date":"2019\u5e743\u67083\u65e5","format":false,"excerpt":"CentOS7\u3067docker\u4f7f\u7528\u6642\u306b\u3001\u4e00\u822c\u30e6\u30fc\u30b6\u3067docker\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u3088\u3046\u3068\u3057\u305f\u3068\u3053\u308d\u3001\u4e0b\u8a18\u2026","rel":"","context":"Docker","img":{"alt_text":"","src":"https:\/\/i0.wp.com\/akamist.com\/blog\/wp-content\/uploads\/2018\/04\/icon_docker.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":4701,"url":"https:\/\/akamist.com\/blog\/archives\/4701","url_meta":{"origin":5455,"position":4},"title":"[aws] CDK\u3067S3\u306e\u30d0\u30b1\u30c3\u30c8\u3092\u524a\u9664\u6642\u306bBucketNotEmpty\u30a8\u30e9\u30fc\u304c\u51fa\u308b\u6642","date":"2021\u5e7410\u670823\u65e5","format":false,"excerpt":"aws\u306ecdk\u3092\u4f7f\u3063\u3066S3\u306e\u30d0\u30b1\u30c3\u30c8\u3092\u4f5c\u6210\u3057\u305f\u6642\u3001`cdk destroy`\u30b3\u30de\u30f3\u30c9\u3067\u30ea\u30bd\u30fc\u30b9\u3092\u524a\u9664\u2026","rel":"","context":"aws","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":3532,"url":"https:\/\/akamist.com\/blog\/archives\/3532","url_meta":{"origin":5455,"position":5},"title":"[docker]python:3.6-alpine\u3067python-mecab3\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u6642\u306b\u3001\u30a8\u30e9\u30fcunable to execute 'swig'\u304c\u51fa\u308b\u3068\u304d\u306e\u5bfe\u51e6\u6cd5","date":"2019\u5e743\u67082\u65e5","format":false,"excerpt":"docker\u3067Alpine Linux\u30d9\u30fc\u30b9\u3067\u3001python3.6+mecab\u306e\u74b0\u5883\u3092\u3057\u305f\u306e\u3067\u3059\u304c\u3001\u2026","rel":"","context":"Docker","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/akamist.com\/blog\/wp-json\/wp\/v2\/posts\/5455"}],"collection":[{"href":"https:\/\/akamist.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/akamist.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/akamist.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/akamist.com\/blog\/wp-json\/wp\/v2\/comments?post=5455"}],"version-history":[{"count":8,"href":"https:\/\/akamist.com\/blog\/wp-json\/wp\/v2\/posts\/5455\/revisions"}],"predecessor-version":[{"id":5477,"href":"https:\/\/akamist.com\/blog\/wp-json\/wp\/v2\/posts\/5455\/revisions\/5477"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/akamist.com\/blog\/wp-json\/wp\/v2\/media\/743"}],"wp:attachment":[{"href":"https:\/\/akamist.com\/blog\/wp-json\/wp\/v2\/media?parent=5455"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/akamist.com\/blog\/wp-json\/wp\/v2\/categories?post=5455"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/akamist.com\/blog\/wp-json\/wp\/v2\/tags?post=5455"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}