diff --git a/README.md b/README.md index e8105e9..0d89b0f 100644 --- a/README.md +++ b/README.md @@ -16,7 +16,7 @@ Template for Terraform modules | Name | Version | |------|---------| -| [aws](#provider\_aws) | >= 5.0 | +| [aws](#provider\_aws) | ~> 6.12 | @@ -26,7 +26,7 @@ Template for Terraform modules | Name | Version | |------|---------| | [terraform](#requirement\_terraform) | >= 1.3 | -| [aws](#requirement\_aws) | >= 5.0 | +| [aws](#requirement\_aws) | ~> 6.12 | diff --git a/main.tf b/main.tf index f7af5cd..f868a84 100644 --- a/main.tf +++ b/main.tf @@ -131,7 +131,7 @@ resource "aws_elastic_beanstalk_application_version" "default" { application = var.application_name description = "application version created by terraform" bucket = var.deployment_bucket - key = aws_s3_object.deployment.id + key = aws_s3_object.deployment.key } resource "aws_route53_record" "additional" { diff --git a/versions.tf b/versions.tf index a6f8fec..1d0ad3e 100644 --- a/versions.tf +++ b/versions.tf @@ -3,7 +3,7 @@ terraform { required_providers { aws = { source = "hashicorp/aws" - version = ">= 5.0" + version = "~> 6.12" } } }