{"id":3564,"date":"2024-11-24T14:58:16","date_gmt":"2024-11-24T06:58:16","guid":{"rendered":"https:\/\/chow.karmeng.my\/?p=3564"},"modified":"2024-11-24T14:58:16","modified_gmt":"2024-11-24T06:58:16","slug":"experimenting-with-terraform","status":"publish","type":"post","link":"https:\/\/chow.karmeng.my\/?p=3564","title":{"rendered":"Experimenting with Terraform"},"content":{"rendered":"\n<p>All the experience in this post is based on <a href=\"https:\/\/developer.hashicorp.com\/terraform\/tutorials\/aws-get-started\/install-cli\">Install Terraform | Terraform | HashiCorp Developer<\/a><\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"https:\/\/chow.karmeng.my\/wp-content\/uploads\/2024\/11\/image-1024x642.png\" alt=\"\" class=\"wp-image-3565\"\/><figcaption class=\"wp-element-caption\">After terraform init, terraform apply needs confirmation of &#8220;yes&#8221; before applying into environment<\/figcaption><\/figure>\n\n\n\n<p>Feels like running ansible but simpler, as the tutorial of quickstart runs on docker engine.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"https:\/\/chow.karmeng.my\/wp-content\/uploads\/2024\/11\/image-1-1024x642.png\" alt=\"\" class=\"wp-image-3566\"\/><figcaption class=\"wp-element-caption\">After applying terraform, confirm the nginx is running<\/figcaption><\/figure>\n\n\n\n<p>Further confirmation running browser to browse the site.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"https:\/\/chow.karmeng.my\/wp-content\/uploads\/2024\/11\/image-2-1024x643.png\" alt=\"\" class=\"wp-image-3567\"\/><figcaption class=\"wp-element-caption\">The terraform tutorial are running nginx at port  8000 of your host machine.<\/figcaption><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"https:\/\/chow.karmeng.my\/wp-content\/uploads\/2024\/11\/image-3-1024x639.png\" alt=\"\" class=\"wp-image-3568\"\/><figcaption class=\"wp-element-caption\">If you preferred curl<\/figcaption><\/figure>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>All the experience in this post is based on Install Terraform | Terraform | HashiCorp Developer Feels like running ansible but simpler, as the tutorial of quickstart runs on docker engine. Further confirmation running browser to browse the site.<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[12,13],"tags":[422,456],"class_list":["post-3564","post","type-post","status-publish","format-standard","hentry","category-it","category-linux","tag-terraform","tag-ubuntu"],"_links":{"self":[{"href":"https:\/\/chow.karmeng.my\/index.php?rest_route=\/wp\/v2\/posts\/3564","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/chow.karmeng.my\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/chow.karmeng.my\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/chow.karmeng.my\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/chow.karmeng.my\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=3564"}],"version-history":[{"count":0,"href":"https:\/\/chow.karmeng.my\/index.php?rest_route=\/wp\/v2\/posts\/3564\/revisions"}],"wp:attachment":[{"href":"https:\/\/chow.karmeng.my\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=3564"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/chow.karmeng.my\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=3564"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/chow.karmeng.my\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=3564"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}