Skip to content

Instantly share code, notes, and snippets.

@aaleksandrov
Last active July 3, 2020 13:01
Show Gist options
  • Save aaleksandrov/3d6fba42cd08b96a27ac342e0f8f564c to your computer and use it in GitHub Desktop.
Save aaleksandrov/3d6fba42cd08b96a27ac342e0f8f564c to your computer and use it in GitHub Desktop.
2nd-plan
# module.spark-jobs.aws_sns_topic_subscription.test_sns_sub will be updated in-place
~ resource "aws_sns_topic_subscription" "test_sns_sub" {
arn = "arn:aws:sns:eu-west-1:984138409301:test_sns_topic:7af4cff0-2b1d-43dd-9ab9-786293a618a1"
confirmation_timeout_in_minutes = 1
~ delivery_policy = jsonencode(
~ {
- guaranteed = false -> null
healthyRetryPolicy = {
backoffFunction = "exponential"
maxDelayTarget = 300
minDelayTarget = 20
numMaxDelayRetries = 0
numMinDelayRetries = 5
numNoDelayRetries = 2
numRetries = 60
}
- sicklyRetryPolicy = null -> null
~ throttlePolicy = null -> {}
}
)
endpoint = "https://some-valid.url"
endpoint_auto_confirms = true
id = "arn:aws:sns:eu-west-1:984138409301:test_sns_topic:7af4cff0-2b1d-43dd-9ab9-786293a618a1"
protocol = "https"
raw_message_delivery = false
topic_arn = "arn:aws:sns:eu-west-1:984138409301:test_sns_topic"
}
Plan: 0 to add, 1 to change, 0 to destroy.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment