SHIFT-WIKI - Sjoerd Hooft's InFormation Technology
This WIKI is my personal documentation blog. Please enjoy it and feel free to reach out through blue sky if you have a question, remark, improvement or observation.
Terraform and AWS IAM
Summary: IAM policies can be troublesome to configure with terrafom, but luckily you can use the AWS web console to configure the policy with all the permissions you need. Read on to find out how to deploy them with terraform.
Date: Around 2019
Refactor: 13 January 2025: Checked links and formatting.
When working with policies it's best to create the JSON policy file using the console. You can go to IAM, go to policies, create a policy, configure it, and when you've added all the permissions you need, go to the JSON tab.
We'll use this one as an example, a policy that allows all EC2 actions:
{ "Version": "2012-10-17", "Statement": [ { "Sid": "VisualEditor0", "Effect": "Allow", "Action": "ec2:*", "Resource": "*" } ] }
Terraform in Azure Cloud Shell
Summary: In this post I'll show you a few basic terraform commands and configuration files. If you're trying to learn terraform on azure this is an easy and fast tutorial to get started.
Date: 11 January 2025
We'll cover the following topics:
- Setup the main.tf file with the azurerm provider configuration and the resource group
- We will create terraform files for a vnet and a subnet
- We will create a vm with a ip address in the subnet
- We will have terraform create a random password for the vm
- We will figure out where to find the password
- At the end we will manually create an additional subnet and have the vm use it
In the end we will use terraform destroy
to remove all resources.
Bicep Module for Azure App Configuration
Summary: This is a bicep module that deploys a dashboard to monitor Azure App Configurations.
Date: 9 January 2025
Check here for a previous post for modules on deploying and configuring an Azure App Configuration Store.
Azure DevOps Pipeline with Azure App Configuration
Summary: On this page I'll show you how to use the Azure App Configuration in an Azure DevOps Pipeline.
Date: 5 January 2025
Note: See here for the bicep module to deploy an Azure App Configuration Store.