Manage the SSH keys in a separate task.
This commit is contained in:
parent
064e5c03b8
commit
3cb8725d54
|
@ -1,4 +1,4 @@
|
|||
# resource "openstack_compute_keypair_v2" "initial_ssh_key" {
|
||||
# name = var.ssh_key_file.name
|
||||
# public_key = "${file("${var.ssh_key_file.file}.pub")}"
|
||||
# }
|
||||
resource "openstack_compute_keypair_v2" "initial_ssh_key" {
|
||||
name = var.ssh_key_file.name
|
||||
public_key = "${file("${var.ssh_key_file.file}.pub")}"
|
||||
}
|
||||
|
|
|
@ -1 +0,0 @@
|
|||
../../common_setups/16-ssh-keys.tf
|
|
@ -0,0 +1 @@
|
|||
../../common_variables/00-terraform-provider.tf
|
|
@ -0,0 +1 @@
|
|||
../../common_variables/05-projects-and-users-vars.tf
|
|
@ -0,0 +1 @@
|
|||
../../common_setups/ssh-keys.tf
|
|
@ -1 +0,0 @@
|
|||
../../common_setups/16-ssh-keys.tf
|
|
@ -0,0 +1,21 @@
|
|||
shared_postgresql_server_data = {
|
||||
name ="shared-postgresql-server"
|
||||
flavor = "m1.large"
|
||||
vol_data_name = "shared-postgresql-data"
|
||||
vol_data_size = "300"
|
||||
vol_data_device = "/dev/vdb"
|
||||
vol_backup_name = "shared-postgresql-backup-data"
|
||||
vol_backup_size = "100"
|
||||
vol_backup_device = "/dev/vdc"
|
||||
network_name = "postgresql-srv-net"
|
||||
network_description = "Network used to communicate with the shared postgresql service"
|
||||
network_cidr = "192.168.0.0/22"
|
||||
allocation_pool_start = "192.168.0.100"
|
||||
allocation_pool_end = "192.168.3.254"
|
||||
server_ip = "192.168.0.5"
|
||||
server_cidr = "192.168.0.5/22"
|
||||
}
|
||||
|
||||
# Provided in the output of the project setup
|
||||
main_private_network_id = "020df98d-ae72-452a-b376-3b6dc289acac"
|
||||
dns_zone_id = "74135b34-1a9c-4c01-8cf0-22450a5660c4"
|
|
@ -0,0 +1 @@
|
|||
../../common_variables/00-terraform-provider.tf
|
|
@ -0,0 +1 @@
|
|||
../../common_variables/05-projects-and-users-vars.tf
|
|
@ -0,0 +1 @@
|
|||
../../common_setups/ssh-keys.tf
|
Loading…
Reference in New Issue