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.0More information can be found on these install methods and more in the documentation here.
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
}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
| Name | Version |
|---|---|
| terraform | >= 1.13.0 |
| aws | >= 6.0.0 |
| Name | Version |
|---|---|
| aws | 6.18.0 |
No modules.
| Name | Type |
|---|---|
| aws_sns_topic.topic | resource |
| aws_default_tags.common_tags | data source |
| 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 |
| Name | Description |
|---|---|
| arn | ARN of the SNS Topic |
| name | Name of the SNS Topic |