Explorar o código

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

Fred Damstra %!s(int64=5) %!d(string=hai) anos
pai
achega
b2ad095f1e
Modificáronse 2 ficheiros con 2 adicións e 2 borrados
  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
 }