by shigemk2

当面は技術的なことしか書かない

gcloud projects add-iam-policy-binding

GCP

IAMをプロジェクトにバインド gcloud projects add-iam-policy-binding PROJECT_ID --member=PRINCIPAL --role=ROLE [--condition=[KEY=VALUE,…] | --condition-from-file=CONDITION_FROM_FILE] [GCLOUD_WIDE_FLAG …] cloud.google.com

Terraform backendメモ

stateファイルの共有 デフォルトはローカルディスク 利用できるbackendはいっぱいある(AWS/GCP/Azure) terraform { backend "s3" { bucket = "mybucket" key = "path/to/my/key" region = "us-east-1" } } www.terraform.io blog.mosuke.tech

terragrunt

brew install terragrunt terragrunt.gruntwork.io

vim 8.2.4950

vim

Release v8.2.4950: patch 8.2.4950: text properties position wrong after shifting text · vim/vim · GitHub Problem: Text properties position wrong after shifting text. Solution: Adjust the text properties when shifting a block of text.

awscil 2.7.0

AWS

Bump version to 2.7.0 · aws/aws-cli@5fb687d · GitHub

awscli 2.6.4

AWS

Bump version to 2.6.4 · aws/aws-cli@b855674 · GitHub

Terraform GCP チュートリアル

やっぱりチュートリアルだね homebrewでtfenvとterraformが両立しない GCPよくわかんないけど、最初のVPC作成でterraform applyしようとしたらcompute.networks.createの権限がないって怒られた。サービスアカウントの権限まわりよくわからないから別途調べ…

curl 7.83.1

brew bump-formula-pr --url=https://curl.se/download/curl-7.83.1.tar.bz2 --mirror=https://github.com/curl/curl/releases/download/curl-7_82_0/curl-7.83.1.tar.bz2,http://fresh-center.net/linux/www/curl-7.83.1.tar.bz2,http://fresh-center.net/l…

phpstan 1.6.8

PHP

Support narrowing types via in_array() for enum cases Fix checking of generic attributes brew bump-formula-pr --url=https://github.com/phpstan/phpstan/releases/download/1.6.8/phpstan.phar --sha256=ae1544f77f9e854f03e5a9a0e952aea28f1ba8df32…

vim v8.2.4900

vim

Problem: Vim9 expression test fails without the job feature. Solution: Add a check for the job feature. (Dominique Pellé, closes #10373) github.com

awscli 2.6.3

AWS

github.com

Git 2.36.1

Git

github.com

ghq 1.3.0

ちょいfix github.com

phpstan 1.6.7

PHP

Make DateTime(Immutable)::modify() behaviour less annoying github.com

Jenkins 2.346

Update search input clear button to respect user's theme github.com

phpstan 1.6.4

PHP

Generating baseline preserves the number of newlines at the end of the file (#1243) Infer non-empty-string on literal-string and strlen() (#1260) github.com

brew 3.4.10

この辺 pr-pull: add checksum update clause Remove space before colon in livecheck output uses_from_macos: allow libxcrypt linkage_checker: deprecate linkage to libcrypt.so.1 Fix Rubocop trailing / bug workflows/docker: add OCI metadata for…

ROUNDDOWN

ceil/floorはJavaScriptのMathだから一旦忘れてもらって support.google.com

docker compose 2.5.0

Fix search/replace typo in --no-TTY documentation Fix panic with down command when -p flag specified use project we just created to start services include services declared by links as implicit dependencies など github.com

Terraform Best Practices

中の人が書いてるから信用性あると思う www.terraform-best-practices.com

Datadog AWS連携 IAMポリシー

AWS

ポリシーは絶対ここに記載してあるとおりにしないといけないわけじゃなくて(ワイルドカードはバラしてもよい)、不要なアクションは削っても良さげだけど、主要なポリシーだけは残しておいてね、って読めなくもない。 AWS

phpstan 1.6.3

PHP

Handle ConstantArrayType === ConstantArrayType Handle ConstantArrayType == ConstantArrayType Understand == between ConstantScalarType Use root expression when checking impossible types (#1254) implemented str_contains FunctionTypeSpecifyin…

curl 7.83.0

curl: add %header{name} experimental support in -w handling curl: add %{header_json} experimental support in -w handling curl: add --no-clobber curl: add --remove-on-error header api: add curl_easy_header and curl_easy_nextheader msh3: add…

GA

web

generally available の略。 aws.amazon.com azure-recipe.kc-cloud.jp

brew 3.4.8

workflows: Add Code Scanning action, fix up failures by @issyl0 in #13149 とか Release 3.4.8 · Homebrew/brew · GitHub

awscli 2.5.8

AWS

リリースノートは特になし github.com

vim 8.2.4800

vim

Release v8.2.4800: patch 8.2.4800: missing test update for adjusted t_8u behavior · vim/vim · GitHub Problem: Missing test update for adjusted t_8u behavior. Solution: Update and extend the test.

ALTER ROLE

IF EXISTS使える RENAMEでリネーム ALTER ROLE [ IF EXISTS ] <name> RENAME TO <new_name> docs.snowflake.com</new_name></name>

DESCRIBE INTEGRATION

このクエリでOWNERとか取れない、、、 docs.snowflake.com

copy_history

snowpipeとかの履歴が取れる。 書き方はtask_historyとかと一緒。 docs.snowflake.com