Skip to content
This repository has been archived by the owner on Jun 3, 2024. It is now read-only.

The `aws/kinesis-data-stream` add-on provisions AWS Kinesis Data Stream access for a Sym `runtime-connector` module.

License

Notifications You must be signed in to change notification settings

symopsio/terraform-aws-kinesis-data-stream-addon

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

kinesis-data-stream-addon

The kinesis-data-stream-addon module generates an AWS IAM Policy that grants permissions to publish to the given AWS Kinesis Data Streams. The policy will be attached to the AWS IAM Role specified by var.iam_role_name, if specified.

Kinesis Data Stream ARNs must be provided, as IAM policies for Data Streams cannot use wildcards with tags or resource names.

module "kinesis_data_stream_access" {
  source  = "symopsio/kinesis-data-stream-addon/aws"
  version = ">= 1.0.0"

  environment = "prod"
  stream_arns = ["arn:aws:kinesis:*:111122223333:stream/my-stream"]
  iam_role_name = module.runtime_connector.sym_runtime_connector_role.name
}

Requirements

Name Version
terraform >= 0.13.7
aws >= 3.0

Providers

Name Version
aws >= 3.0

Modules

No modules.

Resources

Name Type
aws_iam_policy.this resource
aws_iam_role_policy_attachment.attach_datastream_access resource
aws_caller_identity.current data source
aws_region.current data source

Inputs

Name Description Type Default Required
environment The unique name of the environment in which you are deploying this AWS IAM Policy (e.g. staging, or prod). string n/a yes
iam_role_name If specified, the generated AWS IAM Policy will be attached to the AWS IAM Role identified by this value. string "" no
stream_arns List of Data Stream ARNs the Sym Runtime is allowed to publish to. list(string) [] no
tags Additional tags to apply to resources. map(string) {} no

Outputs

Name Description
policy_arn The ARN of the generated AWS IAM Policy that grants permissions to publish to the given Kinesis Data Streams.

About

The `aws/kinesis-data-stream` add-on provisions AWS Kinesis Data Stream access for a Sym `runtime-connector` module.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages