[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"detail-sidebar-cat-0-en-105":3,"doc-seo-682025-105":59,"doc-detail-682025-en":130,"doc-similar-682025":156},{"code":4,"msg":5,"data":6},0,"success",[7,13,18,23,28,33,38,43,48,51,55],{"id":8,"doc_module":4,"doc_module_name":9,"category_name":10,"show_sort_weight":11,"slug":12},1,"Document","Story & Novel",90,"story-novel",{"id":14,"doc_module":4,"doc_module_name":9,"category_name":15,"show_sort_weight":16,"slug":17},2,"Literature",80,"literature",{"id":19,"doc_module":4,"doc_module_name":9,"category_name":20,"show_sort_weight":21,"slug":22},4,"Exam",70,"exam",{"id":24,"doc_module":4,"doc_module_name":9,"category_name":25,"show_sort_weight":26,"slug":27},5,"Comic",60,"comic",{"id":29,"doc_module":4,"doc_module_name":9,"category_name":30,"show_sort_weight":31,"slug":32},6,"Technology",50,"technology",{"id":34,"doc_module":4,"doc_module_name":9,"category_name":35,"show_sort_weight":36,"slug":37},7,"Healthcare",40,"healthcare",{"id":39,"doc_module":4,"doc_module_name":9,"category_name":40,"show_sort_weight":41,"slug":42},8,"Research & Report",30,"research-report",{"id":44,"doc_module":4,"doc_module_name":9,"category_name":45,"show_sort_weight":46,"slug":47},9,"Religion & Spirituality",20,"religion-spirituality",{"id":46,"doc_module":4,"doc_module_name":9,"category_name":49,"show_sort_weight":46,"slug":50},"World Cup","world-cup",{"id":52,"doc_module":4,"doc_module_name":9,"category_name":53,"show_sort_weight":52,"slug":54},10,"Lifestyle","lifestyle",{"id":56,"doc_module":4,"doc_module_name":9,"category_name":57,"show_sort_weight":24,"slug":58},19,"General","general",{"code":4,"msg":60,"data":61},"ok",{"site_id":62,"language":63,"slug":64,"title":65,"keywords":66,"description":67,"schema_data":68,"social_meta":123,"head_meta":125,"extra_data":127,"updated_unix":129},105,"en","terraform-associate-study-guide","Terraform Associate Study Guide","","Study guide for the Terraform Associate exam, presenting a practical learning workflow and the core infrastructure-as-code command sequence. Covers terraform state management, init/validate/plan/apply/destroy/refresh/graph/fmt/version/workspaces/console/output/import, and explains what each does in terms of configuration, state files, providers, resources vs data sources, variables, modules, provisioners, logging, and HCL built-in functions. Also summarizes key cloud integrations including Terraform Cloud features, Vault secret handling, and Sentinel policy-as-code between plan and apply.",{"@graph":69,"@context":122},[70,84,105],{"@type":71,"itemListElement":72},"BreadcrumbList",[73,77,79,82],{"item":74,"name":75,"@type":76,"position":8},"https://docshare.wps.com","Home","ListItem",{"item":78,"name":9,"@type":76,"position":14},"https://docshare.wps.com/document/",{"item":80,"name":20,"@type":76,"position":81},"https://docshare.wps.com/document/exam/",3,{"item":83,"name":65,"@type":76,"position":19},"https://docshare.wps.com/document/terraform-associate-study-guide/682025/",{"url":83,"name":65,"@type":85,"image":86,"author":91,"headline":65,"publisher":94,"fileFormat":97,"inLanguage":63,"description":67,"dateModified":98,"datePublished":99,"encodingFormat":97,"isAccessibleForFree":100,"interactionStatistic":101},"DigitalDocument",{"url":87,"@type":88,"width":89,"height":90},"https://docshare.wps.com/thumbnails/terraform-associate-study-guide/682025.png","ImageObject",300,407,{"name":92,"@type":93},"\tCallum ","Person",{"url":74,"name":95,"@type":96},"DocShare","Organization","application/pdf","2026-12-05","2026-11-06",true,{"@type":102,"interactionType":103,"userInteractionCount":19},"InteractionCounter",{"@type":104},"ViewAction",{"@type":106,"mainEntity":107},"FAQPage",[108,114,118],{"name":109,"@type":110,"acceptedAnswer":111},"What is the recommended Terraform workflow before deploying real infrastructure?","Question",{"text":112,"@type":113},"Write the Terraform code, run terraform plan to review changes, and then execute terraform apply to deploy. terraform validate performs local checks without accessing remote services.","Answer",{"name":115,"@type":110,"acceptedAnswer":116},"How does Terraform state work and where is it stored by default?",{"text":117,"@type":113},"Terraform state is a JSON metadata file representing what is currently deployed. By default it is stored locally as terraform.tfstate (or terraform.tfstate.d for multiple workspaces), and it can contain sensitive data.",{"name":119,"@type":110,"acceptedAnswer":120},"What are modules and how do they support code reuse and dependencies?",{"text":121,"@type":113},"Modules are containers for related resources. A root module can call other modules, and meta-arguments like count, dynamic blocks (for_each), providers passthrough, and depends_on help manage reuse and explicit dependencies.","https://schema.org",{"og:url":83,"og:type":124,"og:title":65,"og:site_name":95,"og:description":67},"article",{"robots":126,"canonical":83},"index,follow",{"doc_id":128,"site_id":62},682025,1793958606,{"code":4,"msg":5,"data":131},{"doc_id":128,"user_id":132,"nickname":92,"user_avatar":133,"doc_module":4,"category_id":19,"category_name":20,"doc_title":65,"doc_description":67,"doc_content":134,"file_id":135,"file_url":136,"file_type":137,"file_size":138,"view_count":19,"is_deleted":4,"is_public":8,"is_downloadable":8,"audit_status":8,"page_count":81,"language":139,"language_code":63,"site_id":62,"html_lang":63,"table_of_contents":140,"faqs":141,"seo_title":142,"seo_description":67,"update_tm":129,"read_time":39,"preview_page_count":81,"preview_urls":143},137451211410,"https://ap-avatar.wpscdn.com/avatar/2000bb0a9246f588df?x-image-process=image/resize,m_fixed,w_180,h_180&k=1786362646172706240","Terraform Associate Study Guide  \nAlso see how I recommend studying: [https://www.selikoff.net/2022/08/21/how-i](https://www.selikoff.net/2022/08/21/how-i)recommend-studying-for-the-terraform-associate-exam/  \nAnd my take on the online exam experience: [https://www.selikoff.net/2022/08/20/my](https://www.selikoff.net/2022/08/20/my)first-online-cert-psi-terraform-associate-exam/  \nNote: I assume you know what IaC/DevOps is and have left that out of this document  \nWorkflow  \n• Write (code)  \n• Plan (terraform plan)  \n• Create (terraform apply)  \n\n| Command | Explanation |\n| --- | --- |\n| terraform state list\u003Cbr>terraform state rm\u003Cbr>terraform state show | List resources\u003Cbr>Delete resources\u003Cbr>Show details for single resource |\n| terraform init | • Download plugins from providers (from public restigry or private URL)\u003Cbr>• Initializes working directory and create backend for storing state files\u003Cbr>• Working directory contains config, hidden\u003Cbr>.terraform directory as cache, state data (unless storing locally)\u003Cbr>• State file is terraform.tfstate if single workspace or terraform.tfstate.d is multiple workspaces\u003Cbr>• If reinitialize, will redownload provider if needed. Pass-reconfigure or-migrate-state\u003Cbr>• Installs child modules if present |\n| terraform validate | Local validation (doesn’t access any remote services) |\n| terraform plan | • Displays plan for what will happen when run apply\u003Cbr>• Tests credentials since reads real state\u003Cbr>• Does not change anything except state file |\n| terraform apply | • Deploys to real infrastructure\u003Cbr>• Updates state file\u003Cbr>• -auto-approve so can run unprompted |\n\nCommands  \n\n|  | • 10 concurrent operations by default |\n| --- | --- |\n| terraform destroy | Destroys all resources in state file |\n| terraform refresh | Update state file |\n| terraform graph | Creates dot file |\n| terraform fmt | Formats [all .tf](all .tf) files and outputs list of files changed |\n| terraform version | Installed version |\n| terraform workspace select\u003Cbr>terraform workspace new name | Choose workspace\u003Cbr>Create new workspace |\n| terraform console | For testing expressions |\n| terraform output resource | Get info from state file |\n| terraform import | • Maps an existing reference so can reference by an id\u003Cbr>• Not guaranteed resource exists or importing with two names |\n\n\n| Command | Explanation |\n| --- | --- |\n| Provider | • Plugins, provide by vendors (ex: AWS)\u003Cbr>• .terraform.lock.hcl to pin versions\u003Cbr>• Can come from registry or folder |\n| Constraints | Primitive (string, number, boolean) or any (primitive type to be decided) |\n| Complex types | Collections (list, set, map) or structural (like object) |\n| Resources vs data | Resources managed by terraform. Data sources already exist and are just referenced |\n| State | • JSON file with metadata representing what is currently deployed\u003Cbr>• By default, stored in terraform.tfstate file in directory with code\u003Cbr>• Better to store remotely\u003Cbr>• Can contain sensitive data |\n| HCL (HashiCorp Config Language) functions | Can’t add own functions. Only built ins. Examples:\u003Cbr>• contains([1, 2], 2)\u003Cbr>• file(fileName)\u003Cbr>• flatten([],[1],[[1,2]])\u003Cbr>• join(“,” [“a,”, b”])\u003Cbr>• max(1,2,3)\u003Cbr>• timestamp() |\n| Variables | • Input [referenced as var.name](referenced as var.name)\u003Cbr>• Output referenced as\u003Cbr>module.modName.outputName\u003Cbr>• Root or child modules can use output variables\u003Cbr>• Best practice-store in terraform.tfvars |\n\nConcepts  \n\n|  | • Sensitive parameter defaults to false. Set to true to avoid showing value in logs |\n| --- | --- |\n| Logging | • TF_LOG – 5 levels of logging\u003Cbr>• TF_LOG_PATH – location |\n| Modules | • Container for related reousrces.\u003Cbr>• Root module by default\u003Cbr>• Can call other modules\u003Cbr>• Folder or code\u003Cbr>• Goal is code reuse\u003Cbr>• Meta args – count, dynamic block (for_each), providers (pass to child), depends_on (create explicit dependencies) |\n| Provisioner | • Execute custom scripts/commands\u003Cbr>• local-exec, remote-exec, null_resources\u003Cbr>•","cbCaie9CUJ3Sxs6I","https://ap.wps.com/l/cbCaie9CUJ3Sxs6I","pdf",107773,"English","# Workflow\n# Core Terraform Commands\n## State and Infrastructure Lifecycle\n## Formatting, Versions, Workspaces, Console, Output, Import\n# Providers and Configuration Concepts\n## Types, Resources vs Data, State, HCL Functions, Variables\n# Concepts for Secure and Maintainable Deployments\n## Logging, Modules, Provisioner\n# Cloud and Integrations","[{\"question\":\"What is the recommended Terraform workflow before deploying real infrastructure?\",\"answer\":\"Write the Terraform code, run terraform plan to review changes, and then execute terraform apply to deploy. terraform validate performs local checks without accessing remote services.\"},{\"question\":\"How does Terraform state work and where is it stored by default?\",\"answer\":\"Terraform state is a JSON metadata file representing what is currently deployed. By default it is stored locally as terraform.tfstate (or terraform.tfstate.d for multiple workspaces), and it can contain sensitive data.\"},{\"question\":\"What are modules and how do they support code reuse and dependencies?\",\"answer\":\"Modules are containers for related resources. A root module can call other modules, and meta-arguments like count, dynamic blocks (for_each), providers passthrough, and depends_on help manage reuse and explicit dependencies.\"}]","Terraform Associate Study Guide | PDF",[144,148,152],{"page_no":8,"url":145,"width":146,"height":147},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/f8e100ca928d6883d527159eb67fe37c.webp",983,1272,{"page_no":14,"url":149,"width":150,"height":151},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/b6ccf87e11e0adbdd18955dc950b8438.webp",982,1270,{"page_no":81,"url":153,"width":154,"height":155},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/8ffaeed62a2db78164c3a2697993a382.webp",981,1269,{"list":157,"token":66},[158,164,170,177,184,190,196,202,208,214],{"doc_id":159,"doc_title":160,"file_type":137,"home_preview_img_url":161,"slug":162,"view_count":46,"category_name":20,"create_tm":163},203666,"DevOps Certification Study Plan 2026 - 12-Week Accelerated Path to DevOps Certifications","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229882941933/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796504519&Signature=69QzeXsHmHPlAc7COkLDHESwBOI%3D","devops-certification-study-plan-2026-12-week-accelerated-path-to-devops-certifications",1788562493,{"doc_id":165,"doc_title":166,"file_type":137,"home_preview_img_url":167,"slug":168,"view_count":56,"category_name":20,"create_tm":169},310734,"COMPTIA Security+ Certification Prep Course - Course Code 3404","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229907495834/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796504519&Signature=fcF1T0X9Mv89awY2JgLNEQvl5qQ%3D","comptia-security-certification-prep-course-course-code-3404",1789887791,{"doc_id":171,"doc_title":172,"file_type":137,"home_preview_img_url":173,"slug":174,"view_count":175,"category_name":20,"create_tm":176},394159,"Pharmacy Law Examination Preparation Guide - MPJE","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229918187259/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796504519&Signature=PKnjgS6%2BR3iXMGo%2F%2FHeOSszp3TI%3D","pharmacy-law-examination-preparation-guide-mpje",21,1790399371,{"doc_id":178,"doc_title":179,"file_type":137,"home_preview_img_url":180,"slug":181,"view_count":182,"category_name":20,"create_tm":183},508424,"PERT Registration Directions","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229934812502/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796504519&Signature=1YyU7ai8NlECcUkTplTP7mgtaM4%3D","pert-registration-directions",14,1791222020,{"doc_id":185,"doc_title":186,"file_type":137,"home_preview_img_url":187,"slug":188,"view_count":24,"category_name":20,"create_tm":189},677705,"Plumbing (427) - Course Catalog","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229994428426/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796504519&Signature=5jnrTDH8yBHGZU1Bcq76OSo%2F8wk%3D","plumbing-427-course-catalog",1793779741,{"doc_id":191,"doc_title":192,"file_type":137,"home_preview_img_url":193,"slug":194,"view_count":52,"category_name":20,"create_tm":195},490503,"Self-Guided Activities 3-5 - Ecosystems","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229927772967/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796504519&Signature=r2RieW4fhiUKNlxgfx08rhBFwFg%3D","self-guided-activities-3-5-ecosystems",1790838445,{"doc_id":197,"doc_title":198,"file_type":137,"home_preview_img_url":199,"slug":200,"view_count":34,"category_name":20,"create_tm":201},409242,"Women, Children, Labor and the Progressive Era Unit - Day 2 - Introduction to Vocabulary and Progressive Reforms","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229921346374/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796504519&Signature=zZKFMUmxxcMT23jotZCgROCJGsE%3D","women-children-labor-and-the-progressive-era-unit-day-2-introduction-to-vocabulary-and-progressive-reforms",1790581764,{"doc_id":203,"doc_title":204,"file_type":137,"home_preview_img_url":205,"slug":206,"view_count":56,"category_name":20,"create_tm":207},308353,"ACCUPLACER Test Writing Essay Helpful Hints - First-Time Test-Takers Guide","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229906789428/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796504519&Signature=zkmEUnUwwv32qoa82DRDA7eC17A%3D","accuplacer-test-writing-essay-helpful-hints-first-time-test-takers-guide",1789865496,{"doc_id":209,"doc_title":210,"file_type":137,"home_preview_img_url":211,"slug":212,"view_count":39,"category_name":20,"create_tm":213},488651,"Pacing guide template - step-by-step process","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229926875289/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796504519&Signature=kU8MruS23qFTvFrfVpP0UDconNg%3D","pacing-guide-template-step-by-step-process",1790815358,{"doc_id":215,"doc_title":216,"file_type":137,"home_preview_img_url":217,"slug":218,"view_count":34,"category_name":20,"create_tm":219},535798,"TITLE 23 - EDUCATION AND CULTURAL RESOURCES - SUBTITLE A: EDUCATION - CHAPTER I: STATE BOARD OF EDUCATION - SUBCHAPTER f: INSTRUCTION FOR SPECIFIC STUDENT POPULATIONS - PART 227 - GIFTED EDUCATION","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229943673837/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796504519&Signature=mfs64LQbvTLxfMVNpKnCJghpNDk%3D","title-23-education-and-cultural-resources-subtitle-a-education-chapter-i-state-board-of-education-subchapter-f-instruction-for-specific-student-populations-part-227-gifted-education",1791601142]