diff --git a/deploy/main.tf b/deploy/main.tf index 7f940c066e1a41640ee04fcb71494ecc3d03e646..fe1b750d8c5f37b573dd6594a17f6b0df1e8aed2 100644 --- a/deploy/main.tf +++ b/deploy/main.tf @@ -1,21 +1,22 @@ terraform { backend "s3" { - bucket = "edebrye-cloud-monitor-tfstate" - key = "cloud-monitor-app.tfstate" - region = "eu-west-1" - encrypt = true - dynamodb_table = "edebrye-cloud-monitor-tfstate-lock" + bucket = "edebrye-cloud-monitor-tfstate" + key = "cloud-monitor-app.tfstate" + region = "eu-west-1" + encrypt = true + dynamodb_table = "edebrye-cloud-monitor-tfstate-lock" + workspace_key_prefix = "" } required_providers { aws = { - version = ">= 3.30.0" + version = "~> 3.30" source = "hashicorp/aws" } archive = { - version = ">=2.1.0" + version = "~> 2.1" source = "hashicorp/archive" } } @@ -49,4 +50,4 @@ locals { } } -data "aws_region" "current" {} \ No newline at end of file +data "aws_region" "current" {}