This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2022-03-21T12:07:02.116+0100 [INFO] Terraform version: 1.1.7 | |
2022-03-21T12:07:02.116+0100 [INFO] Go runtime version: go1.17.2 | |
2022-03-21T12:07:02.116+0100 [INFO] CLI args: []string{"terraform", "import", "module.m[0].aws_sns_topic.t", "arn:aws:sns:eu-central-1:123456789012:my-topic"} | |
2022-03-21T12:07:02.116+0100 [TRACE] Stdout is not a terminal | |
2022-03-21T12:07:02.116+0100 [TRACE] Stderr is not a terminal | |
2022-03-21T12:07:02.116+0100 [TRACE] Stdin is a terminal | |
2022-03-21T12:07:02.116+0100 [DEBUG] Attempting to open CLI config file: /home/username/.terraformrc | |
2022-03-21T12:07:02.116+0100 [INFO] Loading CLI configuration from /home/username/.terraformrc | |
2022-03-21T12:07:02.116+0100 [DEBUG] checking for credentials in "/home/username/.terraform.d/plugins" | |
2022-03-21T12:07:02.116+0100 [DEBUG] ignoring non-existing provider search directory terraform.d/plugins |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
location ~ '^/prefix/(path)$' { | |
if ($args ~* (.*)(\|)(.*)) { set $args $1%7C$3; } | |
if ($args ~* (.*)(\{)(.*)) { set $args $1%7B$3; } | |
... repeating a few times ... | |
if ($args ~* (.*)(\})(.*)) { set $args $1%7D$3; } | |
... repeating a few times ... | |
rewrite '^/prefix/(path)$' {{ host }}/path/$1 redirect; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const AWS = require('aws-sdk'); | |
// update configuration to meet your requirements | |
const sqs = new AWS.SQS({ region: process.env.QUEUE_REGION, httpOptions: {connectTimeout: process.env.CONNECT_TIMEOUT, timeout: process.env.TIMEOUT} }); | |
const mysql = require('mysql'); | |
const pool = mysql.createPool({ | |
connectionLimit: process.env.MYSQL_POOL_SIZE, | |
host: process.env.MYSQL_HOST, | |
port: process.env.MYSQL_PORT || 3306, | |
user: process.env.MYSQL_USER, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const AWS = require('aws-sdk'); | |
// update configuration to meet your requirements | |
let sqsQueueRegion = process.env.QUEUE_REGION; | |
let sqsMaxNumberOfMessages = parseInt(process.env.MESSAGE_BATCH_SIZE); | |
let sqsWaitTimeBetweenRequests = parseInt(process.env.QUEUE_WAIT_TIME_BETWEEN_REQUESTS); | |
let sqsQueueUrl = process.env.QUEUE_URL; | |
let sqs = new AWS.SQS(); |