Creating new server, resuing same AMI from previous TF streamlit instance

This commit is contained in:
Umang Mistry
2024-05-17 13:32:34 -05:00
parent 851b6f6a47
commit 98cb644c2d
7 changed files with 350 additions and 10 deletions
+7 -2
View File
@@ -33,13 +33,13 @@ variable "vpc_id" {
variable "ubuntu_ami" {
type = string
default = "ami-0b8b44ec9a8f90422"
default = "ami-0de7e97fedfbc6ef6" # Switch to this ami-0b8b44ec9a8f90422
}
variable "ec2_instance_type" {
type = string
default = "t2.small"
default = "t2.large"
}
# EC2 iam role name
@@ -52,4 +52,9 @@ variable "ec2_iam_role_name" {
variable "SecretsNames"{
type = list(string)
default = []
}
variable "acm_arn_dev" {
type = string
default = "arn:aws:acm:us-east-2:660131068782:certificate/3a146592-2b00-4b33-90a6-0d9ab0040d8b"
}