Use docker-compose

This commit is contained in:
Daniel Mason 2023-04-22 14:08:28 +12:00
parent bced107145
commit 97039f07e7
Signed by: idanoo
GPG key ID: 387387CDBC02F132
5 changed files with 39 additions and 10 deletions

4
ec2.tf
View file

@ -10,7 +10,7 @@ resource "aws_instance" "instance" {
key_name = var.ssh_key
vpc_security_group_ids = [aws_security_group.sg.id]
tags = { Name = "status.fediservices.nz" }
tags = { Name = var.domain }
lifecycle {
ignore_changes = [
@ -24,7 +24,7 @@ resource "aws_eip" "eip" {
instance = aws_instance.instance.id
vpc = true
tags = { Name = "status.fediservices.nz" }
tags = { Name = var.domain }
}
# EBS Vol for persistance