Skip to content

Commit

Permalink
terraform/prod Upgrade to Terraform 1.0 and AWS 3.76.1
Browse files Browse the repository at this point in the history
Jira: IAM-1502
  • Loading branch information
bheesham committed Nov 27, 2024
1 parent 7e2f37d commit 712b1aa
Show file tree
Hide file tree
Showing 5 changed files with 33 additions and 7 deletions.
28 changes: 28 additions & 0 deletions terraform/prod/.terraform.lock.hcl

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion terraform/prod/.tool-versions
Original file line number Diff line number Diff line change
@@ -1 +1 @@
terraform 0.12.31
terraform 1.0.11
2 changes: 1 addition & 1 deletion terraform/prod/db.tf
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ resource "aws_db_instance" "dino_park_packs_db" {
max_allocated_storage = 100
storage_type = "gp2"
engine = "postgres"
engine_version = "11"
engine_version = "11.22"
instance_class = "db.t3.micro"
allow_major_version_upgrade = true
username = "dinopark"
Expand Down
5 changes: 3 additions & 2 deletions terraform/prod/provider.tf
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,11 @@ provider "aws" {
}

terraform {
required_version = "~> 0.12"
required_version = "~> 1.0.0"
required_providers {
aws = {
version = "~> 2.62.0"
source = "hashicorp/aws"
version = "~> 3.0"
}
}

Expand Down
3 changes: 0 additions & 3 deletions terraform/prod/versions.tf

This file was deleted.

0 comments on commit 712b1aa

Please sign in to comment.