From 9f8b0686311db03e87d01ade228587133a6f60fd Mon Sep 17 00:00:00 2001 From: sj-williams Date: Fri, 29 Nov 2024 10:20:36 +0000 Subject: [PATCH] =?UTF-8?q?chore:=20=F0=9F=A4=96=20bump=20and=20pin=20prov?= =?UTF-8?q?ider=20version,=20fix=20output=20syntax?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit chore: 🤖 remove aws provider refs chore: 🤖 restore required_provider, but do not set version chore: 🤖 restore example provider block --- examples/main.tf | 2 +- outputs.tf | 2 +- versions.tf | 3 +-- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/examples/main.tf b/examples/main.tf index b64be2a..65d154c 100644 --- a/examples/main.tf +++ b/examples/main.tf @@ -1,3 +1,3 @@ provider "aws" { region = "eu-west-2" -} +} \ No newline at end of file diff --git a/outputs.tf b/outputs.tf index fac0500..1574416 100644 --- a/outputs.tf +++ b/outputs.tf @@ -15,7 +15,7 @@ output "rds_instance_port" { output "database_name" { description = "Name of the database" - value = aws_db_instance.rds.name + value = aws_db_instance.rds.db_name } output "database_username" { diff --git a/versions.tf b/versions.tf index c4395a2..7676570 100644 --- a/versions.tf +++ b/versions.tf @@ -2,8 +2,7 @@ terraform { required_version = ">= 1.2.5" required_providers { aws = { - source = "hashicorp/aws" - version = ">= 4.0.0" + source = "hashicorp/aws" } random = { source = "hashicorp/random"