account-security
DNXLabs/account-security/aws
This terraform module creates IAM roles for federated users to assume from an IdP account.
terraform-aws-account-security   This terraform module creates IAM roles for federated users to assume from an IdP account. It creates 2 roles: idp-admin with full admin permissions idp-read-only with read-only permissions Usage ``hcl module "my_account_roles" { source = "git::https://github.com/DNXLabs/terraform-aws-account-roles.git?ref=0.2.0" org_name = "my_organization" account_name = "my_account" idp_account_id = "000000000000" idp_admin_trust_account_ids = ["1234567890123"] # optional idp_admin_trust_names = ["dnx"] # optional } ` Deploy this module to every AWS account, except _IdP_ and _master_. You will need an AW
| Name | Type | Description | Default |
|---|---|---|---|
| account_name | string | Account name (slug) | required |
| org_name | string | Name for this organization (slug) | required |
| idp_external_trust_account_ids | list(string) | List of account IDs to trust as external IDPs (leave empty to disable external a | [] |
| idp_external_trust_client_role | string | Creates a client-admin/client-read-only role for external IDPs | true |
| ssm_account_ids | list(string) | List of account IDs to save in SSM | [] |
| ssm_account_names | list(string) | List of account names (slugs) to save in SSM, must match ssm_account_ids | [] |
| extra_roles_policy | map | A map of { <role_name> = <json policy> } to create policies to extra roles in th | {} |
| extra_roles | list | A list of extra roles to create in this account | [] |
| extra_roles_policy_arn | map | A map of { <role_name> = <policy arn> } to attach policies to extra roles in thi | {} |
| ci_account_id | string | Account ID of MGMT account for use with IAM CI role. Required when create_ci_iam | "" |
| create_idp_trusted_roles | string | Create admin and read-only roles trusting IDP account | true |
| idp_account_id | string | Account ID of IDP account (needs to be set when is_idp_account=true) | "" |
| role_max_session_duration | string | Maximum CLI/API session duration | "43200" |
| create_ci_profile | string | Create IAM instance profile and user for use with CI workers deployed to the acc | false |
| create_ci_role | string | Create IAM role to assume from MGMT account for CI deployments | true |
iam_role_admin_arn — ARN for admin IAM roleiam_role_read_only_arn — ARN for read-only IAM roleTerraform module to deploy landing zone subscriptions (and much more) in Azure
Terraform Azure Verified Pattern Module for Azure Landing Zone
Terraform Azure Verified Resource Module for Key Vault
Terraform module for building and deploying Next.js apps to AWS. Supports SSR (L