2020-01-01から1年間の記事一覧
$npm run deploy An error occurred (AccessDeniedException) when calling the UpdateFunctionCode operation: IAM Roleから実行対象のlambdaのロールにPolicy(AWSSupportAccess)をアタッチすればOK
EC2にssh接続 EC2インスタンスにssh接続する際にrootで何気なく接続したところ エラーが出ました Please login as the user "ec2-user" rather than the user "root" defaultは以下のユーザー名 ec2-userそのため以下のようにssh 接続する $ ssh -i ~/.ssh/…
Kafkaを触ったことがなかったので試しにlocalで実行してみます kafkaを予めbrew でinstallしておきます `brew install kafka` installしたらkafkaを起動します kafka-server-start /usr/local/etc/kafka/server.properties kafkaにtopicを作成しておきます …
intellijでjavaのstreamを使おうとしたところ、 usage of api documented as @since 1.8 とエラーが表示されて、compileエラーとなった。 以下のように`maven-compiler-plugin`のsourceとtargetのversionを明示したところ解決 <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>mav</artifactid></plugin>…