mirror of
https://github.com/nmasur/dotfiles
synced 2024-12-05 01:19:09 +00:00
Compare commits
2 Commits
0feb11b017
...
f4ed3f0ec6
Author | SHA1 | Date | |
---|---|---|---|
|
f4ed3f0ec6 | ||
|
d07abccbce |
@ -3,9 +3,9 @@ resource "aws_instance" "instance" {
|
||||
instance_type = var.ec2_size
|
||||
vpc_security_group_ids = [aws_security_group.instance.id]
|
||||
|
||||
tags = merge(local.default_tags, {
|
||||
tags = {
|
||||
Name = "aws-nixos"
|
||||
})
|
||||
}
|
||||
|
||||
lifecycle {
|
||||
create_before_destroy = true
|
||||
|
@ -71,6 +71,7 @@ resource "aws_ami" "image" {
|
||||
description = "Created with NixOS."
|
||||
name = replace(basename(local.image_file), "/\\.vhd$/", "")
|
||||
virtualization_type = "hvm"
|
||||
root_device_name = "/dev/xvda"
|
||||
|
||||
ebs_block_device {
|
||||
device_name = "/dev/xvda"
|
||||
|
Loading…
Reference in New Issue
Block a user