We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6ca397d commit 6bde2a5Copy full SHA for 6bde2a5
cloud_watch_alarm.tf
@@ -4,7 +4,7 @@ resource "null_resource" "check_alarm_action" {
4
count = local.instance_count
5
6
triggers = {
7
- action = "arn:aws:swf:${local.region}:${data.aws_caller_identity.default.account_id}:${var.default_alarm_action}"
+ action = "arn:${data.aws_partition.default.partition}:swf:${local.region}:${data.aws_caller_identity.default.account_id}:${var.default_alarm_action}"
8
}
9
10
main.tf
@@ -17,6 +17,9 @@ data "aws_caller_identity" "default" {
17
data "aws_region" "default" {
18
19
20
+data "aws_partition" "default" {
21
+}
22
+
23
data "aws_subnet" "default" {
24
id = var.subnet
25
0 commit comments