mirror of
https://github.com/phfroidmont/self-hosting.git
synced 2025-12-25 13:46:59 +01:00
Use packer to create a base preconfigured base image
This commit is contained in:
parent
3090cc6818
commit
3731d10987
12 changed files with 153 additions and 68 deletions
|
|
@ -42,7 +42,7 @@ resource "scaleway_server" "master" {
|
|||
resource "scaleway_server" "proxy1" {
|
||||
count = 1
|
||||
name = "proxy1"
|
||||
image = "${data.scaleway_image.ubuntu_mini.id}"
|
||||
image = "${data.scaleway_image.ubuntu.id}"
|
||||
type = "${var.proxy_instance_type}"
|
||||
public_ip = "51.158.77.6"
|
||||
state = "running"
|
||||
|
|
@ -52,7 +52,7 @@ resource "scaleway_server" "proxy1" {
|
|||
resource "scaleway_server" "proxy2" {
|
||||
count = 1
|
||||
name = "proxy2"
|
||||
image = "${data.scaleway_image.ubuntu_mini.id}"
|
||||
image = "${data.scaleway_image.ubuntu.id}"
|
||||
type = "${var.proxy_instance_type}"
|
||||
state = "running"
|
||||
tags = ["k8s","k8s_proxy","secondary"]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue