Skip to content

Commit

Permalink
Backend management added
Browse files Browse the repository at this point in the history
  • Loading branch information
sradzhabov committed Sep 27, 2024
1 parent 39f638b commit 35299fb
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
8 changes: 8 additions & 0 deletions aws/terraform/compute/ec2/provider.tf
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,16 @@ terraform {
version = "5.68.0"
}
}

backend "s3" {
bucket = "meshcloud-backend-terraform27092024"
key = "state/terraform.tfstate"
region = "eu-central-1"
encrypt = true
}
}


provider "aws" {
region = var.aws_region
}
2 changes: 1 addition & 1 deletion aws/terraform/compute/ec2/variables.tf
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
variable "ec2_size" {
type = string
description = "Provide a name of AWS EC2 instance size such as t2.micro, etc."
default = "t2.micro"
default = "t2.nano"
}

#variable "ec2_sshpub_key" {
Expand Down

0 comments on commit 35299fb

Please sign in to comment.