kinesis-iam-role

dod-iac/kinesis-iam-role/aws

Terraform Module HCL AWS

IAM Role for reading from a Kinesis stream

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

Usage Creates an IAM Role for reading from any Kinesis stream in the account. ``hcl module "kinesis_iam_role" { source = "dod-iac/kinesis-iam-role/aws" name = "kinesis-iam-role" streams = [""] tags = { Automation = "Terraform" } } ` Creates an IAM Role for reading from a specific Kinesis stream. `hcl module "kinesis_iam_role" { source = "dod-iac/kinesis-iam-role/aws" name = format("app-%s-kinesis-%s", var.application, var.environment) streams = [module.stream.arn] tags = { Application = var.application environment = var.environment Automation = "Terraform" } } ` Creates an IAM Role for allowing another AWS account to read from a specific Kinesis stream. `hcl data "aws_iam_policy_document" "assume_role_policy" { statement { effect = "Allow" actions = ["sts:AssumeRole"] principals { type = "

Inputs (4)
NameTypeDescriptionDefault
namestringThe name of the AWS IAM role. required
streamslist(string)The ARNs of the streams the role is allowed to read from. Use ["*"] to allow al required
assume_role_policystringThe assume role policy for the AWS IAM role. If blank, allows any principal in ""
tagsmap(string)Tags applied to the AWS IAM role.{}
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
Details
FrameworkTerraform Module
LanguageHCL
Version1.0.0
Cloud AWS
★ Stars1
Forks2
Total downloads5.9k
Inputs4
Outputs2
Resources3
LicenseMIT
Namespacedod-iac
Updated