mirror of
https://github.com/bigchaindb/bigchaindb.git
synced 2024-10-13 13:34:05 +00:00
Set instance key_name to value of new variable
This commit is contained in:
parent
9a6e02ab16
commit
a3194c475a
@ -13,7 +13,7 @@ resource "aws_instance" "instance" {
|
||||
Name = "BigchainDB_node"
|
||||
}
|
||||
ebs_optimized = true
|
||||
key_name = "bigchaindb"
|
||||
key_name = "${var.ssh_key_name}"
|
||||
vpc_security_group_ids = ["${aws_security_group.node_sg1.id}"]
|
||||
root_block_device = {
|
||||
volume_type = "gp2"
|
||||
|
@ -13,3 +13,7 @@ variable "root_storage_in_GiB" {
|
||||
variable "DB_storage_in_GiB" {
|
||||
default = 30
|
||||
}
|
||||
|
||||
variable "ssh_key_name" {
|
||||
# No default. Ask as needed.
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user