-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpatch
More file actions
140 lines (138 loc) · 4.89 KB
/
patch
File metadata and controls
140 lines (138 loc) · 4.89 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
diff --git a/main.tf b/main.tf
index fc17221..95fd6ae 100644
--- a/main.tf
+++ b/main.tf
@@ -13,6 +13,21 @@ resource "aws_s3_bucket" "data" {
}
}
+resource "aws_s3_bucket" "data2" {
+ # bucket is public
+ # bucket is not encrypted
+ # bucket does not have access logs
+ # bucket does not have versioning
+ bucket = "${local.resource_prefix.value}-data"
+ region = "us-west-2"
+ acl = "public-read"
+ force_destroy = true
+ tags = {
+ Name = "${local.resource_prefix.value}-data"
+ Environment = local.resource_prefix.value
+ }
+}
+
resource "aws_s3_bucket_object" "data_object" {
bucket = aws_s3_bucket.data.id
region = "us-west-2"
diff --git a/mongo.js b/mongo.js
index bd231d8..5c24f9a 100644
--- a/mongo.js
+++ b/mongo.js
@@ -1,3 +1,4 @@
const apiKey = "abc12345def67890ghi12345jkl67890";
+const apiKey2 = "abc12345def67890ghi12345jkl67890";
console.log('secret!', apiKey);
\ No newline at end of file
diff --git a/package-files/Pipfiles/Pipfile b/package-files/Pipfiles/Pipfile
index e69de29..7c0d434 100644
--- a/package-files/Pipfiles/Pipfile
+++ b/package-files/Pipfiles/Pipfile
@@ -0,0 +1,11 @@
+[[source]]
+url = "https://pypi.python.org/simple"
+verify_ssl = true
+name = "pypi"
+
+[packages]
+requests = "*"
+
+
+[dev-packages]
+pytest = "*"
diff --git a/package-files/Pipfiles/Pipfile.lock b/package-files/Pipfiles/Pipfile.lock
index e69de29..d85e9e0 100644
--- a/package-files/Pipfiles/Pipfile.lock
+++ b/package-files/Pipfiles/Pipfile.lock
@@ -0,0 +1,83 @@
+{
+ "_meta": {
+ "hash": {
+ "sha256": "8d14434df45e0ef884d6c3f6e8048ba72335637a8631cc44792f52fd20b6f97a"
+ },
+ "host-environment-markers": {
+ "implementation_name": "cpython",
+ "implementation_version": "3.6.1",
+ "os_name": "posix",
+ "platform_machine": "x86_64",
+ "platform_python_implementation": "CPython",
+ "platform_release": "16.7.0",
+ "platform_system": "Darwin",
+ "platform_version": "Darwin Kernel Version 16.7.0: Thu Jun 15 17:36:27 PDT 2017; "
+ "root:xnu-3789.70.16~2/RELEASE_X86_64",
+ "python_full_version": "3.6.1",
+ "python_version": "3.6",
+ "sys_platform": "darwin"
+ },
+ "pipfile-spec": 5,
+ "requires": {},
+ "sources": [
+ {
+ "name": "pypi",
+ "url": "https://pypi.python.org/simple",
+ "verify_ssl": true
+ }
+ ]
+ },
+ "default": {
+ "certifi": {
+ "hashes": [
+ "sha256:54a07c09c586b0e4c619f02a5e94e36619da8e2b053e20f594348c0611803704",
+ "sha256:40523d2efb60523e113b44602298f0960e900388cf3bb6043f645cf57ea9e3f5"
+ ],
+ "version": "==2017.7.27.1"
+ },
+ "chardet": {
+ "hashes": [
+ "sha256:fc323ffcaeaed0e0a02bf4d117757b98aed530d9ed4531e3e15460124c106691",
+ "sha256:84ab92ed1c4d4f16916e05906b6b75a6c0fb5db821cc65e70cbd64a3e2a5eaae"
+ ],
+ "version": "==3.0.4"
+ },
+ "idna": {
+ "hashes": [
+ "sha256:8c7309c718f94b3a625cb648ace320157ad16ff131ae0af362c9f21b80ef6ec4",
+ "sha256:2c6a5de3089009e3da7c5dde64a141dbc8551d5b7f6cf4ed7c2568d0cc520a8f"
+ ],
+ "version": "==2.6"
+ },
+ "requests": {
+ "hashes": [
+ "sha256:6a1b267aa90cac58ac3a765d067950e7dbbf75b1da07e895d1f594193a40a38b",
+ "sha256:9c443e7324ba5b85070c4a818ade28bfabedf16ea10206da1132edaa6dda237e"
+ ],
+ "version": "==2.18.4"
+ },
+ "urllib3": {
+ "hashes": [
+ "sha256:06330f386d6e4b195fbfc736b297f58c5a892e4440e54d294d7004e3a9bbea1b",
+ "sha256:cc44da8e1145637334317feebd728bd869a35285b93cbb4cca2577da7e62db4f"
+ ],
+ "version": "==1.22"
+ }
+ },
+ "develop": {
+ "py": {
+ "hashes": [
+ "sha256:2ccb79b01769d99115aa600d7eed99f524bf752bba8f041dc1c184853514655a",
+ "sha256:0f2d585d22050e90c7d293b6451c83db097df77871974d90efd5a30dc12fcde3"
+ ],
+ "version": "==1.4.34"
+ },
+ "pytest": {
+ "hashes": [
+ "sha256:b84f554f8ddc23add65c411bf112b2d88e2489fd45f753b1cae5936358bdf314",
+ "sha256:f46e49e0340a532764991c498244a60e3a37d7424a532b3ff1a6a7653f1a403a"
+ ],
+ "version": "==3.2.2"
+ }
+ }
+ }