Using Terraform for managining Amazon Web Service infrastructure
In the last days I tested Terraform (Use Infrastructure as Code to provision and manage any cloud, infrastructure, or service) for managing some resources in a AWS cloud ebvironemnt. In this sample I’ll create and schedule a lambda function Create a file "variables.tf" with the content: variable "aws_region" {default = "eu-west-1"} variable "aws_profile" {default = ""} variable "project" {default = "my_project"} variable "vpc" {default= "XXXXX"} variable "subnets" {default= "XXXX"} variable "aws_account" {default= "XXX"} variable "security_groups" {default= "XXXX"} # variable "db_redshift_host" {default= ""} variable "db_redshift_port" {default= ""} variable "db_redshift_name" {default= ""} variable "db_redshift_username" {default= ""} variable "db_redshift_password" {default= ""} Create a file lambda....