Skip to content

Instantly share code, notes, and snippets.

@coingraham
Last active August 9, 2022 13:11
Show Gist options
  • Select an option

  • Save coingraham/00aac3cf7bd5e149ebb019570c6d1c4a to your computer and use it in GitHub Desktop.

Select an option

Save coingraham/00aac3cf7bd5e149ebb019570c6d1c4a to your computer and use it in GitHub Desktop.
Text Pastry commands for multiline terraform
Highlight `xxxx` then `Command+Control+G` to quick select all
Command+Alt/Option+N then `i 1 1 each=5`
i initial step each=repeat how many times
topic {
id = "${var.jde_s3_prod_bucket_1_notifications_xxxx[1]}"
events = ["${var.jde_s3_prod_bucket_1_notifications_xxxx[2]}"]
filter_prefix = "${var.jde_s3_prod_bucket_1_notifications_xxxx[3]}"
filter_suffix = "${var.jde_s3_prod_bucket_1_notifications_xxxx[4]}"
topic_arn = "${var.jde_s3_prod_bucket_1_notifications_xxxx[5]}"
}
topic {
id = "${var.jde_s3_prod_bucket_1_notifications_xxxx[1]}"
events = ["${var.jde_s3_prod_bucket_1_notifications_xxxx[2]}"]
filter_prefix = "${var.jde_s3_prod_bucket_1_notifications_xxxx[3]}"
filter_suffix = "${var.jde_s3_prod_bucket_1_notifications_xxxx[4]}"
topic_arn = "${var.jde_s3_prod_bucket_1_notifications_xxxx[5]}"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment