glue-iam-role

dod-iac/glue-iam-role/aws

Terraform Module HCL AWS

IAM Role for use as a Glue service role

Install
module "glue-iam-role" {
source = "dod-iac/glue-iam-role/aws"
version = "1.0.0"
}
plain text: /constructs/tfmod-dod-iac-glue-iam-role-aws/install.txt
⭐ Source on GitHub 📦 Registry page
README

Usage Creates an IAM Role for use as a Glue service role that can read from any bucket and use any KMS key. ``hcl module "glue_iam_role" { source = "dod-iac/glue-iam-role/aws" name = "glue-iam-role" buckets = [""] keys = [""] tags = { Automation = "Terraform" } } ` Creates an IAM Role for use as a Glue service role that can read from a specific bucket and use any KMS key. `hcl module "glue_iam_role" { source = "dod-iac/glue-iam-role/aws" name = format("app-%s-glue-%s", var.application, var.environment) buckets = [aws_s3_bucket.main.arn] keys = [""] tags = { Application = var.application environment = var.environment Automation = "Terraform" } } ` Terraform Version Terraform 0.13. Pin module version to ~> 1.0.0 . Submit pull-requests to master branch. Terraform 0.11 and 0.12 are not support

Inputs (8)
NameTypeDescriptionDefault
namestringThe name of the AWS IAM role. required
tagsmap(string)Tags applied to the AWS IAM role.{}
policy_descriptionstringThe description of the AWS IAM policy. Defaults to "The policy for [NAME]".""
policy_namestringThe name of the AWS IAM policy. Defaults to "[NAME]-policy".""
assume_role_policystringThe assume role policy for the AWS IAM role. If blank, allows EC2 instances in ""
bucketslist(string)The ARNs of the AWS S3 buckets the role is allowed to read from. Use ["*"] to a[]
descriptionstringThe description of the AWS IAM role.""
keyslist(string)The ARNs of the AWS KMS keys the role is allowed to use to decrypt files. Use [[]
Outputs (2)
arn — The Amazon Resource Name (ARN) of the AWS IAM Role.
name — The name of the AWS IAM Role.
Resources (3)
aws_iam_policyaws_iam_roleaws_iam_role_policy_attachment
Topics & Tags
terraformglueawsiam
Details
FrameworkTerraform Module
LanguageHCL
Version1.0.0
Cloud AWS
★ Stars1
Forks3
Total downloads15.7k
Inputs8
Outputs2
Resources3
LicenseMIT
Namespacedod-iac
Updated