Skip to content

Commit

Permalink
Separate iam into root-iam and iam (#18)
Browse files Browse the repository at this point in the history
  • Loading branch information
aknysh authored and goruha committed Jun 23, 2018
1 parent f8b9a49 commit f50ecdf
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions aws/root-iam/main.tf
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
terraform {
required_version = ">= 0.11.2"

backend "s3" {}
}

variable "aws_assume_role_arn" {
type = "string"
}

variable "namespace" {
type = "string"
description = "Namespace (e.g. `cp` or `cloudposse`)"
}

provider "aws" {
assume_role {
role_arn = "${var.aws_assume_role_arn}"
}
}
File renamed without changes.
File renamed without changes.

0 comments on commit f50ecdf

Please sign in to comment.