<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>BioErrorLog</author_name>
  <author_url>https://blog.hatena.ne.jp/BioErrorLog/</author_url>
  <blog_title>BioErrorLog Tech Blog</blog_title>
  <blog_url>https://www.bioerrorlog.work/</blog_url>
  <categories>
    <anon>Terraform</anon>
    <anon>IaC</anon>
    <anon>クラウド</anon>
  </categories>
  <description>Terraformのsubstrを使って、文字列を切り出す/抽出するやり方を整理します。 はじめに substrの使い方 基本の使い方 マイナス値を活用する おわりに 参考 はじめに こんにちは、@bioerrorlogです。 substr関数を使えば、Terraformで文字列を切り出すことができます。 このsubstr関数の使い方で少し戸惑うことがあったので、今回は改めて使い方を整理します。 # 作業環境 $ terraform --version Terraform v1.1.9 substrの使い方 基本の使い方 substrの基本的な使い方はドキュメントの通りです。 substr(s…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwww.bioerrorlog.work%2Fentry%2Fterraform-substr&quot; title=&quot;Terraformで文字列を切り出す | substrの使い方 - BioErrorLog Tech Blog&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url>https://cdn-ak.f.st-hatena.com/images/fotolife/B/BioErrorLog/20220528/20220528162419.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2022-05-28 16:24:34</published>
  <title>Terraformで文字列を切り出す | substrの使い方</title>
  <type>rich</type>
  <url>https://www.bioerrorlog.work/entry/terraform-substr</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
