Skip to content

pbs-common/terraform-aws-sns-topic-module

Repository files navigation

PBS TF sns topic module

Installation

Using the Repo Source

Use this URL for the source of the module. See the usage examples below for more details.

github.com/pbs/terraform-aws-sns-topic-module?ref=1.0.0

Alternative Installation Methods

More information can be found on these install methods and more in the documentation here.

Usage

Provisions an SNS Topic.

Integrate this module like so:

module "topic" {
  source = "github.com/pbs/terraform-aws-sns-topic-module?ref=1.0.0"

  # Tagging Parameters
  organization = var.organization
  environment  = var.environment
  product      = var.product
  repo         = var.repo

  # Optional Parameters
}

Adding This Version of the Module

If this repo is added as a subtree, then the version of the module should be close to the version shown here:

1.0.0

Note, however that subtrees can be altered as desired within repositories.

Further documentation on usage can be found here.

Below is automatically generated documentation on this Terraform module using terraform-docs


Requirements

Name Version
terraform >= 1.13.0
aws >= 6.0.0

Providers

Name Version
aws 6.18.0

Modules

No modules.

Resources

Name Type
aws_sns_topic.topic resource
aws_default_tags.common_tags data source

Inputs

Name Description Type Default Required
environment Environment (sharedtools, dev, staging, qa, prod) string n/a yes
organization Organization using this module. Used to prefix tags so that they are easily identified as being from your organization string n/a yes
owner Tag used to group resources according to product string n/a yes
product Tag used to group resources according to product string n/a yes
repo Tag used to point to the repo using this module string n/a yes
fifo_topic Boolean indicating whether or not to create a FIFO (first-in-first-out) topic. bool false no
name Name of the SNS Topic string null no
tags Extra tags map(string) {} no

Outputs

Name Description
arn ARN of the SNS Topic
name Name of the SNS Topic

About

Standard PBS TF SNS Topic Module

Resources

License

Security policy

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •