AWS Amazon SNS Platform Application

This page shows how to write Terraform for Amazon SNS Platform Application and write them securely.

aws_sns_platform_application (Terraform)

The Platform Application in Amazon SNS can be configured in Terraform with the resource name aws_sns_platform_application. The following sections describe 1 example of how to use the resource and its parameters.

Example Usage from GitHub

sns.tf#L12
resource "aws_sns_platform_application" "on_call_android" {
  name                      = "sns-app"
  platform                  = "GCM"
  failure_feedback_role_arn = aws_iam_role.sns_failure_feedback.arn
  success_feedback_role_arn = aws_iam_role.sns_success_feedback.arn
  platform_credential       = var.sns_platform_credential

Review your Terraform file for AWS best practices

Shisho Cloud, our free checker to make sure your Terraform configuration follows best practices, is available (beta).

Parameters

Explanation in Terraform Registry

Provides an SNS platform application resource

CloudFormation Example

CloudFormation code does not have the related resource.

Frequently asked questions

What is AWS Amazon SNS Platform Application?

AWS Amazon SNS Platform Application is a resource for Amazon SNS of Amazon Web Service. Settings can be wrote in Terraform.

Where can I find the example code for the AWS Amazon SNS Platform Application?

For Terraform, the jwoa95/on-call-app-terraform source code example is useful. See the Terraform Example section for further details.

security-icon

Automate config file reviews on your commits

Fix issues in your infrastructure as code with auto-generated patches.