Skip to content
This repository was archived by the owner on Jul 16, 2024. It is now read-only.

Commit 2a6583e

Browse files
authored
Updates to allow newer versions of the aws provider (#2)
* Updates to allow newer versions of the aws provider This allows us to use the newer aws providers without cycling the ECS tasks for vault over and over again. * Update for Circle Checks
1 parent 6f2332f commit 2a6583e

File tree

2 files changed

+12
-2
lines changed

2 files changed

+12
-2
lines changed

.circleci/config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
command: if [ `terraform fmt | wc -c` -ne 0 ]; then echo "Some terraform files need be formatted, run 'terraform fmt' to fix"; exit 1; fi
1616
- run:
1717
name: "get tflint"
18-
command: apk add wget ; wget https://github.com/wata727/tflint/releases/download/v0.4.2/tflint_linux_amd64.zip ; unzip tflint_linux_amd64.zip
18+
command: apk update && apk add wget ; wget https://github.com/wata727/tflint/releases/download/v0.5.4/tflint_linux_amd64.zip ; unzip tflint_linux_amd64.zip
1919
- run:
2020
name: "install tflint"
2121
command: mkdir -p /usr/local/tflint/bin ; export PATH=/usr/local/tflint/bin:$PATH ; install tflint /usr/local/tflint/bin

files/vault.json

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,14 @@
22
{
33
"name": "vault-${env}",
44
"image": "${image}",
5+
"essential": true,
56
"memoryReservation": 10,
67
"privileged": true,
78
"portMappings": [
89
{
9-
"containerPort": 8200
10+
"containerPort": 8200,
11+
"hostPort": 8200,
12+
"protocol": "tcp"
1013
}
1114
],
1215
"environment": [
@@ -17,6 +20,13 @@
1720
],
1821
"command": [
1922
"server"
23+
],
24+
"cpu": 0,
25+
"volumesFrom": [
26+
27+
],
28+
"mountPoints": [
29+
2030
],
2131
"logConfiguration": {
2232
"logDriver": "awslogs",

0 commit comments

Comments
 (0)