Skip to content

Commit

Permalink
Update terraform Folder
Browse files Browse the repository at this point in the history
Signed-off-by: ⚡Christophe FREIJANES <cfreijanes@gmx.fr>
  • Loading branch information
christophe-freijanes committed Feb 25, 2024
1 parent 6fd0f42 commit 352c1d4
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ provider "aws" {
resource "aws_instance" "myec2" {
ami = "ami-012cc038cc685a0d7"
# On va exploiter dans notre liste une machine de type "m5.large"
instance_type = var.types['us-east-1']
instance_type = var.types["us-east-1"]
}

# Definition d'une liste de type de machine
Expand All @@ -23,6 +23,6 @@ variable "types" {
default = {
us-east-1 = "t2.micro"
us-west-2 = "t2.nano"
ap-south-1 = "t2.small"`
ap-south-1 = "t2.small"
}
}

0 comments on commit 352c1d4

Please sign in to comment.