Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
24 lines (17 sloc) 624 Bytes
resource "exoscale_compute" "database_service" {
display_name = "database-service"
template_id = "${data.exoscale_compute_template.debian.id}"
zone = var.exoscale_zone
size = "Tiny"
disk_size = 20
key_pair = exoscale_ssh_keypair.example-infra-perso.name
security_groups = [exoscale_security_group.example-infra-common.name]
tags = {
ansible_groups = "database"
}
user_data = data.template_cloudinit_config.config.rendered
}
resource "exoscale_nic" "eth_database" {
compute_id = exoscale_compute.database_service.id
network_id = exoscale_network.example-infra.id
}
You can’t perform that action at this time.