-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathneptune.tf
45 lines (42 loc) · 1.93 KB
/
neptune.tf
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
resource "aws_neptune_cluster" "default" {
cluster_identifier = var.neptune-dbname
engine = "neptune"
backup_retention_period = 5
preferred_backup_window = "07:00-09:00"
skip_final_snapshot = true
iam_database_authentication_enabled = false
apply_immediately = true
storage_encrypted = false
tags = {
git_commit = "aa8fd16fd94cccf6af206e2f0922b5558f8ac514"
git_file = "terraform/aws/neptune.tf"
git_last_modified_at = "2020-08-21 19:14:35"
git_last_modified_by = "matt@bridgecrew.io"
git_modifiers = "matt"
git_org = "bridgecrewio"
git_repo = "terragoat"
yor_trace = "0d4cbb85-73ed-4ca0-b1da-296e4185f34e"
}
}
resource "aws_neptune_cluster_instance" "default" {
count = 1
cluster_identifier = aws_neptune_cluster.default.id
engine = "neptune"
instance_class = "db.t3.medium" # Smallest instance type listed for neptune https://aws.amazon.com/neptune/pricing/
apply_immediately = true
#publicly_accessible = true # No longer supported, API returns create error. See https://docs.aws.amazon.com/neptune/latest/userguide/api-instances.html#CreateDBInstance
tags = {
git_commit = "5c6b5d60a8aa63a5d37e60f15185d13a967f0542"
git_file = "terraform/aws/neptune.tf"
git_last_modified_at = "2021-05-02 10:06:10"
git_last_modified_by = "nimrodkor@users.noreply.github.com"
git_modifiers = "matt/nimrodkor"
git_org = "bridgecrewio"
git_repo = "terragoat"
yor_trace = "9b2b45fd-6f9f-44fd-b8bc-868b1db178b3"
}
}
resource "aws_neptune_cluster_snapshot" "default" {
db_cluster_identifier = aws_neptune_cluster.default.id
db_cluster_snapshot_identifier = "resourcetestsnapshot1"
}