Skip to content
This repository has been archived by the owner on Mar 8, 2023. It is now read-only.

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

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Deprecation Warning

The symopsio/kinesis-data-stream-addon/sym module is deprecated as of September 30, 2022. Please migrate to symopsio/kinesis-data-stream-addon/aws. This should be done automatically if you are have migrated to the symopsio/runtime-connector/aws module.

kinesis-data-stream-addon

The kinesis-data-stream-addon module adds AWS Kinesis Data Stream access to a Sym runtime connector module.

This Addon will add a policy to the role generated by a Connector.

You typically include this Addon by adding aws/kinesis-data-stream to the addons property of the runtime connector module, rather than referring to the policy ARN itself.

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

module "runtime_connector" {
  source  = "symopsio/runtime-connector/sym"
  version = ">= 1.0.0"

  addons      = ["aws/kinesis-data-stream"]
  environment = "sandbox"

  addon_params = {
    "aws/kinesis-data-stream" = {
       "stream_arns" = ["arn:aws:kinesis:*:111122223333:stream/my-stream"]
    }
  }
}

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_caller_identity.current data source
aws_region.current data source

Inputs

Name Description Type Default Required
environment An environment qualifier for the resources this module creates, to support a Terraform SDLC. The environment value is also the tag value that secrets must be tagged with to be accessible by this addon. string n/a yes
stream_arns List of Data Stream ARNs allowed to be accessed by the Sym Runtime. list(string) [] no
tag_name Name of the tag that resources must be tagged with to be accessible by this addon. string "SymEnv" no
tags Additional tags to apply to resources map(string) {} no

Outputs

Name Description
policy_arn Kinesis Firehose's access policy arn