[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"doc-seo-682032-105":3,"detail-sidebar-cat-0-en-105":81,"doc-detail-682032-en":130,"doc-similar-682032":178},{"code":4,"msg":5,"data":6},0,"ok",{"site_id":7,"language":8,"slug":9,"title":10,"keywords":11,"description":12,"schema_data":13,"social_meta":74,"head_meta":76,"extra_data":78,"updated_unix":80},105,"en","introduction-to-terraform-oss-on-aws-technical-guide","Introduction to Terraform OSS on AWS - Technical Guide","","This technical guide provides a comprehensive introduction to utilizing Terraform Open Source Software (OSS) for infrastructure provisioning on Amazon Web Services (AWS). The document systematically covers foundational concepts, including the workflow of planning, applying, and destroying infrastructure, as well as best practices for organizing code. It compares Terraform's declarative syntax with traditional methods like AWS CloudFormation, highlighting the efficiency and readability of Terraform configurations for managing cloud resources such as EC2 instances and security groups. By exploring state management and Terraform Cloud, the manual equips developers and systems engineers with the necessary knowledge to effectively automate, manage, and scale cloud infrastructure through Infrastructure as Code (IaC) principles.",{"@graph":14,"@context":73},[15,34,56],{"@type":16,"itemListElement":17},"BreadcrumbList",[18,23,27,31],{"item":19,"name":20,"@type":21,"position":22},"https://docshare.wps.com","Home","ListItem",1,{"item":24,"name":25,"@type":21,"position":26},"https://docshare.wps.com/document/","Document",2,{"item":28,"name":29,"@type":21,"position":30},"https://docshare.wps.com/document/technology/","Technology",3,{"item":32,"name":10,"@type":21,"position":33},"https://docshare.wps.com/document/introduction-to-terraform-oss-on-aws-technical-guide/682032/",4,{"url":32,"name":10,"@type":35,"image":36,"author":41,"headline":10,"publisher":44,"fileFormat":47,"inLanguage":8,"description":12,"dateModified":48,"datePublished":49,"encodingFormat":47,"isAccessibleForFree":50,"interactionStatistic":51},"DigitalDocument",{"url":37,"@type":38,"width":39,"height":40},"https://docshare.wps.com/thumbnails/introduction-to-terraform-oss-on-aws-technical-guide/682032.png","ImageObject",300,407,{"name":42,"@type":43},"นรินทร์","Person",{"url":19,"name":45,"@type":46},"DocShare","Organization","application/pdf","2026-11-23","2026-11-06",true,{"@type":52,"interactionType":53,"userInteractionCount":55},"InteractionCounter",{"@type":54},"ViewAction",7,{"@type":57,"mainEntity":58},"FAQPage",[59,65,69],{"name":60,"@type":61,"acceptedAnswer":62},"What are the primary benefits of using Terraform over tools like AWS CloudFormation?","Question",{"text":63,"@type":64},"Terraform offers a more human-readable configuration syntax compared to traditional JSON or YAML templates used in CloudFormation, facilitating easier editing and maintenance of infrastructure code.","Answer",{"name":66,"@type":61,"acceptedAnswer":67},"What information is typically required before provisioning a new AWS instance?",{"text":68,"@type":64},"Before provisioning, users must gather details such as the instance name, operating system (AMI), VM size, geographic region, and security group configurations.",{"name":70,"@type":61,"acceptedAnswer":71},"What is the purpose of the Terraform plan, apply, and destroy commands?",{"text":72,"@type":64},"These commands form the core lifecycle of infrastructure management: 'plan' previews changes, 'apply' executes the configuration to create or update resources, and 'destroy' removes the managed infrastructure.","https://schema.org",{"og:url":32,"og:type":75,"og:title":10,"og:site_name":45,"og:description":12},"article",{"robots":77,"canonical":32},"index,follow",{"doc_id":79,"site_id":7},682032,1793958631,{"code":4,"msg":82,"data":83},"success",[84,88,92,96,101,105,109,114,119,122,126],{"id":22,"doc_module":4,"doc_module_name":25,"category_name":85,"show_sort_weight":86,"slug":87},"Story & Novel",90,"story-novel",{"id":26,"doc_module":4,"doc_module_name":25,"category_name":89,"show_sort_weight":90,"slug":91},"Literature",80,"literature",{"id":33,"doc_module":4,"doc_module_name":25,"category_name":93,"show_sort_weight":94,"slug":95},"Exam",70,"exam",{"id":97,"doc_module":4,"doc_module_name":25,"category_name":98,"show_sort_weight":99,"slug":100},5,"Comic",60,"comic",{"id":102,"doc_module":4,"doc_module_name":25,"category_name":29,"show_sort_weight":103,"slug":104},6,50,"technology",{"id":55,"doc_module":4,"doc_module_name":25,"category_name":106,"show_sort_weight":107,"slug":108},"Healthcare",40,"healthcare",{"id":110,"doc_module":4,"doc_module_name":25,"category_name":111,"show_sort_weight":112,"slug":113},8,"Research & Report",30,"research-report",{"id":115,"doc_module":4,"doc_module_name":25,"category_name":116,"show_sort_weight":117,"slug":118},9,"Religion & Spirituality",20,"religion-spirituality",{"id":117,"doc_module":4,"doc_module_name":25,"category_name":120,"show_sort_weight":117,"slug":121},"World Cup","world-cup",{"id":123,"doc_module":4,"doc_module_name":25,"category_name":124,"show_sort_weight":123,"slug":125},10,"Lifestyle","lifestyle",{"id":127,"doc_module":4,"doc_module_name":25,"category_name":128,"show_sort_weight":97,"slug":129},19,"General","general",{"code":4,"msg":82,"data":131},{"doc_id":79,"user_id":132,"nickname":42,"user_avatar":133,"doc_module":4,"category_id":102,"category_name":29,"doc_title":10,"doc_description":12,"doc_content":134,"file_id":135,"file_url":136,"file_type":137,"file_size":138,"view_count":55,"is_deleted":4,"is_public":22,"is_downloadable":22,"audit_status":22,"page_count":139,"language":140,"language_code":8,"site_id":7,"html_lang":8,"table_of_contents":141,"faqs":142,"seo_title":143,"seo_description":12,"update_tm":80,"read_time":144,"preview_page_count":115,"preview_urls":145},2336475104957,"https://ap-avatar.wpscdn.com/avatar/22000c4c6bd8a5076e1?x-image-process=image/resize,m_fixed,w_180,h_180&k=1787554080175789136","1 / 83  \nYour Name  \n Job Title  \n Automation Experience  \n Favorite Text Editor  \n Copyright © 2021 HashiCorp   1 / 83   \nFollow along on your own computer at this link:  \nCopyright © 2021 HashiCorp  2 / 83   \n1. Intro to Terraform & Demo  \n2. Terraform Basics  \nỚ   \n3. Terraform In Action: plan, apply, destroy  \n4. Organizing Your Terraform Code 􂦁   \n5. Provision and Configure AWS Instances 􀣀   \n6. Manage and Change Infrastructure State  \n7. Terraform Cloud  \n⚗   \n Copyright © 2021 HashiCorp  3 / 83   \nChapter 1  \nIntroduction to Terraform  \n Copyright © 2021 HashiCorp  4 / 83   \nLet's look at a few different ways you could provision a new AWS Instance.  \nBefore we start we' ll need to gather some basic information including (but not limited to):  \n Instance Name  \n Operating System (Image)  \n VM Size  \n Geographical Location (Region)  \n Security Groups  \n Copyright © 2021 HashiCorp  5 / 83   \nCopyright © 2021 HashiCorp   \n6 / 83  \nCopyright © 2021 HashiCorp   \n7 / 83  \n{  \n\"AWSTemplateFormatVersion\" : \"2010-09-09\" ,  \n\"Description\" : \"AWS CloudFormation Sample Template EC2InstanceWithSecurityGroupSample: C re  \n\"Parameters\" : {\"KeyName\" : {  \n\"Description\" : \"Name of an existing EC2 KeyPair to enable SSH access to the instance\" ,\"Type\" : \"AWS::EC2::KeyPair::KeyName\" ,  \n\"ConstraintDescription\" : \"must be the name of an existing EC2 KeyPair . \"},  \n}  \n}  \nCloudFormation Templates provide a consistent and reliable way to provision AWS  \nresources. JSON is easy for computers to read, but can be challenging for humans to edit  \n Cpnydrigtho©u2b0l1saitCorp  8 / 83   \nresource aws_instance \"web\" {  \n[ami = data.aws_ami.ubuntu.id](ami = data.aws_ami.ubuntu.id)  \n[instance_type =](instance_type =) \"t2 .micro\"  \ntags = {  \nName = \"HelloWorld\"}  \n}  \nExample Terraform code for building an AWS instance.  \n Copyright © 2021 HashiCorp  9 / 83","cbCaivxN5s9ndmeK","https://ap.wps.com/l/cbCaivxN5s9ndmeK","pdf",7966193,84,"English","# Intro to Terraform & Demo\n# Terraform Basics\n# Terraform In Action: plan, apply, destroy\n# Organizing Your Terraform Code\n# Provision and Configure AWS Instances\n# Manage and Change Infrastructure State\n# Terraform Cloud","[{\"question\":\"What are the primary benefits of using Terraform over tools like AWS CloudFormation?\",\"answer\":\"Terraform offers a more human-readable configuration syntax compared to traditional JSON or YAML templates used in CloudFormation, facilitating easier editing and maintenance of infrastructure code.\"},{\"question\":\"What information is typically required before provisioning a new AWS instance?\",\"answer\":\"Before provisioning, users must gather details such as the instance name, operating system (AMI), VM size, geographic region, and security group configurations.\"},{\"question\":\"What is the purpose of the Terraform plan, apply, and destroy commands?\",\"answer\":\"These commands form the core lifecycle of infrastructure management: 'plan' previews changes, 'apply' executes the configuration to create or update resources, and 'destroy' removes the managed infrastructure.\"}]","Introduction to Terraform OSS on AWS - Technical Guide | PDF",212,[146,150,153,157,160,164,168,171,175],{"page_no":22,"url":147,"width":148,"height":149},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/0759d6b843395b939fbe7d156247bd59.webp",983,552,{"page_no":26,"url":151,"width":152,"height":149},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/69d7521ea002c82c323f21cfebf77fab.webp",982,{"page_no":30,"url":154,"width":155,"height":156},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/7aaa12e111f4bc202af10941f1841cbf.webp",981,551,{"page_no":33,"url":158,"width":159,"height":156},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/238c99f8cacb7fde68590e7ed53792b2.webp",980,{"page_no":97,"url":161,"width":162,"height":163},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/3fb37e6033e199ba16134792022f41a0.webp",979,550,{"page_no":102,"url":165,"width":166,"height":167},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/9d7b4cdeff0c80c98c403e9b4f9127d4.webp",978,549,{"page_no":55,"url":169,"width":170,"height":167},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/de9bd40cc33eb16f97fbb21eb877d865.webp",977,{"page_no":110,"url":172,"width":173,"height":174},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/14242ba61d20a4fcaed2531b9f780eb4.webp",976,548,{"page_no":115,"url":176,"width":177,"height":174},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/9a04b6077a3837dde32b163334597fc2.webp",975,{"list":179,"token":11},[180,186,192,198,204,210,216,221,227,234],{"doc_id":181,"doc_title":182,"file_type":137,"home_preview_img_url":183,"slug":184,"view_count":97,"category_name":29,"create_tm":185},682024,"Hashicorp-Terraform-Deep-Dive-with-no-Fear-Victor-Turbinsky-Texuna","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229998415734/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110019&Signature=kTpudQSoDzunrbhuZhLlKWMR6Eg%3D","hashicorp-terraform-deep-dive-with-no-fear-victor-turbinsky-texuna",1793958605,{"doc_id":187,"doc_title":188,"file_type":137,"home_preview_img_url":189,"slug":190,"view_count":97,"category_name":29,"create_tm":191},682028,"Automating Infrastructure Provisioning Using Terraform","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229999332210/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110019&Signature=hfUgsPvktsmnMwQw3i62cFuQR70%3D","automating-infrastructure-provisioning-using-terraform",1793958622,{"doc_id":193,"doc_title":194,"file_type":137,"home_preview_img_url":195,"slug":196,"view_count":33,"category_name":29,"create_tm":197},682027,"cours-terraform - Terraform-Infrastructure-as-Code (IaC)","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229999332234/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110019&Signature=suhKtj9a52q8uhrLiv2zlgWp4Fg%3D","cours-terraform-terraform-infrastructure-as-code-iac",1793958620,{"doc_id":199,"doc_title":200,"file_type":137,"home_preview_img_url":201,"slug":202,"view_count":102,"category_name":29,"create_tm":203},682026,"Introduction to Terraform/OpenTofu and their Packaging in pkgsrc","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229999332155/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110019&Signature=naYy1tI3i6nNiigzfi8pRC4aP44%3D","introduction-to-terraformopentofu-and-their-packaging-in-pkgsrc",1793958615,{"doc_id":205,"doc_title":206,"file_type":137,"home_preview_img_url":207,"slug":208,"view_count":33,"category_name":29,"create_tm":209},682031,"The Terraform Book - Chapter 3 - Building an application stack with Terraform","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229999332283/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110019&Signature=ZTlpUTWGpDDprLmOYtxQLjiux0A%3D","the-terraform-book-chapter-3-building-an-application-stack-with-terraform",1793958626,{"doc_id":211,"doc_title":212,"file_type":137,"home_preview_img_url":213,"slug":214,"view_count":115,"category_name":29,"create_tm":215},693148,"Learning Amazon Web Services (AWS) - A Hands-On Guide to the Fundamentals of AWS Cloud","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230005091066/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110019&Signature=xk0uRVHZ6xd4QeeNUaP5srLiAXQ%3D","learning-amazon-web-services-aws-a-hands-on-guide-to-the-fundamentals-of-aws-cloud",1794250509,{"doc_id":217,"doc_title":218,"file_type":137,"home_preview_img_url":219,"slug":220,"view_count":102,"category_name":29,"create_tm":209},682030,"Terraform for OCI Provisioning - Best Practices","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229999332264/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110019&Signature=2YLEF4bpPHlAvZTm1iys17wE33A%3D","terraform-for-oci-provisioning-best-practices",{"doc_id":222,"doc_title":223,"file_type":137,"home_preview_img_url":224,"slug":225,"view_count":102,"category_name":29,"create_tm":226},656179,"Enterprise Architect - Amazon Web Services (AWS) User Guide Series - 16.1","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229975302385/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110019&Signature=Vw%2Bs%2Bis8G93Yv2YRC2uhoYY4%2Fb4%3D","enterprise-architect-amazon-web-services-aws-user-guide-series-161",1792966872,{"doc_id":228,"doc_title":229,"file_type":137,"home_preview_img_url":230,"slug":231,"view_count":232,"category_name":29,"create_tm":233},203880,"Henry Khosasih - CV","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229882570796/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110019&Signature=e3u7lbeA0uFwlwszH0UM1A7glGg%3D","henry-khosasih-cv",16,1788564608,{"doc_id":235,"doc_title":236,"file_type":137,"home_preview_img_url":237,"slug":238,"view_count":239,"category_name":29,"create_tm":240},154208,"Charon - Declarative Provisioning and Deployment","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229869942630/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110019&Signature=vw%2Baj5NM%2FTigZkQgYUtIuRUxlps%3D","charon-declarative-provisioning-and-deployment",12,1787889561]