Objective: Install CloudWatch Agent with procstat on an EC2 instance and configure a metric alarm in CloudWatch One of the first issues I ran into was with IAM Policies, or lack thereof . Specifically it was the managed policy CloudWatchAgentServerPolicy which needed to be added. The telltale sign that you forgot to add this Policy…

read more

Sometimes things get complicated in Terraform, like when I touch it and make a proper mess of the code. Here is a fairly straight forward example of how to reference parent resources in a child. First lets look at what should be in the top level main.tf file, the substance of which is not super…

read more

One of my recent challenges has been to write tf code to select existing subnets and use them in new blocks of code (specifically in this case to create a Directory, Workspaces and add a few Security Group entries). Since I am relatively new to using Terraform to do this it took far longer to…

read more
Close Bitnami banner
Bitnami