{"id":9,"date":"2022-03-20T10:34:00","date_gmt":"2022-03-20T15:34:00","guid":{"rendered":"https:\/\/34.82.124.6\/?p=9"},"modified":"2022-04-29T10:36:40","modified_gmt":"2022-04-29T15:36:40","slug":"terraform-difference-between-data-aws_iam_policy_document-and-in-line-json-policy","status":"publish","type":"post","link":"https:\/\/cloudlearning365.com\/?p=9","title":{"rendered":"Terraform \u2013 difference between data.aws_iam_policy_document and in-line JSON policy"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">So I\u2019ve got this block of terraform code, which simply just allow the role to assume role<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>data \"aws_iam_policy_document\" \"bootstrap_role\" {\n  statement {\n    actions = &#091;\"sts:AssumeRole\"]\n\n    principals {\n      type        = \"Service\"\n      identifiers = &#091;\"ec2.amazonaws.com\"]\n    }\n  }\n}\n\nresource \"aws_iam_role\" \"bootstrap\" {\n  name               = \"bootstrap-${random_string.bucket.result}\"\n  assume_role_policy = data.aws_iam_policy_document.bootstrap_role.json\n}<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">When check in AWS Console, I can see following Trust relationships created with:<br>\u201cSid\u201d: \u201c\u201d<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/cloudlearning365.com\/wp-content\/uploads\/2022\/03\/image-22.png\" alt=\"\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">When I would create the role in AWS Console, I would not have this section:<br>\u201cSid\u201d: \u201c\u201d<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Tried to update the terraform code to following, and it made no difference:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>data \"aws_iam_policy_document\" \"bootstrap_role\" {\n  statement {\n    actions = &#091;\"sts:AssumeRole\"]\n\n    principals {\n      type        = \"Service\"\n      identifiers = &#091;\"ec2.amazonaws.com\"]\n    }\n\n    <mark>sid = null<\/mark>\n  }\n}\n\nresource \"aws_iam_role\" \"bootstrap\" {\n  name               = \"bootstrap-${random_string.bucket.result}\"\n  assume_role_policy = data.aws_iam_policy_document.bootstrap_role.json\n}<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">After some research, I\u2019ve settled with this code with incline JSON policy instead<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>resource \"aws_iam_role\" \"bootstrap\" {\n  name = \"bootstrap-${random_string.bucket.result}\"\n  assume_role_policy = jsonencode(\n    {\n      \"Version\" : \"2012-10-17\",\n      \"Statement\" : &#091;\n        {\n          \"Effect\" : \"Allow\",\n          \"Principal\" : {\n            \"Service\" : \"ec2.amazonaws.com\"\n          },\n          \"Action\" : \"sts:AssumeRole\"\n        }\n      ]\n    }\n  )\n}<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Now it\u2019s nice and clean<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/cloudlearning365.com\/wp-content\/uploads\/2022\/03\/image-24.png\" alt=\"\" \/><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>So I\u2019ve got this block of terraform code, which simply just allow the role to assume role When check in AWS Console, I can see following Trust relationships created with:\u201cSid\u201d: \u201c\u201d When I would create the role in AWS Console, &hellip; <a href=\"https:\/\/cloudlearning365.com\/?p=9\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"footnotes":""},"categories":[8],"tags":[],"class_list":["post-9","post","type-post","status-publish","format-standard","hentry","category-terraform"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 5.0.4 - aioseo.com -->\n\t<meta name=\"description\" content=\"So I\u2019ve got this block of terraform code, which simply just allow the role to assume role data &quot;aws_iam_policy_document&quot; &quot;bootstrap_role&quot; { statement { actions = [&quot;sts:AssumeRole&quot;] principals { type = &quot;Service&quot; identifiers = [&quot;ec2.amazonaws.com&quot;] } } } resource &quot;aws_iam_role&quot; &quot;bootstrap&quot; { name = &quot;bootstrap-${random_string.bucket.result}&quot; assume_role_policy = data.aws_iam_policy_document.bootstrap_role.json } When check in AWS Console, I can\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Jun Ye\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/cloudlearning365.com\/?p=9\" \/>\n\t\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 5.0.4\" \/>\n\t\t<meta property=\"og:locale\" content=\"en_US\" \/>\n\t\t<meta property=\"og:site_name\" content=\"cloudlearning365 - Cloud Learning 365\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"Terraform \u2013 difference between data.aws_iam_policy_document and in-line JSON policy - cloudlearning365\" \/>\n\t\t<meta property=\"og:description\" content=\"So I\u2019ve got this block of terraform code, which simply just allow the role to assume role data &quot;aws_iam_policy_document&quot; &quot;bootstrap_role&quot; { statement { actions = [&quot;sts:AssumeRole&quot;] principals { type = &quot;Service&quot; identifiers = [&quot;ec2.amazonaws.com&quot;] } } } resource &quot;aws_iam_role&quot; &quot;bootstrap&quot; { name = &quot;bootstrap-${random_string.bucket.result}&quot; assume_role_policy = data.aws_iam_policy_document.bootstrap_role.json } When check in AWS Console, I can\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/cloudlearning365.com\/?p=9\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2022-03-20T15:34:00+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2022-04-29T15:36:40+00:00\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n\t\t<meta name=\"twitter:title\" content=\"Terraform \u2013 difference between data.aws_iam_policy_document and in-line JSON policy - cloudlearning365\" \/>\n\t\t<meta name=\"twitter:description\" content=\"So I\u2019ve got this block of terraform code, which simply just allow the role to assume role data &quot;aws_iam_policy_document&quot; &quot;bootstrap_role&quot; { statement { actions = [&quot;sts:AssumeRole&quot;] principals { type = &quot;Service&quot; identifiers = [&quot;ec2.amazonaws.com&quot;] } } } resource &quot;aws_iam_role&quot; &quot;bootstrap&quot; { name = &quot;bootstrap-${random_string.bucket.result}&quot; assume_role_policy = data.aws_iam_policy_document.bootstrap_role.json } When check in AWS Console, I can\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"BlogPosting\",\"@id\":\"https:\\\/\\\/cloudlearning365.com\\\/?p=9#blogposting\",\"name\":\"Terraform \\u2013 difference between data.aws_iam_policy_document and in-line JSON policy - cloudlearning365\",\"headline\":\"Terraform \\u2013 difference between data.aws_iam_policy_document and in-line JSON policy\",\"author\":{\"@id\":\"https:\\\/\\\/cloudlearning365.com\\\/?author=2#author\"},\"publisher\":{\"@id\":\"https:\\\/\\\/cloudlearning365.com\\\/#organization\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/cloudlearning365.com\\\/wp-content\\\/uploads\\\/2022\\\/03\\\/image-22.png\",\"@id\":\"https:\\\/\\\/cloudlearning365.com\\\/?p=9\\\/#articleImage\"},\"datePublished\":\"2022-03-20T10:34:00-05:00\",\"dateModified\":\"2022-04-29T10:36:40-05:00\",\"inLanguage\":\"en-US\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/cloudlearning365.com\\\/?p=9#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/cloudlearning365.com\\\/?p=9#webpage\"},\"articleSection\":\"terraform\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/cloudlearning365.com\\\/?p=9#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/cloudlearning365.com\\\/#listItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/cloudlearning365.com\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/cloudlearning365.com\\\/?cat=8#listItem\",\"name\":\"terraform\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/cloudlearning365.com\\\/?cat=8#listItem\",\"position\":2,\"name\":\"terraform\",\"item\":\"https:\\\/\\\/cloudlearning365.com\\\/?cat=8\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/cloudlearning365.com\\\/?p=9#listItem\",\"name\":\"Terraform \\u2013 difference between data.aws_iam_policy_document and in-line JSON policy\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/cloudlearning365.com\\\/#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/cloudlearning365.com\\\/?p=9#listItem\",\"position\":3,\"name\":\"Terraform \\u2013 difference between data.aws_iam_policy_document and in-line JSON policy\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/cloudlearning365.com\\\/?cat=8#listItem\",\"name\":\"terraform\"}}]},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/cloudlearning365.com\\\/#organization\",\"name\":\"cloudlearning365\",\"description\":\"Cloud Learning 365\",\"url\":\"https:\\\/\\\/cloudlearning365.com\\\/\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/cloudlearning365.com\\\/?author=2#author\",\"url\":\"https:\\\/\\\/cloudlearning365.com\\\/?author=2\",\"name\":\"Jun Ye\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/cloudlearning365.com\\\/?p=9#authorImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/7466a2c255038bbc3f25d69c0a3064fbee426fc68053479ec307b1ef08f822d7?s=96&d=mm&r=g\",\"width\":96,\"height\":96,\"caption\":\"Jun Ye\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/cloudlearning365.com\\\/?p=9#webpage\",\"url\":\"https:\\\/\\\/cloudlearning365.com\\\/?p=9\",\"name\":\"Terraform \\u2013 difference between data.aws_iam_policy_document and in-line JSON policy - cloudlearning365\",\"description\":\"So I\\u2019ve got this block of terraform code, which simply just allow the role to assume role data \\\"aws_iam_policy_document\\\" \\\"bootstrap_role\\\" { statement { actions = [\\\"sts:AssumeRole\\\"] principals { type = \\\"Service\\\" identifiers = [\\\"ec2.amazonaws.com\\\"] } } } resource \\\"aws_iam_role\\\" \\\"bootstrap\\\" { name = \\\"bootstrap-${random_string.bucket.result}\\\" assume_role_policy = data.aws_iam_policy_document.bootstrap_role.json } When check in AWS Console, I can\",\"inLanguage\":\"en-US\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/cloudlearning365.com\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/cloudlearning365.com\\\/?p=9#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/cloudlearning365.com\\\/?author=2#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/cloudlearning365.com\\\/?author=2#author\"},\"datePublished\":\"2022-03-20T10:34:00-05:00\",\"dateModified\":\"2022-04-29T10:36:40-05:00\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/cloudlearning365.com\\\/#website\",\"url\":\"https:\\\/\\\/cloudlearning365.com\\\/\",\"name\":\"cloudlearning365\",\"description\":\"Cloud Learning 365\",\"inLanguage\":\"en-US\",\"publisher\":{\"@id\":\"https:\\\/\\\/cloudlearning365.com\\\/#organization\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"Terraform \u2013 difference between data.aws_iam_policy_document and in-line JSON policy - cloudlearning365","description":"So I\u2019ve got this block of terraform code, which simply just allow the role to assume role data \"aws_iam_policy_document\" \"bootstrap_role\" { statement { actions = [\"sts:AssumeRole\"] principals { type = \"Service\" identifiers = [\"ec2.amazonaws.com\"] } } } resource \"aws_iam_role\" \"bootstrap\" { name = \"bootstrap-${random_string.bucket.result}\" assume_role_policy = data.aws_iam_policy_document.bootstrap_role.json } When check in AWS Console, I can","canonical_url":"https:\/\/cloudlearning365.com\/?p=9","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"BlogPosting","@id":"https:\/\/cloudlearning365.com\/?p=9#blogposting","name":"Terraform \u2013 difference between data.aws_iam_policy_document and in-line JSON policy - cloudlearning365","headline":"Terraform \u2013 difference between data.aws_iam_policy_document and in-line JSON policy","author":{"@id":"https:\/\/cloudlearning365.com\/?author=2#author"},"publisher":{"@id":"https:\/\/cloudlearning365.com\/#organization"},"image":{"@type":"ImageObject","url":"https:\/\/cloudlearning365.com\/wp-content\/uploads\/2022\/03\/image-22.png","@id":"https:\/\/cloudlearning365.com\/?p=9\/#articleImage"},"datePublished":"2022-03-20T10:34:00-05:00","dateModified":"2022-04-29T10:36:40-05:00","inLanguage":"en-US","mainEntityOfPage":{"@id":"https:\/\/cloudlearning365.com\/?p=9#webpage"},"isPartOf":{"@id":"https:\/\/cloudlearning365.com\/?p=9#webpage"},"articleSection":"terraform"},{"@type":"BreadcrumbList","@id":"https:\/\/cloudlearning365.com\/?p=9#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/cloudlearning365.com\/#listItem","position":1,"name":"Home","item":"https:\/\/cloudlearning365.com\/","nextItem":{"@type":"ListItem","@id":"https:\/\/cloudlearning365.com\/?cat=8#listItem","name":"terraform"}},{"@type":"ListItem","@id":"https:\/\/cloudlearning365.com\/?cat=8#listItem","position":2,"name":"terraform","item":"https:\/\/cloudlearning365.com\/?cat=8","nextItem":{"@type":"ListItem","@id":"https:\/\/cloudlearning365.com\/?p=9#listItem","name":"Terraform \u2013 difference between data.aws_iam_policy_document and in-line JSON policy"},"previousItem":{"@type":"ListItem","@id":"https:\/\/cloudlearning365.com\/#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/cloudlearning365.com\/?p=9#listItem","position":3,"name":"Terraform \u2013 difference between data.aws_iam_policy_document and in-line JSON policy","previousItem":{"@type":"ListItem","@id":"https:\/\/cloudlearning365.com\/?cat=8#listItem","name":"terraform"}}]},{"@type":"Organization","@id":"https:\/\/cloudlearning365.com\/#organization","name":"cloudlearning365","description":"Cloud Learning 365","url":"https:\/\/cloudlearning365.com\/"},{"@type":"Person","@id":"https:\/\/cloudlearning365.com\/?author=2#author","url":"https:\/\/cloudlearning365.com\/?author=2","name":"Jun Ye","image":{"@type":"ImageObject","@id":"https:\/\/cloudlearning365.com\/?p=9#authorImage","url":"https:\/\/secure.gravatar.com\/avatar\/7466a2c255038bbc3f25d69c0a3064fbee426fc68053479ec307b1ef08f822d7?s=96&d=mm&r=g","width":96,"height":96,"caption":"Jun Ye"}},{"@type":"WebPage","@id":"https:\/\/cloudlearning365.com\/?p=9#webpage","url":"https:\/\/cloudlearning365.com\/?p=9","name":"Terraform \u2013 difference between data.aws_iam_policy_document and in-line JSON policy - cloudlearning365","description":"So I\u2019ve got this block of terraform code, which simply just allow the role to assume role data \"aws_iam_policy_document\" \"bootstrap_role\" { statement { actions = [\"sts:AssumeRole\"] principals { type = \"Service\" identifiers = [\"ec2.amazonaws.com\"] } } } resource \"aws_iam_role\" \"bootstrap\" { name = \"bootstrap-${random_string.bucket.result}\" assume_role_policy = data.aws_iam_policy_document.bootstrap_role.json } When check in AWS Console, I can","inLanguage":"en-US","isPartOf":{"@id":"https:\/\/cloudlearning365.com\/#website"},"breadcrumb":{"@id":"https:\/\/cloudlearning365.com\/?p=9#breadcrumblist"},"author":{"@id":"https:\/\/cloudlearning365.com\/?author=2#author"},"creator":{"@id":"https:\/\/cloudlearning365.com\/?author=2#author"},"datePublished":"2022-03-20T10:34:00-05:00","dateModified":"2022-04-29T10:36:40-05:00"},{"@type":"WebSite","@id":"https:\/\/cloudlearning365.com\/#website","url":"https:\/\/cloudlearning365.com\/","name":"cloudlearning365","description":"Cloud Learning 365","inLanguage":"en-US","publisher":{"@id":"https:\/\/cloudlearning365.com\/#organization"}}]},"og:locale":"en_US","og:site_name":"cloudlearning365 - Cloud Learning 365","og:type":"article","og:title":"Terraform \u2013 difference between data.aws_iam_policy_document and in-line JSON policy - cloudlearning365","og:description":"So I\u2019ve got this block of terraform code, which simply just allow the role to assume role data &quot;aws_iam_policy_document&quot; &quot;bootstrap_role&quot; { statement { actions = [&quot;sts:AssumeRole&quot;] principals { type = &quot;Service&quot; identifiers = [&quot;ec2.amazonaws.com&quot;] } } } resource &quot;aws_iam_role&quot; &quot;bootstrap&quot; { name = &quot;bootstrap-${random_string.bucket.result}&quot; assume_role_policy = data.aws_iam_policy_document.bootstrap_role.json } When check in AWS Console, I can","og:url":"https:\/\/cloudlearning365.com\/?p=9","article:published_time":"2022-03-20T15:34:00+00:00","article:modified_time":"2022-04-29T15:36:40+00:00","twitter:card":"summary_large_image","twitter:title":"Terraform \u2013 difference between data.aws_iam_policy_document and in-line JSON policy - cloudlearning365","twitter:description":"So I\u2019ve got this block of terraform code, which simply just allow the role to assume role data &quot;aws_iam_policy_document&quot; &quot;bootstrap_role&quot; { statement { actions = [&quot;sts:AssumeRole&quot;] principals { type = &quot;Service&quot; identifiers = [&quot;ec2.amazonaws.com&quot;] } } } resource &quot;aws_iam_role&quot; &quot;bootstrap&quot; { name = &quot;bootstrap-${random_string.bucket.result}&quot; assume_role_policy = data.aws_iam_policy_document.bootstrap_role.json } When check in AWS Console, I can"},"aioseo_meta_data":{"post_id":"9","title":null,"description":null,"keywords":null,"keyphrases":null,"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":null,"og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"","isEnabled":true},"graphs":[]},"schema_type":"default","schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"local_seo":null,"limit_modified_date":false,"created":"2023-04-07 16:49:14","updated":"2026-10-22 22:45:01","focus_keyword":null,"additional_keywords":null,"truseo_locale":null,"ai":null,"breadcrumb_settings":null,"seo_analyzer_scan_date":null},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/cloudlearning365.com\/\" title=\"Home\">Home<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">\u00bb<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/cloudlearning365.com\/?cat=8\" title=\"terraform\">terraform<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">\u00bb<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\tTerraform \u2013 difference between data.aws_iam_policy_document and in-line JSON policy\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"https:\/\/cloudlearning365.com\/"},{"label":"terraform","link":"https:\/\/cloudlearning365.com\/?cat=8"},{"label":"Terraform \u2013 difference between data.aws_iam_policy_document and in-line JSON policy","link":"https:\/\/cloudlearning365.com\/?p=9"}],"_links":{"self":[{"href":"https:\/\/cloudlearning365.com\/index.php?rest_route=\/wp\/v2\/posts\/9","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/cloudlearning365.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/cloudlearning365.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/cloudlearning365.com\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/cloudlearning365.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=9"}],"version-history":[{"count":1,"href":"https:\/\/cloudlearning365.com\/index.php?rest_route=\/wp\/v2\/posts\/9\/revisions"}],"predecessor-version":[{"id":10,"href":"https:\/\/cloudlearning365.com\/index.php?rest_route=\/wp\/v2\/posts\/9\/revisions\/10"}],"wp:attachment":[{"href":"https:\/\/cloudlearning365.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=9"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/cloudlearning365.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=9"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/cloudlearning365.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=9"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}