mirror of
https://github.com/jpetazzo/container.training.git
synced 2026-07-24 07:16:26 +00:00
Historically, we only support one Terraform configuration, through the "openstack-tf" infraclass. With these changes, we support multiple Terraform configurations, including (at this point) "openstack" and "oci" (Oracle Cloud). Existing infra files that use INFRACLASS=openstack-tf should be changed as follows: INFRACLASS=terraform TERRAFORM=openstack
6 lines
129 B
HCL
6 lines
129 B
HCL
resource "openstack_compute_keypair_v2" "ssh_deploy_key" {
|
|
name = var.prefix
|
|
public_key = file("~/.ssh/id_rsa.pub")
|
|
}
|
|
|