First, we need to open a shell to the PDF tools Docker container:
docker run --rm -it -v ${PWD}:/pdf gkmr/pdf-tools:latest /bin/sh
Then we need to run the following commands:
cd /pdf
# To use the terraform import aws_cloudwatch_event_target provider, we need the rule name and target ID. To find the target ID, | |
# run the following with the AWS cli. | |
aws events list-targets-by-rule --rule "ruleName" | |
# This will return the following and the ID can be used to import the resource. | |
#{ | |
# "Targets": [ | |
# { |
First, we need to open a shell to the PDF tools Docker container:
docker run --rm -it -v ${PWD}:/pdf gkmr/pdf-tools:latest /bin/sh
Then we need to run the following commands:
cd /pdf
import * as cdk from "@aws-cdk/core"; | |
import * as glue from "@aws-cdk/aws-glue"; | |
import * as s3 from "@aws-cdk/aws-s3"; | |
import * as s3Deployment from "@aws-cdk/aws-s3-deployment"; | |
import * as iam from "@aws-cdk/aws-iam"; | |
import { replaceValues } from "./lib"; | |
import { config } from "dotenv"; | |
config(); | |
const PYTHON_VERSION = "3"; |
server { | |
listen 80; | |
client_max_body_size 20M; | |
server_name {{ domain }}; | |
location /.well-known/acme-challenge/ { | |
alias /var/www/letsencrypt/.well-known/acme-challenge/; | |
try_files $uri =404; | |
access_log off; | |
} |
#!/bin/bash | |
WORKING_DIR="dynamodb" | |
VERSION="dynamodb_local_2014-04-24" | |
ARCHIVE="${VERSION}.tar.gz" | |
URL="https://s3-us-west-2.amazonaws.com/dynamodb-local/${ARCHIVE}" | |
PID_FILE="${WORKING_DIR}/PID" | |
download() { |