mirror of
https://github.com/rancher/quickstart.git
synced 2026-02-05 21:45:18 +01:00
Refactor AWS and DigitalOcean quickstarts to reflect HA install best practices. Separated Rancher infrastructure (RKE, Kubernetes, Helm, and Rancher) into a shared module. Isolated terraform config specific to cloud providers into top-level modules. RKE provider is still in community plug-in status. Helm provider uses Helm 3, reflecting the current Rancher install process.
21 lines
402 B
HCL
21 lines
402 B
HCL
# Data for AWS module
|
|
|
|
# AWS data
|
|
# ----------------------------------------------------------
|
|
|
|
# Use latest Ubuntu 18.04 AMI
|
|
data "aws_ami" "ubuntu" {
|
|
most_recent = true
|
|
owners = ["099720109477"] # Canonical
|
|
|
|
filter {
|
|
name = "name"
|
|
values = ["ubuntu/images/hvm-ssd/ubuntu-bionic-18.04-amd64-server-*"]
|
|
}
|
|
|
|
filter {
|
|
name = "virtualization-type"
|
|
values = ["hvm"]
|
|
}
|
|
}
|