Browse the Repo

file-type-icon.circleci
file-type-iconexamples
file-type-iconmodules
file-type-iconkinesis
file-type-iconsns
file-type-iconREADME.md
file-type-iconmain.tf
file-type-iconoutputs.tf
file-type-iconvars.tf
file-type-iconsqs
file-type-icontest
file-type-icon.gitignore
file-type-iconCODEOWNERS
file-type-iconLICENSE.txt
file-type-iconREADME.md

Browse the Repo

file-type-icon.circleci
file-type-iconexamples
file-type-iconmodules
file-type-iconkinesis
file-type-iconsns
file-type-iconREADME.md
file-type-iconmain.tf
file-type-iconoutputs.tf
file-type-iconvars.tf
file-type-iconsqs
file-type-icontest
file-type-icon.gitignore
file-type-iconCODEOWNERS
file-type-iconLICENSE.txt
file-type-iconREADME.md
SNS

SNS

Create SNS topics with configurable IAM and delivery policies.

Code Preview

Preview the Code

mobile file icon

vars.tf

down
  • # ---------------------------------------------------------------------------------------------------------------------
  • # REQUIRED PARAMETERS
  • # These variables are expected to be passed in by the operator when calling this terraform module
  • # ---------------------------------------------------------------------------------------------------------------------
  • variable "name" {
  • description = "The name of the SNS topic."
  • type = string
  • }
  • # ---------------------------------------------------------------------------------------------------------------------
  • # OPTIONAL MODULE PARAMETERS
  • # These variables have defaults, but may be overridden by the operator.
  • # ---------------------------------------------------------------------------------------------------------------------
  • # NOTE: Although the API allows setting a display name longer than 10 characters, the AWS Console actually displays
  • # an error when editing the value, so we limit it to 10 characters here
  • variable "display_name" {
  • description = "The display name of the SNS topic. NOTE: Maximum length is 10 characters."
  • type = string
  • default = ""
  • }
  • variable "allow_publish_accounts" {
  • description = "A list of IAM ARNs that will be given the rights to publish to the SNS topic."

Questions? Ask away.

We're here to talk about our services, answer any questions, give advice, or just to chat.

Ready to hand off the Gruntwork?