projects
/
awsible
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
initial commit of replacement infrastructure automation
[awsible]
/
infrastructure
/
modules
/
terraform-infrastructure
/
main.tf
1
resource "aws_s3_bucket" "tf_state" {
2
bucket = "${var.remote_state_bucket}"
3
region = "${var.region}"
4
acl = "private"
5
versioning {
6
enabled = true
7
}
8
}
9
10
resource "aws_dynamodb_table" "tf_lock" {
11
name = "${var.remote_state_table}"
12
read_capacity = 1
13
write_capacity = 1
14
hash_key = "LockID"
15
attribute {
16
name = "LockID"
17
type = "S"
18
}
19
}