diff --git a/demo-1/vars.tf b/demo-1/vars.tf index 5dc7c2d7..8d17c276 100644 --- a/demo-1/vars.tf +++ b/demo-1/vars.tf @@ -5,15 +5,16 @@ variable "AWS_SECRET_KEY" { } variable "AWS_REGION" { - default = "eu-west-1" + default = "us-west-1" } variable "AMIS" { type = map(string) default = { - us-east-1 = "ami-13be557e" - us-west-2 = "ami-06b94666" - eu-west-1 = "ami-0d729a60" + us-east-1 = "ami-0ebd6010e17c566c9" + us-west-1 = "ami-027fb6336945ac7f3" + us-west-2 = "ami-020d314a20e95e9d3" + us-east-2 = "ami-04fb0d20368b5cb91" } } diff --git a/first-steps/instance.tf b/first-steps/instance.tf index 8ab8840d..8e107f74 100644 --- a/first-steps/instance.tf +++ b/first-steps/instance.tf @@ -1,11 +1,11 @@ provider "aws" { - access_key = "ACCESS_KEY_HERE" - secret_key = "SECRET_KEY_HERE" - region = "us-east-1" + access_key = "AKIAQS2NMXRRZNUQT2P2" + secret_key = "+YyKvOlu9ORthle0+hka3Bm65nkISpf92WEH6d4x" + region = "us-west-1" } resource "aws_instance" "example" { - ami = "ami-0d729a60" + ami = "ami-0ce8df1bc73215555" instance_type = "t2.micro" }