From be36c88ce29b22b00a36ffcc333c787f9690cca5 Mon Sep 17 00:00:00 2001 From: Rodrigo Dumont Date: Wed, 31 Jul 2019 12:03:32 -0300 Subject: [PATCH] Import Terraform configuration --- main.tf | 229 +++++++++++++++++++++++++++++++++++++++++++++++++++ outputs.tf | 60 ++++++++++++++ variables.tf | 42 ++++++++++ 3 files changed, 331 insertions(+) create mode 100644 main.tf create mode 100644 outputs.tf create mode 100644 variables.tf diff --git a/main.tf b/main.tf new file mode 100644 index 0000000..e53e2d3 --- /dev/null +++ b/main.tf @@ -0,0 +1,229 @@ +############### +# Cluster IAM # +############### + +resource "aws_iam_role" "cluster" { + name = "${var.cluster-name}-cluster" + assume_role_policy = <