{"id":1145,"date":"2025-02-24T11:22:54","date_gmt":"2025-02-24T04:22:54","guid":{"rendered":"https:\/\/thoaicoder.com\/?p=1145"},"modified":"2025-05-28T11:18:20","modified_gmt":"2025-05-28T04:18:20","slug":"terraform-key-features","status":"publish","type":"post","link":"https:\/\/thoaicoder.com\/index.php\/2025\/02\/24\/terraform-key-features\/","title":{"rendered":"Terraform key features"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\">1. What is Terraform<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Terraform<\/strong> is an open-source Infrastructure as Code (IaC) tool developed by <strong>HashiCorp<\/strong>. It allows users to define, provision, and manage cloud and on-premises infrastructure using a <strong>declarative configuration language<\/strong> called HCL (HashiCorp Configuration Language). With Terraform, you can describe your infrastructure in code, version it using Git, and automate infrastructure lifecycle management across major providers like AWS, Azure, Google Cloud, Kubernetes, and more.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Terraform supports <strong>multi-cloud orchestration<\/strong>, making it a favorite among DevOps teams looking to manage complex, hybrid infrastructure setups through a unified workflow.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">2. Benefits of using Terraform<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Terraform brings several key benefits that make it a powerful tool for teams managing modern infrastructure:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Consistency &amp; Repeatability<\/strong>: Infrastructure is defined in code, which means it can be versioned, reviewed, and reused, reducing human error.<\/li>\n\n\n\n<li><strong>Automation<\/strong>: Automates the provisioning and teardown of resources, speeding up deployments and improving agility.<\/li>\n\n\n\n<li><strong>Scalability<\/strong>: Works seamlessly with small projects and large enterprise environments alike, from a single VM to hundreds of distributed services.<\/li>\n\n\n\n<li><strong>Multi-Cloud Support<\/strong>: Write once, deploy anywhere. Terraform supports all major cloud providers and can manage resources across them in a single configuration.<\/li>\n\n\n\n<li><strong>Immutable Infrastructure<\/strong>: Encourages the practice of replacing rather than modifying resources, resulting in more stable and predictable environments.<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">3. Terraform key features<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Here are the standout features that make Terraform an essential tool in the DevOps ecosystem:<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">a. <strong>Declarative Configuration Language (HCL)<\/strong><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Terraform uses a high-level, declarative syntax. Instead of writing step-by-step instructions, you define <strong>what<\/strong> you want, and Terraform figures out <strong>how<\/strong> to do it.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Example: Provisioning an AWS EC2 Instance<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code has-white-color has-tangaroa-background-color has-text-color has-background has-link-color wp-elements-1\" style=\"padding-top:var(--wp--preset--spacing--30);padding-right:var(--wp--preset--spacing--30);padding-bottom:var(--wp--preset--spacing--30);padding-left:var(--wp--preset--spacing--30)\"><code>Example: Proprovider \"aws\" {\n  region = \"us-east-1\"\n}\n\nresource \"aws_instance\" \"example\" {\n  ami           = \"ami-0c55b159cbfafe1f0\"\n  instance_type = \"t2.micro\"\n\n  tags = {\n    Name = \"TerraformExample\"\n  }\n}\nvisioning an AWS EC2 InstanceExample: Provisioning an AWS EC2 Instance<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">b. <strong>Execution Plan<\/strong><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Before applying changes, Terraform gives you a preview of what it will do:<\/p>\n\n\n\n<pre class=\"wp-block-code has-white-color has-tangaroa-background-color has-text-color has-background has-link-color wp-elements-2\" style=\"padding-top:var(--wp--preset--spacing--30);padding-right:var(--wp--preset--spacing--30);padding-bottom:var(--wp--preset--spacing--30);padding-left:var(--wp--preset--spacing--30)\"><code>terraform plan\n<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">c. <strong>Resource Graph<\/strong><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Terraform automatically builds a dependency graph based on the resource relationships. This allows it to <strong>optimize the order<\/strong> in which resources are created or destroyed.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Example:<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code has-white-color has-tangaroa-background-color has-text-color has-background has-link-color wp-elements-3\" style=\"padding-top:var(--wp--preset--spacing--30);padding-right:var(--wp--preset--spacing--30);padding-bottom:var(--wp--preset--spacing--30);padding-left:var(--wp--preset--spacing--30)\"><code>resource \"aws_vpc\" \"main\" {\n  cidr_block = \"10.0.0.0\/16\"\n}\n\nresource \"aws_subnet\" \"subnet\" {\n  vpc_id     = aws_vpc.main.id\n  cidr_block = \"10.0.1.0\/24\"\n}\n<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">d. <strong>State Management<\/strong><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Terraform tracks the infrastructure it manages through a <strong>state file<\/strong>, typically named <code>terraform.tfstate<\/code>. For team collaboration, you can store it remotely:<\/p>\n\n\n\n<pre class=\"wp-block-code has-white-color has-tangaroa-background-color has-text-color has-background has-link-color wp-elements-4\" style=\"padding-top:var(--wp--preset--spacing--30);padding-right:var(--wp--preset--spacing--30);padding-bottom:var(--wp--preset--spacing--30);padding-left:var(--wp--preset--spacing--30)\"><code>terraform {\n  backend \"s3\" {\n    bucket = \"my-terraform-state\"\n    key    = \"global\/s3\/terraform.tfstate\"\n    region = \"us-east-1\"\n  }\n}\n<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">e. <strong>Modular Architecture<\/strong><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">You can reuse configurations by creating <strong>modules<\/strong>, making your code DRY (Don&#8217;t Repeat Yourself).<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Example: A reusable EC2 module<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code has-white-color has-tangaroa-background-color has-text-color has-background has-link-color wp-elements-5\" style=\"padding-top:var(--wp--preset--spacing--30);padding-right:var(--wp--preset--spacing--30);padding-bottom:var(--wp--preset--spacing--30);padding-left:var(--wp--preset--spacing--30)\"><code>module \"web_server\" {\n  source        = \".\/modules\/ec2\"\n  instance_type = \"t2.micro\"\n  ami           = \"ami-0c55b159cbfafe1f0\"\n}\n<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Modules promote consistency and reduce duplication across environments.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">f. <strong>Provider Ecosystem<\/strong><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Terraform has a rich provider ecosystem. You can manage cloud resources, DNS records, Kubernetes objects, databases, and even SaaS services like GitHub, Datadog, and Cloudflare.<\/p>\n\n\n\n<pre class=\"wp-block-code has-white-color has-tangaroa-background-color has-text-color has-background has-link-color wp-elements-6\" style=\"padding-top:var(--wp--preset--spacing--30);padding-right:var(--wp--preset--spacing--30);padding-bottom:var(--wp--preset--spacing--30);padding-left:var(--wp--preset--spacing--30)\"><code>provider \"cloudflare\" {\n  email = \"user@example.com\"\n  api_key = \"your-api-key\"\n}\n\nresource \"cloudflare_record\" \"example\" {\n  zone_id = \"your-zone-id\"\n  name    = \"example\"\n  value   = \"192.0.2.1\"\n  type    = \"A\"\n  ttl     = 3600\n}<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">g. <strong>Immutable Infrastructure Approach<\/strong><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Terraform encourages creating new resources and removing the old ones instead of making in-place updates, which reduces risks and prevents configuration drift.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">For example, updating the instance type from <code>t2.micro<\/code> to <code>t3.micro<\/code> will trigger a replacement:<\/p>\n\n\n\n<pre class=\"wp-block-code has-white-color has-tangaroa-background-color has-text-color has-background has-link-color wp-elements-7\" style=\"padding-top:var(--wp--preset--spacing--30);padding-right:var(--wp--preset--spacing--30);padding-bottom:var(--wp--preset--spacing--30);padding-left:var(--wp--preset--spacing--30)\"><code>resource \"aws_instance\" \"example\" {\n  ami           = \"ami-0c55b159cbfafe1f0\"\n  instance_type = \"t3.micro\" # change triggers new instance\n}<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">4. Conclustion<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Terraform is more than just an infrastructure provisioning tool\u2014it&#8217;s a strategic asset for modern DevOps practices. Its declarative configuration model, robust planning capabilities, and ecosystem of providers make it ideal for managing infrastructure across clouds and platforms.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">By embracing Terraform, teams can improve <strong>speed<\/strong>, <strong>collaboration<\/strong>, <strong>visibility<\/strong>, and <strong>reliability<\/strong> in managing infrastructure\u2014while writing infrastructure as code that is modular, reusable, and version-controlled.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Whether you&#8217;re deploying a single VM or orchestrating a multi-cloud environment, Terraform is a tool that will grow with your infrastructure needs.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n","protected":false},"excerpt":{"rendered":"<p>1. What is Terraform Terraform is an open-source Infrastructure as Code (IaC) tool developed by [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":1159,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[59],"tags":[63,62],"class_list":["post-1145","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-cloud-computing","tag-cloud-computing","tag-infrastructure-as-code"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v19.14 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Terraform key features - I \u2764 Code<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/thoaicoder.com\/index.php\/2025\/02\/24\/terraform-key-features\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Terraform key features - I \u2764 Code\" \/>\n<meta property=\"og:description\" content=\"1. What is Terraform Terraform is an open-source Infrastructure as Code (IaC) tool developed by [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/thoaicoder.com\/index.php\/2025\/02\/24\/terraform-key-features\/\" \/>\n<meta property=\"og:site_name\" content=\"I \u2764 Code\" \/>\n<meta property=\"article:published_time\" content=\"2025-02-24T04:22:54+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-05-28T04:18:20+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/thoaicoder.com\/wp-content\/uploads\/2025\/02\/feature-blog.webp\" \/>\n\t<meta property=\"og:image:width\" content=\"910\" \/>\n\t<meta property=\"og:image:height\" content=\"506\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/webp\" \/>\n<meta name=\"author\" content=\"Thoai\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Thoai\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/thoaicoder.com\/index.php\/2025\/02\/24\/terraform-key-features\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/thoaicoder.com\/index.php\/2025\/02\/24\/terraform-key-features\/\"},\"author\":{\"name\":\"Thoai\",\"@id\":\"https:\/\/thoaicoder.com\/#\/schema\/person\/a3304c209434f63c501b05622d7d2720\"},\"headline\":\"Terraform key features\",\"datePublished\":\"2025-02-24T04:22:54+00:00\",\"dateModified\":\"2025-05-28T04:18:20+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/thoaicoder.com\/index.php\/2025\/02\/24\/terraform-key-features\/\"},\"wordCount\":508,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/thoaicoder.com\/#\/schema\/person\/a3304c209434f63c501b05622d7d2720\"},\"keywords\":[\"Cloud computing\",\"Infrastructure as code\"],\"articleSection\":[\"Cloud computing\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/thoaicoder.com\/index.php\/2025\/02\/24\/terraform-key-features\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/thoaicoder.com\/index.php\/2025\/02\/24\/terraform-key-features\/\",\"url\":\"https:\/\/thoaicoder.com\/index.php\/2025\/02\/24\/terraform-key-features\/\",\"name\":\"Terraform key features - I \u2764 Code\",\"isPartOf\":{\"@id\":\"https:\/\/thoaicoder.com\/#website\"},\"datePublished\":\"2025-02-24T04:22:54+00:00\",\"dateModified\":\"2025-05-28T04:18:20+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/thoaicoder.com\/index.php\/2025\/02\/24\/terraform-key-features\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/thoaicoder.com\/index.php\/2025\/02\/24\/terraform-key-features\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/thoaicoder.com\/index.php\/2025\/02\/24\/terraform-key-features\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/thoaicoder.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Terraform key features\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/thoaicoder.com\/#website\",\"url\":\"https:\/\/thoaicoder.com\/\",\"name\":\"I \u2764 Code\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/thoaicoder.com\/#\/schema\/person\/a3304c209434f63c501b05622d7d2720\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/thoaicoder.com\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\/\/thoaicoder.com\/#\/schema\/person\/a3304c209434f63c501b05622d7d2720\",\"name\":\"Thoai\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/thoaicoder.com\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/thoaicoder.com\/wp-content\/uploads\/2023\/03\/photo_2023-01-05_22-53-32.jpg\",\"contentUrl\":\"https:\/\/thoaicoder.com\/wp-content\/uploads\/2023\/03\/photo_2023-01-05_22-53-32.jpg\",\"width\":640,\"height\":640,\"caption\":\"Thoai\"},\"logo\":{\"@id\":\"https:\/\/thoaicoder.com\/#\/schema\/person\/image\/\"},\"sameAs\":[\"https:\/\/thoaicoder.com\",\"https:\/\/www.linkedin.com\/in\/huu-thoai-nguyen\/\"],\"url\":\"https:\/\/thoaicoder.com\/index.php\/author\/admin_cvyxq4b8\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Terraform key features - I \u2764 Code","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/thoaicoder.com\/index.php\/2025\/02\/24\/terraform-key-features\/","og_locale":"en_US","og_type":"article","og_title":"Terraform key features - I \u2764 Code","og_description":"1. What is Terraform Terraform is an open-source Infrastructure as Code (IaC) tool developed by [&hellip;]","og_url":"https:\/\/thoaicoder.com\/index.php\/2025\/02\/24\/terraform-key-features\/","og_site_name":"I \u2764 Code","article_published_time":"2025-02-24T04:22:54+00:00","article_modified_time":"2025-05-28T04:18:20+00:00","og_image":[{"width":910,"height":506,"url":"https:\/\/thoaicoder.com\/wp-content\/uploads\/2025\/02\/feature-blog.webp","type":"image\/webp"}],"author":"Thoai","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Thoai","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/thoaicoder.com\/index.php\/2025\/02\/24\/terraform-key-features\/#article","isPartOf":{"@id":"https:\/\/thoaicoder.com\/index.php\/2025\/02\/24\/terraform-key-features\/"},"author":{"name":"Thoai","@id":"https:\/\/thoaicoder.com\/#\/schema\/person\/a3304c209434f63c501b05622d7d2720"},"headline":"Terraform key features","datePublished":"2025-02-24T04:22:54+00:00","dateModified":"2025-05-28T04:18:20+00:00","mainEntityOfPage":{"@id":"https:\/\/thoaicoder.com\/index.php\/2025\/02\/24\/terraform-key-features\/"},"wordCount":508,"commentCount":0,"publisher":{"@id":"https:\/\/thoaicoder.com\/#\/schema\/person\/a3304c209434f63c501b05622d7d2720"},"keywords":["Cloud computing","Infrastructure as code"],"articleSection":["Cloud computing"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/thoaicoder.com\/index.php\/2025\/02\/24\/terraform-key-features\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/thoaicoder.com\/index.php\/2025\/02\/24\/terraform-key-features\/","url":"https:\/\/thoaicoder.com\/index.php\/2025\/02\/24\/terraform-key-features\/","name":"Terraform key features - I \u2764 Code","isPartOf":{"@id":"https:\/\/thoaicoder.com\/#website"},"datePublished":"2025-02-24T04:22:54+00:00","dateModified":"2025-05-28T04:18:20+00:00","breadcrumb":{"@id":"https:\/\/thoaicoder.com\/index.php\/2025\/02\/24\/terraform-key-features\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/thoaicoder.com\/index.php\/2025\/02\/24\/terraform-key-features\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/thoaicoder.com\/index.php\/2025\/02\/24\/terraform-key-features\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/thoaicoder.com\/"},{"@type":"ListItem","position":2,"name":"Terraform key features"}]},{"@type":"WebSite","@id":"https:\/\/thoaicoder.com\/#website","url":"https:\/\/thoaicoder.com\/","name":"I \u2764 Code","description":"","publisher":{"@id":"https:\/\/thoaicoder.com\/#\/schema\/person\/a3304c209434f63c501b05622d7d2720"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/thoaicoder.com\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":["Person","Organization"],"@id":"https:\/\/thoaicoder.com\/#\/schema\/person\/a3304c209434f63c501b05622d7d2720","name":"Thoai","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/thoaicoder.com\/#\/schema\/person\/image\/","url":"https:\/\/thoaicoder.com\/wp-content\/uploads\/2023\/03\/photo_2023-01-05_22-53-32.jpg","contentUrl":"https:\/\/thoaicoder.com\/wp-content\/uploads\/2023\/03\/photo_2023-01-05_22-53-32.jpg","width":640,"height":640,"caption":"Thoai"},"logo":{"@id":"https:\/\/thoaicoder.com\/#\/schema\/person\/image\/"},"sameAs":["https:\/\/thoaicoder.com","https:\/\/www.linkedin.com\/in\/huu-thoai-nguyen\/"],"url":"https:\/\/thoaicoder.com\/index.php\/author\/admin_cvyxq4b8\/"}]}},"_links":{"self":[{"href":"https:\/\/thoaicoder.com\/index.php\/wp-json\/wp\/v2\/posts\/1145","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/thoaicoder.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/thoaicoder.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/thoaicoder.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/thoaicoder.com\/index.php\/wp-json\/wp\/v2\/comments?post=1145"}],"version-history":[{"count":2,"href":"https:\/\/thoaicoder.com\/index.php\/wp-json\/wp\/v2\/posts\/1145\/revisions"}],"predecessor-version":[{"id":1153,"href":"https:\/\/thoaicoder.com\/index.php\/wp-json\/wp\/v2\/posts\/1145\/revisions\/1153"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/thoaicoder.com\/index.php\/wp-json\/wp\/v2\/media\/1159"}],"wp:attachment":[{"href":"https:\/\/thoaicoder.com\/index.php\/wp-json\/wp\/v2\/media?parent=1145"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/thoaicoder.com\/index.php\/wp-json\/wp\/v2\/categories?post=1145"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/thoaicoder.com\/index.php\/wp-json\/wp\/v2\/tags?post=1145"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}