Fix various bugs

This commit is contained in:
Radon Rosborough 2021-07-17 08:39:28 +00:00
parent 0cf0d1bc83
commit aeb4f4ab6a
3 changed files with 14 additions and 4 deletions

View File

@ -49,7 +49,6 @@ man
moreutils
nodejs
packer
prettier
psmisc
python3-pip
pwgen

View File

@ -38,9 +38,19 @@ source "amazon-ebs" "ubuntu" {
source_ami = "${data.amazon-ami.ubuntu.id}"
ssh_username = "ubuntu"
tags {
BillingCategory = "Riju"
BillingCategory = "Riju:AMI"
tag {
key = "BillingCategory"
value = "Riju"
}
tag {
key = "BillingSubcategory"
value = "Riju:AMI"
}
tag {
key = "Name"
value = "riju-${local.timestamp}"
}
}

View File

@ -57,6 +57,7 @@ resource "aws_instance" "dev_server" {
lifecycle {
ignore_changes = [
ami,
instance_state,
security_groups, # legacy
]
}