mirror of
https://github.com/ghndrx/packer.git
synced 2026-02-10 06:44:59 +00:00
ubuntu 20.04 official west-1 ami built with packer
```
This commit is contained in:
@@ -1,16 +1,17 @@
|
|||||||
packer {
|
packer {
|
||||||
required_version = ">= 0.0.2"
|
required_version = ">= 1.6.6"
|
||||||
}
|
}
|
||||||
|
|
||||||
source "amazon-ebs" "ubuntu" {
|
source "amazon-ebs" "ubuntu" {
|
||||||
ami_name = "test-custom-ubuntu20.04-ami"
|
ami_name = "test-custom-ubuntu20.04-ami-{{timestamp}}"
|
||||||
instance_type = "t2.micro"
|
instance_type = "t2.micro"
|
||||||
region = "us-west-1"
|
region = "us-west-1"
|
||||||
ssh_username = "ubuntu"
|
ssh_username = "ubuntu"
|
||||||
# 22.04 "ami-0cbd40f694b804622" # 20.04 "ami-0da7657fe73215c0c"
|
# 20.04 "ami-0da7657fe73215c0c"
|
||||||
source_ami = "ami-0da7657fe73215c0c"
|
source_ami = "ami-0da7657fe73215c0c"
|
||||||
temporary_key_pair_name = "packer_ubuntu"
|
temporary_key_pair_name = "packer_ubuntu"
|
||||||
temporary_key_pair_type = "ed25519"
|
temporary_key_pair_type = "rsa"
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
build {
|
build {
|
||||||
|
|||||||
Reference in New Issue
Block a user