2022-12-01ãã1ã¶æéã®è¨äºä¸è¦§
terraform state rm ${ãªã½ã¼ã¹å} ã§æ¶ããã
追è¨ï¼ ããã«ã¼ããã¡ã¤ã³ã管çãããã¨ãã¦ãããã©ãã«ã¼ããã¡ã¤ã³ã®ãã¹ãã¾ã¼ã³ã¯ Terraform ã§ç®¡çããªãã»ããè¯ãããã (çµæã¨ãã¦ç®¡çãããã®ã§æãããæ -var-file ãæå®ãã¦ãã terraform ã®å種第 2 å¼æ°ã«ãããã³ãã³ããæ¸ãã®ã ã¨æâ¦
ã·ã¹ãã ãã©ã¤ãç¨ã® SSD ã PCIe4 ã«å¤æ´ããããã¨æã£ã¦ä»¥åè³¼å ¥ãã¦ããè¦é¢ SSD ã«å ¥ãæ¿ããã å 容ã¯ã¯ãã¼ã³ããã°ããããã¼ãã¨æã£ã¦ãããã ãã©ãä»ã©ãã¯ã¿ããªããªã¼é å¸ãããããããã¨ããæãã§ãã£ãã EaseUS Todo Backup Free 使ããâ¦
ãã±å° MySQL 8.0.31 macOS Ventura å æ¥ã® Unbale ... ã®è¨äºã§ãæ¸ããéããã¤ã³ã¹ãã¼ã«ç´å¾ã® MySQL 㯠Asia/Tokyo ãã¿ã¤ã ã¾ã¼ã³ã«æå®ããã¨ã¨ã©ã¼ãè¿ãã¾ãã ããããããâ¦â¦ãããããã¦ããï¼ ããããã®æã®è©±é¡ã OS ã¨ãç©ççä½ç§»è¡ããéã«â¦
macOS ãä¸çªãç®ã«ãããããããªããããã¼ã brew ã§ã¤ã³ã¹ãã¼ã«ãã¦ããèµ·åãããããã ããè¨ããã¦ãã pid ãã¡ã¤ã«ã®ä¸å¨ã¨ MySQL ã® data-dir 権éã対å¿ãã¦ãåããªãæã¯ã ä¸åº¦ mysql ç³»ã®ããã»ã¹ãå ¨é¨æ¶ãããOS ãã¨åèµ·åãã mysql --â¦
ã¡ããªã¯ã¹ç£è¦ã APM ãå ¥ãã (ã»ã©ã§ããªã|ç°å¢æ´åããæéããªã) ã¿ãããªç¶æ ã®ã¨ãããã¨æãã¾ãã ã¨ãããã Slack ã«æãã¦ç£è¦ä½å¶ã¯ãã¾ããããã¨ãã趣æ¨ã ãããªæãã§éç¥ããã å®è¡ä¾ å®ç°å¢ã§ãã¹ããã¦ããã®ã§ã¡ããã¡ããã¢ã¶ã¤ã¯â¦
è¿½è¨ ãã¡ãã§æ¸ãããã©ã RUBY_CFLAGS="-w" ãä»ä¸ã㦠rbenv install ãå©ãã®ãä¸çªã©ã¯ãã¨ããçµè«ã«ãã©ãçããã donbulinux.hatenablog.jp 以åã®æ¬æ rbenv install ã§å¤ããã¼ã¸ã§ã³ãå ¥ãããã¨ããã¨ãããªã (åã®ç°å¢ã®åºå)ã ãã±å° MacBoâ¦
ããã¸ã¡ã³ãã³ã³ã½ã¼ã«ã§ OAC ãé¸æããã¨ãããã«ããã±ããããªã·ã¼å¤æ´ãããï¼ãã£ã¦ãç¥ããåºãã¦ããããããã®ã¾ã¾ä½¿ãããã±ããããªã·ã¼ãã³ããããã¦ããããã ãã©ã ããªãªã¸ã³ã«ãªã S3 ããè¤æ°ã®ç°ãªããã¡ã¤ã³ä»ä¸ãããã£ã¹ããªãã¥ã¼â¦
å¿ããã¡ãªã®ã§ãæ°ä»ããã¿ã¤ãã³ã°ã§æ¸ãã¦ããã backend ã«å¤æ° (Variables) ã¯å©ç¨ã§ããªã ãããªæãã§æãããã èµ·åæã«å¼æ°ã«æ¸¡ãããbackend ç¨ã«å¥ãã¡ã¤ã«ãä½ãã¨ã®ãã¨ã â Error: Variables not allowed â â on main.tf line 11, in terrafâ¦
groups ã¨ãããã¼ãã«ããããã ãã©ãSELECT ãæãããã¨ã㦠syntax error ã«ãªã£ãã mysql> SELECT * FROM groups; ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for â¦
ãã±å° Terraform 1.3.6 hashicorp/aws 4.45.0 Error loading state state ããã¼ã«ã«ãããï¼ ã¨æ°ã¥ãã¦ã backend "s3" ãæ¸ãã¦ããªã¢ã¼ãã«æåã§ãã±ãããä½æ (è¨å®ã¯åå以å¤ãå ¨é¨å¤æ´ãªãã®ã¢ã¯ã»ã¹ãã¤ãã¤ã§ãªãã±ã¼)ã å¾ã« terraform init -mâ¦
ä¸æ¦ terraform init ãã¦ããã° terraform providers -version ã§ç¢ºèªã§ããã terraform providers -version Terraform v1.3.6 on darwin_arm64 + provider registry.terraform.io/hashicorp/aws v4.45.0 äºåã«æ¢ãããå ´åã¯ä»¥ä¸ãããããã registry.tâ¦
ä½æãããªã½ã¼ã¹ã Terraform ç±æ¥ã§ããã㨠è¤æ°ã®ä¼æ¥ãåä¸ã¢ã«ã¦ã³ã ID ã« AdministratorAccess æã£ã¦ãã ã¨ããç¶æ ã®ã¤ã³ãã©ã管çãã¦ããã®ã§ããããã AWS ã®ãªã½ã¼ã¹ä½ææã®ã¿ã°ã« Build: Terrafrom Company: ä¼ç¤¾å ãä»ä¸ããéç¨ã«ãã¦â¦