-
-
Notifications
You must be signed in to change notification settings - Fork 1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Upgraded module to support Terraform 0.12 (#29)
- Loading branch information
1 parent
0df99e5
commit bbbb239
Showing
43 changed files
with
524 additions
and
349 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
output "this_caller_identity_account_id" { | ||
description = "The ID of the AWS account" | ||
value = "${module.iam_account.this_caller_identity_account_id}" | ||
value = module.iam_account.this_caller_identity_account_id | ||
} | ||
|
||
output "this_iam_account_password_policy_expire_passwords" { | ||
description = "Indicates whether passwords in the account expire. Returns true if max_password_age contains a value greater than 0. Returns false if it is 0 or not present." | ||
value = "${module.iam_account.this_iam_account_password_policy_expire_passwords}" | ||
value = module.iam_account.this_iam_account_password_policy_expire_passwords | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,19 @@ | ||
output "this_iam_role_arn" { | ||
description = "ARN of IAM role" | ||
value = "${module.iam_assumable_role_admin.this_iam_role_arn}" | ||
value = module.iam_assumable_role_admin.this_iam_role_arn | ||
} | ||
|
||
output "this_iam_role_name" { | ||
description = "Name of IAM role" | ||
value = "${module.iam_assumable_role_admin.this_iam_role_name}" | ||
value = module.iam_assumable_role_admin.this_iam_role_name | ||
} | ||
|
||
output "this_iam_role_path" { | ||
description = "Path of IAM role" | ||
value = "${module.iam_assumable_role_admin.this_iam_role_path}" | ||
value = module.iam_assumable_role_admin.this_iam_role_path | ||
} | ||
|
||
output "role_requires_mfa" { | ||
description = "Whether admin IAM role requires MFA" | ||
value = "${module.iam_assumable_role_admin.role_requires_mfa}" | ||
value = module.iam_assumable_role_admin.role_requires_mfa | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,47 +1,47 @@ | ||
# Admin | ||
output "admin_iam_role_arn" { | ||
description = "ARN of admin IAM role" | ||
value = "${module.iam_assumable_roles_with_saml.admin_iam_role_arn}" | ||
value = module.iam_assumable_roles_with_saml.admin_iam_role_arn | ||
} | ||
|
||
output "admin_iam_role_name" { | ||
description = "Name of admin IAM role" | ||
value = "${module.iam_assumable_roles_with_saml.admin_iam_role_name}" | ||
value = module.iam_assumable_roles_with_saml.admin_iam_role_name | ||
} | ||
|
||
output "admin_iam_role_path" { | ||
description = "Path of admin IAM role" | ||
value = "${module.iam_assumable_roles_with_saml.admin_iam_role_path}" | ||
value = module.iam_assumable_roles_with_saml.admin_iam_role_path | ||
} | ||
|
||
# Poweruser | ||
output "poweruser_iam_role_arn" { | ||
description = "ARN of poweruser IAM role" | ||
value = "${module.iam_assumable_roles_with_saml.poweruser_iam_role_arn}" | ||
value = module.iam_assumable_roles_with_saml.poweruser_iam_role_arn | ||
} | ||
|
||
output "poweruser_iam_role_name" { | ||
description = "Name of poweruser IAM role" | ||
value = "${module.iam_assumable_roles_with_saml.poweruser_iam_role_name}" | ||
value = module.iam_assumable_roles_with_saml.poweruser_iam_role_name | ||
} | ||
|
||
output "poweruser_iam_role_path" { | ||
description = "Path of poweruser IAM role" | ||
value = "${module.iam_assumable_roles_with_saml.poweruser_iam_role_path}" | ||
value = module.iam_assumable_roles_with_saml.poweruser_iam_role_path | ||
} | ||
|
||
# Readonly | ||
output "readonly_iam_role_arn" { | ||
description = "ARN of readonly IAM role" | ||
value = "${module.iam_assumable_roles_with_saml.readonly_iam_role_arn}" | ||
value = module.iam_assumable_roles_with_saml.readonly_iam_role_arn | ||
} | ||
|
||
output "readonly_iam_role_name" { | ||
description = "Name of readonly IAM role" | ||
value = "${module.iam_assumable_roles_with_saml.readonly_iam_role_name}" | ||
value = module.iam_assumable_roles_with_saml.readonly_iam_role_name | ||
} | ||
|
||
output "readonly_iam_role_path" { | ||
description = "Path of readonly IAM role" | ||
value = "${module.iam_assumable_roles_with_saml.readonly_iam_role_path}" | ||
value = module.iam_assumable_roles_with_saml.readonly_iam_role_path | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,62 +1,62 @@ | ||
# Admin | ||
output "admin_iam_role_arn" { | ||
description = "ARN of admin IAM role" | ||
value = "${module.iam_assumable_roles.admin_iam_role_arn}" | ||
value = module.iam_assumable_roles.admin_iam_role_arn | ||
} | ||
|
||
output "admin_iam_role_name" { | ||
description = "Name of admin IAM role" | ||
value = "${module.iam_assumable_roles.admin_iam_role_name}" | ||
value = module.iam_assumable_roles.admin_iam_role_name | ||
} | ||
|
||
output "admin_iam_role_requires_mfa" { | ||
description = "Whether admin IAM role requires MFA" | ||
value = "${module.iam_assumable_roles.admin_iam_role_requires_mfa}" | ||
value = module.iam_assumable_roles.admin_iam_role_requires_mfa | ||
} | ||
|
||
output "admin_iam_role_path" { | ||
description = "Path of admin IAM role" | ||
value = "${module.iam_assumable_roles.admin_iam_role_path}" | ||
value = module.iam_assumable_roles.admin_iam_role_path | ||
} | ||
|
||
# Poweruser | ||
output "poweruser_iam_role_arn" { | ||
description = "ARN of poweruser IAM role" | ||
value = "${module.iam_assumable_roles.poweruser_iam_role_arn}" | ||
value = module.iam_assumable_roles.poweruser_iam_role_arn | ||
} | ||
|
||
output "poweruser_iam_role_name" { | ||
description = "Name of poweruser IAM role" | ||
value = "${module.iam_assumable_roles.poweruser_iam_role_name}" | ||
value = module.iam_assumable_roles.poweruser_iam_role_name | ||
} | ||
|
||
output "poweruser_iam_role_requires_mfa" { | ||
description = "Whether poweruser IAM role requires MFA" | ||
value = "${module.iam_assumable_roles.poweruser_iam_role_requires_mfa}" | ||
value = module.iam_assumable_roles.poweruser_iam_role_requires_mfa | ||
} | ||
|
||
output "poweruser_iam_role_path" { | ||
description = "Path of poweruser IAM role" | ||
value = "${module.iam_assumable_roles.poweruser_iam_role_path}" | ||
value = module.iam_assumable_roles.poweruser_iam_role_path | ||
} | ||
|
||
# Readonly | ||
output "readonly_iam_role_arn" { | ||
description = "ARN of readonly IAM role" | ||
value = "${module.iam_assumable_roles.readonly_iam_role_arn}" | ||
value = module.iam_assumable_roles.readonly_iam_role_arn | ||
} | ||
|
||
output "readonly_iam_role_name" { | ||
description = "Name of readonly IAM role" | ||
value = "${module.iam_assumable_roles.readonly_iam_role_name}" | ||
value = module.iam_assumable_roles.readonly_iam_role_name | ||
} | ||
|
||
output "readonly_iam_role_path" { | ||
description = "Path of readonly IAM role" | ||
value = "${module.iam_assumable_roles.readonly_iam_role_path}" | ||
value = module.iam_assumable_roles.readonly_iam_role_path | ||
} | ||
|
||
output "readonly_iam_role_requires_mfa" { | ||
description = "Whether readonly IAM role requires MFA" | ||
value = "${module.iam_assumable_roles.readonly_iam_role_requires_mfa}" | ||
value = module.iam_assumable_roles.readonly_iam_role_requires_mfa | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,14 @@ | ||
output "this_group_users" { | ||
description = "List of IAM users in IAM group" | ||
value = ["${module.iam_group_complete.this_group_users}"] | ||
value = module.iam_group_complete.this_group_users | ||
} | ||
|
||
output "this_assumable_roles" { | ||
description = "List of ARNs of IAM roles which members of IAM group can assume" | ||
value = ["${module.iam_group_complete.this_assumable_roles}"] | ||
value = module.iam_group_complete.this_assumable_roles | ||
} | ||
|
||
output "this_policy_arn" { | ||
description = "Assume role policy ARN for IAM group" | ||
value = "${module.iam_group_complete.this_policy_arn}" | ||
value = module.iam_group_complete.this_policy_arn | ||
} |
Oops, something went wrong.