<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/">
  <channel>
    <title>Terraform on zoph.me</title>
    <link>/tags/terraform/</link>
    <description>Recent content in Terraform on zoph.me</description>
    <image>
      <title>zoph.me</title>
      <url>https://zoph.me/posts/resources/images/code-social.png</url>
      <link>https://zoph.me/posts/resources/images/code-social.png</link>
    </image>
    <generator>Hugo -- 0.148.2</generator>
    <language>en-us</language>
    <lastBuildDate>Sun, 29 Mar 2020 13:37:00 +0200</lastBuildDate>
    <atom:link href="/tags/terraform/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>GitHub Actions with AWS: Hands-On</title>
      <link>/posts/2020-03-08-github-actions/</link>
      <pubDate>Sun, 29 Mar 2020 13:37:00 +0200</pubDate>
      <guid>/posts/2020-03-08-github-actions/</guid>
      <description>&lt;p&gt;&lt;img alt=&#34;GitHub Actions&#34; loading=&#34;lazy&#34; src=&#34;/posts/resources/images/posts/github-actions/github.jpg&#34;&gt;&lt;/p&gt;
&lt;p&gt;Hi Folks,&lt;/p&gt;
&lt;p&gt;Lately, I was experimenting with GitHub Actions (GHA), as it has been a buzzword since General Availability (GA), but I didn&amp;rsquo;t take the time to try it before. I&amp;rsquo;ve done it for you folks. 🙌&lt;/p&gt;
&lt;h1 id=&#34;context&#34;&gt;Context&lt;/h1&gt;
&lt;p&gt;GHA was released on GA in November 2019, the main features are:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Automate development workflows (CI/CD): &lt;code&gt;build&lt;/code&gt;, &lt;code&gt;test&lt;/code&gt;, &lt;code&gt;deploy&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Hosted runners / self-hosted runners&lt;/li&gt;
&lt;li&gt;Automate the management of your GH Community: PR, Code Reviews, or Issue Tracking&lt;/li&gt;
&lt;li&gt;Built-in secrets store&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;&lt;img alt=&#34;Build&#34; loading=&#34;lazy&#34; src=&#34;/posts/resources/images/posts/github-actions/build.png&#34;&gt;&lt;/p&gt;</description>
    </item>
    <item>
      <title>Serverless job scheduling using AWS Fargate</title>
      <link>/posts/2019-09-22-serverless-jobs-scheduling-using-aws-fargate/</link>
      <pubDate>Sun, 22 Sep 2019 13:37:00 +0200</pubDate>
      <guid>/posts/2019-09-22-serverless-jobs-scheduling-using-aws-fargate/</guid>
      <description>&lt;p&gt;I was wondering if I could schedule simple bash scripts using &lt;a href=&#34;https://aws.amazon.com/fargate/&#34;&gt;AWS Fargate&lt;/a&gt; for some trivial batch operations.&lt;/p&gt;
&lt;p&gt;To be completely honest, it is also an excuse to learn more about AWS Fargate, and to convert a legacy bash script based on EC2 Spot instances to a container world.&lt;/p&gt;
&lt;p&gt;In this post, we will see how to schedule a bash script job once a day. To do so, we will deploy the corresponding AWS infrastructure (even if it&amp;rsquo;s serverless, yes :wink:) using &lt;a href=&#34;https://www.terraform.io/&#34;&gt;Terraform&lt;/a&gt;.&lt;/p&gt;</description>
    </item>
    <item>
      <title>SecretManagement for Terraform and Ansible</title>
      <link>/posts/2018-10-05-secret-management/</link>
      <pubDate>Fri, 05 Oct 2018 22:31:32 +0200</pubDate>
      <guid>/posts/2018-10-05-secret-management/</guid>
      <description>&lt;p&gt;In this quick article, I&amp;rsquo;ll show you how I use &lt;a href=&#34;https://docs.aws.amazon.com/systems-manager/latest/userguide/systems-manager-paramstore.html&#34;&gt;AWS SSM Parameter Store&lt;/a&gt; as glue between Terraform and Ansible.&lt;/p&gt;
&lt;h3 id=&#34;use-case&#34;&gt;Use Case&lt;/h3&gt;
&lt;p&gt;For a personal project, I needed to pass some parameters (key/value) and secrets (encrypted) from my IaC Terraform to Ansible.&lt;/p&gt;
&lt;h3 id=&#34;aws-ssm-ps&#34;&gt;AWS SSM PS?&lt;/h3&gt;
&lt;p&gt;AWS SSM Parameter Store is a secure key-value store, a native EC2 functionality.&lt;/p&gt;
&lt;p&gt;From AWS &lt;a href=&#34;https://docs.aws.amazon.com/systems-manager/latest/userguide/systems-manager-paramstore.html&#34;&gt;Documentation&lt;/a&gt;:&lt;/p&gt;
&lt;p&gt;Parameter Store offers the following benefits and features:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Use a secure, scalable, hosted secrets management service (No servers to manage).&lt;/li&gt;
&lt;li&gt;Improve your security posture by separating your data from your code.&lt;/li&gt;
&lt;li&gt;Store configuration data and secure strings in hierarchies and track versions.&lt;/li&gt;
&lt;li&gt;Control and audit access at granular levels.&lt;/li&gt;
&lt;li&gt;Configure change notifications and trigger automated actions.&lt;/li&gt;
&lt;li&gt;Tag parameters individually, and then secure access from different levels, including operational, parameter, EC2 tag, or path levels.&lt;/li&gt;
&lt;li&gt;Reference AWS Secrets Manager secrets by using Parameter Store parameters.&lt;/li&gt;
&lt;li&gt;Use Parameter Store parameters with other Systems Manager capabilities and AWS services to retrieve secrets and configuration data from a central store. The following AWS services support Parameter Store parameters: Amazon EC2, Amazon Elastic Container Service, AWS Lambda, AWS CloudFormation, AWS CodeBuild, and AWS CodeDeploy.&lt;/li&gt;
&lt;li&gt;Configure integration with AWS KMS, Amazon SNS, Amazon CloudWatch, and AWS CloudTrail for encryption, notification, monitoring, and audit capabilities.&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id=&#34;terraform&#34;&gt;Terraform&lt;/h3&gt;
&lt;p&gt;Set SSM secrets the right way:&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
