{"id":3195,"date":"2022-10-31T15:50:01","date_gmt":"2022-10-31T06:50:01","guid":{"rendered":"https:\/\/p-corporate-blog-cms.mmmcorp.co.jp\/?p=3195"},"modified":"2022-10-31T15:51:49","modified_gmt":"2022-10-31T06:51:49","slug":"terraform-apply-safely","status":"publish","type":"post","link":"https:\/\/p-corporate-blog-cms.mmmcorp.co.jp\/blog\/2022\/10\/31\/terraform-apply-safely\/","title":{"rendered":"terraform apply\u3092\u3088\u308a\u5b89\u5168\u306b\u5b9f\u884c\u3059\u308b\u305f\u3081\u306b\u3067\u304d\u308b\u3053\u3068"},"content":{"rendered":"\n

\u306f\u3058\u3081\u306b<\/h3>\n\n\n\n

\u897f\u85e4\u3067\u3059\u3002
\u5f53\u793e\u3067\u306fTerraform\u3092\u6d3b\u7528\u3057\u3066AWS\u30af\u30e9\u30a6\u30c9\u4e0a\u3067\u306e\u30a4\u30f3\u30d5\u30e9\u69cb\u7bc9\u3092\u6570\u591a\u304f\u884c\u3063\u3066\u304a\u308a\u307e\u3059\u3002
IaC\uff08Infrastructure as Code\uff09\u5316\u304c\u9032\u3080\u3053\u3068\u306b\u3088\u308a\u30a4\u30f3\u30d5\u30e9\u69cb\u6210\u306e\u518d\u6d3b\u7528\u304c\u9032\u307f\u3001\u307e\u305f\u8fc5\u901f\u306a\u30d4\u30a2\u30ec\u30d3\u30e5\u30fc\u3082\u3084\u308a\u3084\u3059\u304f\u306a\u308a\u3001\u5b9f\u88c5\u30b9\u30d4\u30fc\u30c9\u304c\u4e0a\u304c\u308b\u3053\u3068\u3092\u65e5\u3005\u5b9f\u611f\u3057\u3066\u304a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n

\u305f\u3060\u3057\u3001IaC\u306f\u305d\u306e\u4e07\u80fd\u3055\u3086\u3048\u306b\u3001\u4e88\u671f\u305b\u306c\u5f62\u3067\u306e\u4e8b\u6545\u306b\u3064\u306a\u304c\u308b\u53ef\u80fd\u6027\u304c\u3042\u308a\u307e\u3059\u3002\u307e\u305f\u3001\u300cterraform plan\u3067\u306f\u554f\u984c\u306a\u304b\u3063\u305f\u306e\u306bterraform apply\u3092\u3057\u305f\u3089\u5931\u6557\u3057\u3066\u614c\u3066\u305f\u300d\u3068\u3044\u3046\u7d4c\u9a13\u3092\u304a\u6301\u3061\u306e\u65b9\u3082\u3044\u3089\u3063\u3057\u3083\u308b\u306e\u3067\u306f\u306a\u3044\u3067\u3057\u3087\u3046\u304b\uff1f<\/p>\n\n\n\n

\u4eca\u56de\u306f\u3001\u305d\u3046\u3044\u3063\u305fterraform apply\u3092\u5b9f\u884c\u3059\u308b\u969b\u306e\u4e0d\u5b89\u3092\u6e1b\u3089\u3057\u3001\u3088\u308a\u5b89\u5168\u306b\u5b9f\u884c\u3067\u304d\u308b\u3088\u3046\u306b\u3059\u308b\u305f\u3081\u306e\u65b9\u6cd5\u3092\u8003\u3048\u3066\u307f\u307e\u3059\u3002<\/p>\n\n\n\n

1. Terraform \u6a19\u6e96\u30b3\u30de\u30f3\u30c9\u3092\u4f7f\u3046<\/h3>\n\n\n\n

\u307e\u305a\u306f\u3001Terraform\u3092\u4f7f\u3063\u305f\u69cb\u7bc9\u306e\u30b9\u30bf\u30f3\u30c0\u30fc\u30c9\u306a\u6d41\u308c\u3060\u3068\u601d\u3044\u307e\u3059\u304c\u3001Terraform\u306e\u30b3\u30fc\u30c9\u3092\u66f8\u3044\u305f\u3089\u3001\u6a19\u6e96\u306e\u30b3\u30de\u30f3\u30c9\u3092\u4f7f\u3063\u3066\u8a18\u8ff0\u3057\u305f\u5185\u5bb9\u3092\u30c1\u30a7\u30c3\u30af\u3057\u307e\u3059\u3002<\/p>\n\n\n\n