From 7623b3c5697c869629eddd4eebc5ab9bf24c1c0d Mon Sep 17 00:00:00 2001 From: test-name Date: Thu, 4 Jul 2019 09:40:31 +0300 Subject: [PATCH] Terraform-New-Node-Aws --- deploy/terraform-aws/iam.tf | 58 ++++++ deploy/terraform-aws/main.tf | 24 +++ deploy/terraform-aws/output.tf | 9 + deploy/terraform-aws/query.tf | 18 ++ deploy/terraform-aws/rds.tf | 39 ++++ deploy/terraform-aws/resources.tf | 111 ++++++++++++ deploy/terraform-aws/s3.tf | 49 +++++ deploy/terraform-aws/securitygroups.tf | 139 ++++++++++++++ deploy/terraform-aws/subnets.tf | 63 +++++++ deploy/terraform-aws/terraform.tfvars.example | 22 +++ deploy/terraform-aws/variables.tf | 84 +++++++++ deploy/terraform-aws/vpc.tf | 169 ++++++++++++++++++ 12 files changed, 785 insertions(+) create mode 100644 deploy/terraform-aws/iam.tf create mode 100644 deploy/terraform-aws/main.tf create mode 100644 deploy/terraform-aws/output.tf create mode 100644 deploy/terraform-aws/query.tf create mode 100644 deploy/terraform-aws/rds.tf create mode 100644 deploy/terraform-aws/resources.tf create mode 100644 deploy/terraform-aws/s3.tf create mode 100644 deploy/terraform-aws/securitygroups.tf create mode 100644 deploy/terraform-aws/subnets.tf create mode 100644 deploy/terraform-aws/terraform.tfvars.example create mode 100644 deploy/terraform-aws/variables.tf create mode 100644 deploy/terraform-aws/vpc.tf diff --git a/deploy/terraform-aws/iam.tf b/deploy/terraform-aws/iam.tf new file mode 100644 index 0000000..d8495ea --- /dev/null +++ b/deploy/terraform-aws/iam.tf @@ -0,0 +1,58 @@ +resource "aws_iam_role" "stellar_role" { + name = "stellar_assume_role" + assume_role_policy = <