{"id":506,"date":"2022-09-30T09:24:34","date_gmt":"2022-09-30T14:24:34","guid":{"rendered":"https:\/\/cloudlearning365.com\/?p=506"},"modified":"2022-10-14T09:32:53","modified_gmt":"2022-10-14T14:32:53","slug":"terraform-note-to-self","status":"publish","type":"post","link":"https:\/\/cloudlearning365.com\/?p=506","title":{"rendered":"Terraform &#8211; Note to Self"},"content":{"rendered":"\n<h4 class=\"wp-block-heading\">Get list of all possible combination, from multiple lists<\/h4>\n\n\n\n<!--more-->\n\n\n\n<pre class=\"wp-block-code\"><code>&gt; setproduct(&#91;\"a\",\"b\",\"c\"],&#91;\"x\",\"y\"])\n\ntolist(&#91;\n  &#91;\n    \"a\",\n    \"x\",\n  ],\n  &#91;\n    \"a\",\n    \"y\",\n  ],\n  &#91;\n    \"b\",\n    \"x\",\n  ],\n  &#91;\n    \"b\",\n    \"y\",\n  ],\n  &#91;\n    \"c\",\n    \"x\",\n  ],\n  &#91;\n    \"c\",\n    \"y\",\n  ],\n])<\/code><\/pre>\n\n\n\n<h4 class=\"wp-block-heading\">Find the index of a list, where it&#8217;s sub attribute contains certain value<\/h4>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Sometimes, you really wish terraform have something like jq&#8230;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">PS: Suggestions<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>use <a href=\"https:\/\/www.terraform.io\/language\/resources\/provisioners\/local-exec\">local-exec<\/a> then call jq<\/li><li>there&#8217;s a <a href=\"https:\/\/github.com\/massdriver-cloud\/terraform-provider-jq\">terraform provider jq<\/a><\/li><\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">Example following Azure VPN Gateway BGP Settings is a list.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Need to retrieve the ASN number where the tunnel IP address is matching known public IP.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Hence need to get the index of the list, where the tunnel IP address is matching known public IP<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&gt; azurerm_virtual_network_gateway.this.bgp_settings\ntolist(&#91;\n  {\n    \"asn\" = 65010\n    \"peer_weight\" = 0\n    \"peering_addresses\" = tolist(&#91;\n      {\n        \"apipa_addresses\" = tolist(&#91;])\n        \"default_addresses\" = tolist(&#91;\n          \"10.0.10.4\",\n        ])\n        \"ip_configuration_name\" = \"vnetGatewayConfig1\"\n        \"tunnel_ip_addresses\" = tolist(&#91;\n          \"20.163.152.123\",\n        ])\n      },\n      {\n        \"apipa_addresses\" = tolist(&#91;])\n        \"default_addresses\" = tolist(&#91;\n          \"10.0.10.5\",\n        ])\n        \"ip_configuration_name\" = \"vnetGatewayConfig2\"\n        \"tunnel_ip_addresses\" = tolist(&#91;\n          \"20.163.152.137\",\n        ])\n      },\n    ])\n  },\n])<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Reference idea<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>locals {\n  objList = &#91;\n    { name = \"Chris\" },\n    { name = \"Dan\" }\n  ]\n\n  # splat expression index lookup\n  myObjIndexSplat = index(local.objList.*.name, \"Dan\")\n\n  # for expression index lookup\n  myObjIndexFor = index(&#91;for v in local.objList : v.name], \"Dan\")\n}<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Actual code breakdown:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Getting the list of tunnel IP address<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&gt; &#91;for v in azurerm_virtual_network_gateway.this.bgp_settings: flatten(v.peering_addresses&#91;*].tunnel_ip_addresses)]\n&#91;\n  &#91;\n    \"20.163.152.123\",\n    \"20.163.152.137\",\n  ],\n]<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Check if the list contains certain public IP<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&gt; &#91;for v in azurerm_virtual_network_gateway.this.bgp_settings: contains(flatten(v.peering_addresses&#91;*].tunnel_ip_addresses),\"20.163.152.123\")]\n&#91;\n  true,\n]<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Getting the index <\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&gt; index(&#91;for v in azurerm_virtual_network_gateway.this.bgp_settings: contains(flatten(v.peering_addresses&#91;*].tunnel_ip_addresses),\"20.163.152.123\")],true)\n0<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Getting the ASN number<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&gt; azurerm_virtual_network_gateway.this.bgp_settings&#91;index(&#91;for v in azurerm_virtual_network_gateway.this.bgp_settings: contains(flatten(v.peering_addresses&#91;*].tunnel_ip_addresses),\"20.163.152.123\")],true)].asn\n65010<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Get list of all possible combination, from multiple lists<\/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-506","post","type-post","status-publish","format-standard","hentry","category-terraform"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 5.0.5.1 - aioseo.com -->\n\t<meta name=\"description\" content=\"Get list of all possible combination, from multiple lists &gt; setproduct([&quot;a&quot;,&quot;b&quot;,&quot;c&quot;],[&quot;x&quot;,&quot;y&quot;]) tolist([ [ &quot;a&quot;, &quot;x&quot;, ], [ &quot;a&quot;, &quot;y&quot;, ], [ &quot;b&quot;, &quot;x&quot;, ], [ &quot;b&quot;, &quot;y&quot;, ], [ &quot;c&quot;, &quot;x&quot;, ], [ &quot;c&quot;, &quot;y&quot;, ], ]) Find the index of a list, where it&#039;s sub attribute contains certain value Sometimes, you really wish terraform\" \/>\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=506\" \/>\n\t\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 5.0.5.1\" \/>\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 Note to Self - cloudlearning365\" \/>\n\t\t<meta property=\"og:description\" content=\"Get list of all possible combination, from multiple lists &gt; setproduct([&quot;a&quot;,&quot;b&quot;,&quot;c&quot;],[&quot;x&quot;,&quot;y&quot;]) tolist([ [ &quot;a&quot;, &quot;x&quot;, ], [ &quot;a&quot;, &quot;y&quot;, ], [ &quot;b&quot;, &quot;x&quot;, ], [ &quot;b&quot;, &quot;y&quot;, ], [ &quot;c&quot;, &quot;x&quot;, ], [ &quot;c&quot;, &quot;y&quot;, ], ]) Find the index of a list, where it&#039;s sub attribute contains certain value Sometimes, you really wish terraform\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/cloudlearning365.com\/?p=506\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2022-09-30T14:24:34+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2022-10-14T14:32:53+00:00\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n\t\t<meta name=\"twitter:title\" content=\"Terraform \u2013 Note to Self - cloudlearning365\" \/>\n\t\t<meta name=\"twitter:description\" content=\"Get list of all possible combination, from multiple lists &gt; setproduct([&quot;a&quot;,&quot;b&quot;,&quot;c&quot;],[&quot;x&quot;,&quot;y&quot;]) tolist([ [ &quot;a&quot;, &quot;x&quot;, ], [ &quot;a&quot;, &quot;y&quot;, ], [ &quot;b&quot;, &quot;x&quot;, ], [ &quot;b&quot;, &quot;y&quot;, ], [ &quot;c&quot;, &quot;x&quot;, ], [ &quot;c&quot;, &quot;y&quot;, ], ]) Find the index of a list, where it&#039;s sub attribute contains certain value Sometimes, you really wish terraform\" \/>\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=506#blogposting\",\"name\":\"Terraform \\u2013 Note to Self - cloudlearning365\",\"headline\":\"Terraform &#8211; Note to Self\",\"author\":{\"@id\":\"https:\\\/\\\/cloudlearning365.com\\\/?author=2#author\"},\"publisher\":{\"@id\":\"https:\\\/\\\/cloudlearning365.com\\\/#organization\"},\"datePublished\":\"2022-09-30T09:24:34-05:00\",\"dateModified\":\"2022-10-14T09:32:53-05:00\",\"inLanguage\":\"en-US\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/cloudlearning365.com\\\/?p=506#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/cloudlearning365.com\\\/?p=506#webpage\"},\"articleSection\":\"terraform\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/cloudlearning365.com\\\/?p=506#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=506#listItem\",\"name\":\"Terraform &#8211; Note to Self\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/cloudlearning365.com\\\/#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/cloudlearning365.com\\\/?p=506#listItem\",\"position\":3,\"name\":\"Terraform &#8211; Note to Self\",\"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=506#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=506#webpage\",\"url\":\"https:\\\/\\\/cloudlearning365.com\\\/?p=506\",\"name\":\"Terraform \\u2013 Note to Self - cloudlearning365\",\"description\":\"Get list of all possible combination, from multiple lists > setproduct([\\\"a\\\",\\\"b\\\",\\\"c\\\"],[\\\"x\\\",\\\"y\\\"]) tolist([ [ \\\"a\\\", \\\"x\\\", ], [ \\\"a\\\", \\\"y\\\", ], [ \\\"b\\\", \\\"x\\\", ], [ \\\"b\\\", \\\"y\\\", ], [ \\\"c\\\", \\\"x\\\", ], [ \\\"c\\\", \\\"y\\\", ], ]) Find the index of a list, where it's sub attribute contains certain value Sometimes, you really wish terraform\",\"inLanguage\":\"en-US\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/cloudlearning365.com\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/cloudlearning365.com\\\/?p=506#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/cloudlearning365.com\\\/?author=2#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/cloudlearning365.com\\\/?author=2#author\"},\"datePublished\":\"2022-09-30T09:24:34-05:00\",\"dateModified\":\"2022-10-14T09:32:53-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 Note to Self - cloudlearning365","description":"Get list of all possible combination, from multiple lists > setproduct([\"a\",\"b\",\"c\"],[\"x\",\"y\"]) tolist([ [ \"a\", \"x\", ], [ \"a\", \"y\", ], [ \"b\", \"x\", ], [ \"b\", \"y\", ], [ \"c\", \"x\", ], [ \"c\", \"y\", ], ]) Find the index of a list, where it's sub attribute contains certain value Sometimes, you really wish terraform","canonical_url":"https:\/\/cloudlearning365.com\/?p=506","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"BlogPosting","@id":"https:\/\/cloudlearning365.com\/?p=506#blogposting","name":"Terraform \u2013 Note to Self - cloudlearning365","headline":"Terraform &#8211; Note to Self","author":{"@id":"https:\/\/cloudlearning365.com\/?author=2#author"},"publisher":{"@id":"https:\/\/cloudlearning365.com\/#organization"},"datePublished":"2022-09-30T09:24:34-05:00","dateModified":"2022-10-14T09:32:53-05:00","inLanguage":"en-US","mainEntityOfPage":{"@id":"https:\/\/cloudlearning365.com\/?p=506#webpage"},"isPartOf":{"@id":"https:\/\/cloudlearning365.com\/?p=506#webpage"},"articleSection":"terraform"},{"@type":"BreadcrumbList","@id":"https:\/\/cloudlearning365.com\/?p=506#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=506#listItem","name":"Terraform &#8211; Note to Self"},"previousItem":{"@type":"ListItem","@id":"https:\/\/cloudlearning365.com\/#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/cloudlearning365.com\/?p=506#listItem","position":3,"name":"Terraform &#8211; Note to Self","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=506#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=506#webpage","url":"https:\/\/cloudlearning365.com\/?p=506","name":"Terraform \u2013 Note to Self - cloudlearning365","description":"Get list of all possible combination, from multiple lists > setproduct([\"a\",\"b\",\"c\"],[\"x\",\"y\"]) tolist([ [ \"a\", \"x\", ], [ \"a\", \"y\", ], [ \"b\", \"x\", ], [ \"b\", \"y\", ], [ \"c\", \"x\", ], [ \"c\", \"y\", ], ]) Find the index of a list, where it's sub attribute contains certain value Sometimes, you really wish terraform","inLanguage":"en-US","isPartOf":{"@id":"https:\/\/cloudlearning365.com\/#website"},"breadcrumb":{"@id":"https:\/\/cloudlearning365.com\/?p=506#breadcrumblist"},"author":{"@id":"https:\/\/cloudlearning365.com\/?author=2#author"},"creator":{"@id":"https:\/\/cloudlearning365.com\/?author=2#author"},"datePublished":"2022-09-30T09:24:34-05:00","dateModified":"2022-10-14T09:32:53-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 Note to Self - cloudlearning365","og:description":"Get list of all possible combination, from multiple lists &gt; setproduct([&quot;a&quot;,&quot;b&quot;,&quot;c&quot;],[&quot;x&quot;,&quot;y&quot;]) tolist([ [ &quot;a&quot;, &quot;x&quot;, ], [ &quot;a&quot;, &quot;y&quot;, ], [ &quot;b&quot;, &quot;x&quot;, ], [ &quot;b&quot;, &quot;y&quot;, ], [ &quot;c&quot;, &quot;x&quot;, ], [ &quot;c&quot;, &quot;y&quot;, ], ]) Find the index of a list, where it's sub attribute contains certain value Sometimes, you really wish terraform","og:url":"https:\/\/cloudlearning365.com\/?p=506","article:published_time":"2022-09-30T14:24:34+00:00","article:modified_time":"2022-10-14T14:32:53+00:00","twitter:card":"summary_large_image","twitter:title":"Terraform \u2013 Note to Self - cloudlearning365","twitter:description":"Get list of all possible combination, from multiple lists &gt; setproduct([&quot;a&quot;,&quot;b&quot;,&quot;c&quot;],[&quot;x&quot;,&quot;y&quot;]) tolist([ [ &quot;a&quot;, &quot;x&quot;, ], [ &quot;a&quot;, &quot;y&quot;, ], [ &quot;b&quot;, &quot;x&quot;, ], [ &quot;b&quot;, &quot;y&quot;, ], [ &quot;c&quot;, &quot;x&quot;, ], [ &quot;c&quot;, &quot;y&quot;, ], ]) Find the index of a list, where it's sub attribute contains certain value Sometimes, you really wish terraform"},"aioseo_meta_data":{"post_id":"506","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:51:23","updated":"2026-10-22 22:55:02","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 Note to Self\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"https:\/\/cloudlearning365.com\/"},{"label":"terraform","link":"https:\/\/cloudlearning365.com\/?cat=8"},{"label":"Terraform &#8211; Note to Self","link":"https:\/\/cloudlearning365.com\/?p=506"}],"_links":{"self":[{"href":"https:\/\/cloudlearning365.com\/index.php?rest_route=\/wp\/v2\/posts\/506","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=506"}],"version-history":[{"count":4,"href":"https:\/\/cloudlearning365.com\/index.php?rest_route=\/wp\/v2\/posts\/506\/revisions"}],"predecessor-version":[{"id":684,"href":"https:\/\/cloudlearning365.com\/index.php?rest_route=\/wp\/v2\/posts\/506\/revisions\/684"}],"wp:attachment":[{"href":"https:\/\/cloudlearning365.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=506"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/cloudlearning365.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=506"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/cloudlearning365.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=506"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}