浏览代码

Changes account name to account alias so that it can be optional.

Fred Damstra 5 年之前
父节点
当前提交
b2ad095f1e
共有 2 个文件被更改,包括 2 次插入2 次删除
  1. 1 1
      base/iam/main.tf
  2. 1 1
      base/iam/vars.tf

+ 1 - 1
base/iam/main.tf

@@ -1,6 +1,6 @@
 module "iam_roles" {
   source = "../../submodules/iam/child_account_roles"
-  account_alias = var.account_name
+  account_alias = var.account_alias
 
   assume_role_trusted_arns  = [
     "arn:${var.aws_partition}:iam::${var.common_services_account}:role/user/mdr_engineer_readonly",

+ 1 - 1
base/iam/vars.tf

@@ -3,7 +3,7 @@
 # ----------------------------------
 # Below this line are variables inherited from higher levels, so they
 # do not need to be explicitly passed to this module.
-variable "account_name" {
+variable "account_alias" {
   type = string
 }