summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormo khan <mo@mokhan.ca>2022-03-06 12:51:39 -0700
committermo khan <mo@mokhan.ca>2022-03-06 12:51:39 -0700
commit8e48cea42f00f4ba0403110af892435692ae3e7d (patch)
treec09e7036fd03dc9a309e644b0e9434df6e1086e1
parentc1f72480bf1d13ee9cdfa6511b7b5f6eeb0a2603 (diff)
switch to a known debian image
-rw-r--r--Makefile3
-rw-r--r--main.tf2
-rw-r--r--terraform.tfstate8
3 files changed, 12 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 2e3bb81..8269ba0 100644
--- a/Makefile
+++ b/Makefile
@@ -5,3 +5,6 @@ init:
plan:
terraform plan
+
+apply:
+ terraform apply
diff --git a/main.tf b/main.tf
index 6603a34..d0a9381 100644
--- a/main.tf
+++ b/main.tf
@@ -3,6 +3,6 @@ provider "aws" {
}
resource "aws_instance" "example" {
- ami = "ami-0c55b159cbfafe1f0"
+ ami = "ami-07d02ee1eeb0c996c"
instance_type = "t2.micro"
}
diff --git a/terraform.tfstate b/terraform.tfstate
new file mode 100644
index 0000000..2034ef6
--- /dev/null
+++ b/terraform.tfstate
@@ -0,0 +1,8 @@
+{
+ "version": 4,
+ "terraform_version": "1.1.7",
+ "serial": 1,
+ "lineage": "23dd28d7-f0d6-93fe-ce34-2f59f140a3de",
+ "outputs": {},
+ "resources": []
+}