Skip to content

Commit f50ecdf

Browse files
aknyshgoruha
authored andcommitted
Separate iam into root-iam and iam (#18)
1 parent f8b9a49 commit f50ecdf

File tree

3 files changed

+20
-0
lines changed

3 files changed

+20
-0
lines changed

aws/root-iam/main.tf

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
terraform {
2+
required_version = ">= 0.11.2"
3+
4+
backend "s3" {}
5+
}
6+
7+
variable "aws_assume_role_arn" {
8+
type = "string"
9+
}
10+
11+
variable "namespace" {
12+
type = "string"
13+
description = "Namespace (e.g. `cp` or `cloudposse`)"
14+
}
15+
16+
provider "aws" {
17+
assume_role {
18+
role_arn = "${var.aws_assume_role_arn}"
19+
}
20+
}
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)